* installing *source* package 'BGVAR' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -DARMA_NO_DEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include' -I'D:/RCompile/CRANpkg/lib/4.5/stochvol/include' -I'D:/RCompile/CRANpkg/lib/4.5/GIGrvg/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -DRCPP_PARALLEL_USE_TBB=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BVAR_linear.cpp -o BVAR_linear.o In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:441, from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:58, from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:29, from BVAR_linear.cpp:1: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/arma_ostream_meat.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:455: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_div.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:473: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_conv_to.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:478: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:484: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_trace.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:495: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_misc.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:501: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_approx_equal.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:502: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_norm.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:515: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_chol.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:516: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_qr.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:705: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_diagmat_meat.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:706: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_diagvec_meat.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:713: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_max_meat.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:716: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_min_meat.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:717: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_mean_meat.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:727: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_reshape_meat.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:743: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_find_meat.hpp:1:1: warning: null character(s) ignored 1 | | ^~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:503: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_vecnorm.hpp: In function 'typename arma::enable_if2<(arma::is_arma_sparse_type::value && arma::resolves_to_sparse_vector::yes), typename T1::pod_type>::result arma::vecnorm(const T1&, uword, arma_empty_class, const typename arma_real_or_cx_only::result*)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_vecnorm.hpp:240:16: error: 'norm' is not a member of 'arma'; did you mean 'vecnorm'? 240 | return arma::norm(X, k); | ^~~~ | vecnorm D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_vecnorm.hpp: In function 'typename arma::enable_if2<(arma::is_arma_sparse_type::value && arma::resolves_to_sparse_vector::yes), typename T1::pod_type>::result arma::vecnorm(const T1&, const char*, arma_empty_class, const typename arma_real_or_cx_only::result*)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_vecnorm.hpp:318:16: error: 'norm' is not a member of 'arma'; did you mean 'vecnorm'? 318 | return arma::norm(X, method); | ^~~~ | vecnorm In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:599: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_eigs_gen.hpp: In function 'typename arma::enable_if2::value, arma::Col > >::result arma::eigs_gen(const SpBase&, uword, std::complex, eigs_opts)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_eigs_gen.hpp:106:50: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 106 | status = sp_auxlib::eigs_gen(eigval, eigvec, conv_to< SpMat< std::complex > >::from(X), n_eigvals, sigma, opts); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_eigs_gen.hpp:106:84: error: expected primary-expression before '>' token 106 | status = sp_auxlib::eigs_gen(eigval, eigvec, conv_to< SpMat< std::complex > >::from(X), n_eigvals, sigma, opts); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_eigs_gen.hpp:106:87: error: '::from' has not been declared 106 | status = sp_auxlib::eigs_gen(eigval, eigvec, conv_to< SpMat< std::complex > >::from(X), n_eigvals, sigma, opts); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_eigs_gen.hpp: In function 'typename arma::enable_if2::value, bool>::result arma::eigs_gen(Col >&, const SpBase&, uword, std::complex, eigs_opts)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_eigs_gen.hpp:238:50: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 238 | status = sp_auxlib::eigs_gen(eigval, eigvec, conv_to< SpMat< std::complex > >::from(X), n_eigvals, sigma, opts); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_eigs_gen.hpp:238:84: error: expected primary-expression before '>' token 238 | status = sp_auxlib::eigs_gen(eigval, eigvec, conv_to< SpMat< std::complex > >::from(X), n_eigvals, sigma, opts); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_eigs_gen.hpp:238:87: error: '::from' has not been declared 238 | status = sp_auxlib::eigs_gen(eigval, eigvec, conv_to< SpMat< std::complex > >::from(X), n_eigvals, sigma, opts); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_eigs_gen.hpp: In function 'typename arma::enable_if2::value, bool>::result arma::eigs_gen(Col >&, Mat >&, const SpBase&, uword, std::complex, eigs_opts)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_eigs_gen.hpp:373:50: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 373 | status = sp_auxlib::eigs_gen(eigval, eigvec, conv_to< SpMat< std::complex > >::from(X), n_eigvals, sigma, opts); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_eigs_gen.hpp:373:84: error: expected primary-expression before '>' token 373 | status = sp_auxlib::eigs_gen(eigval, eigvec, conv_to< SpMat< std::complex > >::from(X), n_eigvals, sigma, opts); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_eigs_gen.hpp:373:87: error: '::from' has not been declared 373 | status = sp_auxlib::eigs_gen(eigval, eigvec, conv_to< SpMat< std::complex > >::from(X), n_eigvals, sigma, opts); | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:690: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/SpMat_meat.hpp: In member function 'arma::SpMat& arma::SpMat::sprandu(arma::uword, arma::uword, double)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/SpMat_meat.hpp:4361:18: error: 'linspace' was not declared in this scope; did you mean 'isspace'? 4361 | uvec indices = linspace( 0u, in_rows*in_cols-1, new_n_nonzero ); | ^~~~~~~~ | isspace D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/SpMat_meat.hpp:4361:31: error: expected primary-expression before '>' token 4361 | uvec indices = linspace( 0u, in_rows*in_cols-1, new_n_nonzero ); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/SpMat_meat.hpp: In member function 'arma::SpMat& arma::SpMat::sprandn(arma::uword, arma::uword, double)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/SpMat_meat.hpp:4438:18: error: 'linspace' was not declared in this scope; did you mean 'isspace'? 4438 | uvec indices = linspace( 0u, in_rows*in_cols-1, new_n_nonzero ); | ^~~~~~~~ | isspace D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/SpMat_meat.hpp:4438:31: error: expected primary-expression before '>' token 4438 | uvec indices = linspace( 0u, in_rows*in_cols-1, new_n_nonzero ); | ^ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:698: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/MapMat_meat.hpp: In member function 'void arma::MapMat::sprandu(arma::uword, arma::uword, double)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/MapMat_meat.hpp:589:27: error: 'linspace' was not declared in this scope; did you mean 'isspace'? 589 | const Col indx = linspace< Col >(0, ((n_elem > 0) ? uword(n_elem-1) : uword(0)) , N); | ^~~~~~~~ | isspace D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/MapMat_meat.hpp:589:48: error: expected primary-expression before '>' token 589 | const Col indx = linspace< Col >(0, ((n_elem > 0) ? uword(n_elem-1) : uword(0)) , N); | ^ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:700: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp: In static member function 'static bool arma::diskio::save_pgm_binary(const arma::Mat >&, const std::string&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:1266:25: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 1266 | const uchar_mat tmp = conv_to::from(x); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:1266:42: error: expected primary-expression before '>' token 1266 | const uchar_mat tmp = conv_to::from(x); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:1266:45: error: '::from' has not been declared 1266 | const uchar_mat tmp = conv_to::from(x); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp: In static member function 'static bool arma::diskio::save_pgm_binary(const arma::Mat >&, std::ostream&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:1281:25: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 1281 | const uchar_mat tmp = conv_to::from(x); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:1281:42: error: expected primary-expression before '>' token 1281 | const uchar_mat tmp = conv_to::from(x); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:1281:45: error: '::from' has not been declared 1281 | const uchar_mat tmp = conv_to::from(x); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp: In static member function 'static bool arma::diskio::load_arma_ascii(arma::Mat&, std::istream&, std::string&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:1664:28: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 1664 | if(load_okay) { x = conv_to< Mat >::from(tmp); } | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:1664:45: error: expected primary-expression before '>' token 1664 | if(load_okay) { x = conv_to< Mat >::from(tmp); } | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:1664:48: error: '::from' has not been declared 1664 | if(load_okay) { x = conv_to< Mat >::from(tmp); } | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:1677:28: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 1677 | if(load_okay) { x = conv_to< Mat >::from(tmp); } | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:1677:45: error: expected primary-expression before '>' token 1677 | if(load_okay) { x = conv_to< Mat >::from(tmp); } | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:1677:48: error: '::from' has not been declared 1677 | if(load_okay) { x = conv_to< Mat >::from(tmp); } | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp: In static member function 'static bool arma::diskio::load_arma_binary(arma::Mat&, std::istream&, std::string&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:2463:28: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 2463 | if(load_okay) { x = conv_to< Mat >::from(tmp); } | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:2463:45: error: expected primary-expression before '>' token 2463 | if(load_okay) { x = conv_to< Mat >::from(tmp); } | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:2463:48: error: '::from' has not been declared 2463 | if(load_okay) { x = conv_to< Mat >::from(tmp); } | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:2476:28: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 2476 | if(load_okay) { x = conv_to< Mat >::from(tmp); } | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:2476:45: error: expected primary-expression before '>' token 2476 | if(load_okay) { x = conv_to< Mat >::from(tmp); } | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:2476:48: error: '::from' has not been declared 2476 | if(load_okay) { x = conv_to< Mat >::from(tmp); } | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp: In static member function 'static bool arma::diskio::load_pgm_binary(arma::Mat >&, const std::string&, std::string&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:2625:7: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 2625 | x = conv_to< Mat< std::complex > >::from(tmp); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:2625:39: error: expected primary-expression before '>' token 2625 | x = conv_to< Mat< std::complex > >::from(tmp); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:2625:42: error: '::from' has not been declared 2625 | x = conv_to< Mat< std::complex > >::from(tmp); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp: In static member function 'static bool arma::diskio::load_pgm_binary(arma::Mat >&, std::istream&, std::string&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:2643:7: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 2643 | x = conv_to< Mat< std::complex > >::from(tmp); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:2643:39: error: expected primary-expression before '>' token 2643 | x = conv_to< Mat< std::complex > >::from(tmp); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:2643:42: error: '::from' has not been declared 2643 | x = conv_to< Mat< std::complex > >::from(tmp); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp: In static member function 'static bool arma::diskio::load_arma_ascii(arma::Cube&, std::istream&, std::string&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:4301:28: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 4301 | if(load_okay) { x = conv_to< Cube >::from(tmp); } | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:4301:46: error: expected primary-expression before '>' token 4301 | if(load_okay) { x = conv_to< Cube >::from(tmp); } | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:4301:49: error: '::from' has not been declared 4301 | if(load_okay) { x = conv_to< Cube >::from(tmp); } | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:4314:28: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 4314 | if(load_okay) { x = conv_to< Cube >::from(tmp); } | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:4314:46: error: expected primary-expression before '>' token 4314 | if(load_okay) { x = conv_to< Cube >::from(tmp); } | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:4314:49: error: '::from' has not been declared 4314 | if(load_okay) { x = conv_to< Cube >::from(tmp); } | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp: In static member function 'static bool arma::diskio::load_arma_binary(arma::Cube&, std::istream&, std::string&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:4401:28: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 4401 | if(load_okay) { x = conv_to< Cube >::from(tmp); } | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:4401:46: error: expected primary-expression before '>' token 4401 | if(load_okay) { x = conv_to< Cube >::from(tmp); } | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:4401:49: error: '::from' has not been declared 4401 | if(load_okay) { x = conv_to< Cube >::from(tmp); } | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:4414:28: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 4414 | if(load_okay) { x = conv_to< Cube >::from(tmp); } | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:4414:46: error: expected primary-expression before '>' token 4414 | if(load_okay) { x = conv_to< Cube >::from(tmp); } | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/diskio_meat.hpp:4414:49: error: '::from' has not been declared 4414 | if(load_okay) { x = conv_to< Cube >::from(tmp); } | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:703: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/running_stat_vec_meat.hpp: In static member function 'static void arma::running_stat_vec_aux::update_stats(arma::running_stat_vec&, const arma::Mat::T> >&, const typename arma::arma_not_cx::eT>::result*)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/running_stat_vec_meat.hpp:483:41: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 483 | running_stat_vec_aux::update_stats(x, conv_to< Mat >::from(sample)); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/running_stat_vec_meat.hpp:483:58: error: expected primary-expression before '>' token 483 | running_stat_vec_aux::update_stats(x, conv_to< Mat >::from(sample)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/running_stat_vec_meat.hpp:483:61: error: '::from' has not been declared 483 | running_stat_vec_aux::update_stats(x, conv_to< Mat >::from(sample)); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/running_stat_vec_meat.hpp: In static member function 'static void arma::running_stat_vec_aux::update_stats(arma::running_stat_vec&, const arma::Mat::T>&, const typename arma::arma_cx_only::eT>::result*)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/running_stat_vec_meat.hpp:504:41: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 504 | running_stat_vec_aux::update_stats(x, conv_to< Mat >::from(sample)); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/running_stat_vec_meat.hpp:504:58: error: expected primary-expression before '>' token 504 | running_stat_vec_aux::update_stats(x, conv_to< Mat >::from(sample)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/running_stat_vec_meat.hpp:504:61: error: '::from' has not been declared 504 | running_stat_vec_aux::update_stats(x, conv_to< Mat >::from(sample)); | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:751: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_hist_meat.hpp: In static member function 'static void arma::op_hist::apply(arma::Mat&, const arma::mtOp&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_hist_meat.hpp:117:29: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 117 | Mat converted = conv_to< Mat >::from(U.M); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_hist_meat.hpp:117:50: error: expected primary-expression before '>' token 117 | Mat converted = conv_to< Mat >::from(U.M); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_hist_meat.hpp:117:53: error: '::from' has not been declared 117 | Mat converted = conv_to< Mat >::from(U.M); | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:759: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_expmat_meat.hpp: In static member function 'static bool arma::op_expmat::apply_direct(arma::Mat&, const arma::Base&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_expmat_meat.hpp:119:28: error: 'norm' is not a member of 'arma'; did you mean 'std::norm'? 119 | const T norm_val = arma::norm(A, "inf"); | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:66, from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/complex:2435:5: note: 'std::norm' declared here 2435 | norm(_Tp __x) | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:765: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_sqrtmat_meat.hpp: In static member function 'static bool arma::op_sqrtmat::apply_direct(arma::Mat >&, const arma::Base&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_sqrtmat_meat.hpp:170:15: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 170 | out = conv_to< Mat >::from( eigvec * diagmat(eigval) * eigvec.t() ); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_sqrtmat_meat.hpp:170:35: error: expected primary-expression before '>' token 170 | out = conv_to< Mat >::from( eigvec * diagmat(eigval) * eigvec.t() ); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_sqrtmat_meat.hpp:170:38: error: '::from' has not been declared 170 | out = conv_to< Mat >::from( eigvec * diagmat(eigval) * eigvec.t() ); | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:766: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp: In static member function 'static bool arma::op_logmat::apply_direct(arma::Mat >&, const arma::Base&, arma::uword)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:165:15: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 165 | out = conv_to< Mat >::from( eigvec * diagmat(eigval) * eigvec.t() ); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:165:35: error: expected primary-expression before '>' token 165 | out = conv_to< Mat >::from( eigvec * diagmat(eigval) * eigvec.t() ); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:165:38: error: '::from' has not been declared 165 | out = conv_to< Mat >::from( eigvec * diagmat(eigval) * eigvec.t() ); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp: In static member function 'static bool arma::op_logmat_cx::helper(arma::Mat&, arma::uword)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:435:26: error: no match for 'operator/' (operand types are 'const arma::vec' {aka 'const arma::Col'} and 'arma::enable_if2, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt> >::result' {aka 'const arma::eOp, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt>'}) 435 | tmp.diag(-1) = indices / sqrt(square(2.0*indices) - 1.0); | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | arma::enable_if2, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt> >::result {aka const arma::eOp, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt>} | const arma::vec {aka const arma::Col} In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:462: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: candidate: 'template const arma::eOpCube arma::operator/(const BaseCube&, typename T1::elem_type)' 28 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:435:58: note: 'const arma::vec' {aka 'const arma::Col'} is not derived from 'const arma::BaseCube' 435 | tmp.diag(-1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: candidate: 'template const arma::eOpCube arma::operator/(typename T1::elem_type, const BaseCube&)' 45 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:435:58: note: 'arma::enable_if2, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt> >::result' {aka 'const arma::eOp, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt>'} is not derived from 'const arma::BaseCube' 435 | tmp.diag(-1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_pre> arma::operator/(const std::complex&, const BaseCube&)' 62 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:435:58: note: 'arma::enable_if2, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt> >::result' {aka 'const arma::eOp, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt>'} is not derived from 'const arma::BaseCube' 435 | tmp.diag(-1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_post> arma::operator/(const BaseCube&, const std::complex&)' 79 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:435:58: note: 'const arma::vec' {aka 'const arma::Col'} is not derived from 'const arma::BaseCube' 435 | tmp.diag(-1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: candidate: 'template const arma::eGlueCube arma::operator/(const BaseCube&, const BaseCube&)' 96 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:435:58: note: 'const arma::vec' {aka 'const arma::Col'} is not derived from 'const arma::BaseCube' 435 | tmp.diag(-1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: candidate: 'template const arma::mtGlueCube::result, T1, T2, arma::glue_mixed_div> arma::operator/(const BaseCube::T1_result, T1>&, const BaseCube::T2_result, T2>&)' 113 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:435:58: note: 'const arma::vec' {aka 'const arma::Col'} is not derived from 'const arma::BaseCube::T1_result, T1>' 435 | tmp.diag(-1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each1&, const Base&)' 136 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:435:58: note: 'const arma::vec' {aka 'const arma::Col'} is not derived from 'const arma::subview_cube_each1' 435 | tmp.diag(-1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each1&)' 152 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:435:58: note: 'arma::enable_if2, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt> >::result' {aka 'const arma::eOp, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt>'} is not derived from 'const arma::subview_cube_each1' 435 | tmp.diag(-1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each2&, const Base&)' 168 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:435:58: note: 'const arma::vec' {aka 'const arma::Col'} is not derived from 'const arma::subview_cube_each2' 435 | tmp.diag(-1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each2&)' 184 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:435:58: note: 'arma::enable_if2, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt> >::result' {aka 'const arma::eOp, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt>'} is not derived from 'const arma::subview_cube_each2' 435 | tmp.diag(-1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:436:26: error: no match for 'operator/' (operand types are 'const arma::vec' {aka 'const arma::Col'} and 'arma::enable_if2, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt> >::result' {aka 'const arma::eOp, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt>'}) 436 | tmp.diag(+1) = indices / sqrt(square(2.0*indices) - 1.0); | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | arma::enable_if2, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt> >::result {aka const arma::eOp, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt>} | const arma::vec {aka const arma::Col} D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: candidate: 'template const arma::eOpCube arma::operator/(const BaseCube&, typename T1::elem_type)' 28 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:436:58: note: 'const arma::vec' {aka 'const arma::Col'} is not derived from 'const arma::BaseCube' 436 | tmp.diag(+1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: candidate: 'template const arma::eOpCube arma::operator/(typename T1::elem_type, const BaseCube&)' 45 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:436:58: note: 'arma::enable_if2, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt> >::result' {aka 'const arma::eOp, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt>'} is not derived from 'const arma::BaseCube' 436 | tmp.diag(+1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_pre> arma::operator/(const std::complex&, const BaseCube&)' 62 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:436:58: note: 'arma::enable_if2, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt> >::result' {aka 'const arma::eOp, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt>'} is not derived from 'const arma::BaseCube' 436 | tmp.diag(+1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_post> arma::operator/(const BaseCube&, const std::complex&)' 79 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:436:58: note: 'const arma::vec' {aka 'const arma::Col'} is not derived from 'const arma::BaseCube' 436 | tmp.diag(+1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: candidate: 'template const arma::eGlueCube arma::operator/(const BaseCube&, const BaseCube&)' 96 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:436:58: note: 'const arma::vec' {aka 'const arma::Col'} is not derived from 'const arma::BaseCube' 436 | tmp.diag(+1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: candidate: 'template const arma::mtGlueCube::result, T1, T2, arma::glue_mixed_div> arma::operator/(const BaseCube::T1_result, T1>&, const BaseCube::T2_result, T2>&)' 113 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:436:58: note: 'const arma::vec' {aka 'const arma::Col'} is not derived from 'const arma::BaseCube::T1_result, T1>' 436 | tmp.diag(+1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each1&, const Base&)' 136 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:436:58: note: 'const arma::vec' {aka 'const arma::Col'} is not derived from 'const arma::subview_cube_each1' 436 | tmp.diag(+1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each1&)' 152 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:436:58: note: 'arma::enable_if2, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt> >::result' {aka 'const arma::eOp, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt>'} is not derived from 'const arma::subview_cube_each1' 436 | tmp.diag(+1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each2&, const Base&)' 168 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:436:58: note: 'const arma::vec' {aka 'const arma::Col'} is not derived from 'const arma::subview_cube_each2' 436 | tmp.diag(+1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each2&)' 184 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:436:58: note: 'arma::enable_if2, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt> >::result' {aka 'const arma::eOp, arma::eop_scalar_times>, arma::eop_square>, arma::eop_scalar_minus_post>, arma::eop_sqrt>'} is not derived from 'const arma::subview_cube_each2' 436 | tmp.diag(+1) = indices / sqrt(square(2.0*indices) - 1.0); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:445:38: error: no match for 'operator/' (operand types are 'arma::enable_if2, arma::eop_scalar_plus> >::result' {aka 'const arma::eOp, arma::eop_scalar_plus>'} and 'double') 445 | const vec nodes = (eigval + 1.0) / 2.0; | ~~~~~~~~~~~~~~ ^ ~~~ | | | | | double | arma::enable_if2, arma::eop_scalar_plus> >::result {aka const arma::eOp, arma::eop_scalar_plus>} D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: candidate: 'template const arma::eOpCube arma::operator/(const BaseCube&, typename T1::elem_type)' 28 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:445:40: note: 'arma::enable_if2, arma::eop_scalar_plus> >::result' {aka 'const arma::eOp, arma::eop_scalar_plus>'} is not derived from 'const arma::BaseCube' 445 | const vec nodes = (eigval + 1.0) / 2.0; | ^~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: candidate: 'template const arma::eOpCube arma::operator/(typename T1::elem_type, const BaseCube&)' 45 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:445:40: note: mismatched types 'const arma::BaseCube' and 'double' 445 | const vec nodes = (eigval + 1.0) / 2.0; | ^~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_pre> arma::operator/(const std::complex&, const BaseCube&)' 62 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:445:40: note: mismatched types 'const arma::BaseCube' and 'double' 445 | const vec nodes = (eigval + 1.0) / 2.0; | ^~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_post> arma::operator/(const BaseCube&, const std::complex&)' 79 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:445:40: note: 'arma::enable_if2, arma::eop_scalar_plus> >::result' {aka 'const arma::eOp, arma::eop_scalar_plus>'} is not derived from 'const arma::BaseCube' 445 | const vec nodes = (eigval + 1.0) / 2.0; | ^~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: candidate: 'template const arma::eGlueCube arma::operator/(const BaseCube&, const BaseCube&)' 96 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:445:40: note: 'arma::enable_if2, arma::eop_scalar_plus> >::result' {aka 'const arma::eOp, arma::eop_scalar_plus>'} is not derived from 'const arma::BaseCube' 445 | const vec nodes = (eigval + 1.0) / 2.0; | ^~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: candidate: 'template const arma::mtGlueCube::result, T1, T2, arma::glue_mixed_div> arma::operator/(const BaseCube::T1_result, T1>&, const BaseCube::T2_result, T2>&)' 113 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:445:40: note: 'arma::enable_if2, arma::eop_scalar_plus> >::result' {aka 'const arma::eOp, arma::eop_scalar_plus>'} is not derived from 'const arma::BaseCube::T1_result, T1>' 445 | const vec nodes = (eigval + 1.0) / 2.0; | ^~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each1&, const Base&)' 136 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:445:40: note: 'arma::enable_if2, arma::eop_scalar_plus> >::result' {aka 'const arma::eOp, arma::eop_scalar_plus>'} is not derived from 'const arma::subview_cube_each1' 445 | const vec nodes = (eigval + 1.0) / 2.0; | ^~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each1&)' 152 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:445:40: note: mismatched types 'const arma::subview_cube_each1' and 'double' 445 | const vec nodes = (eigval + 1.0) / 2.0; | ^~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each2&, const Base&)' 168 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:445:40: note: 'arma::enable_if2, arma::eop_scalar_plus> >::result' {aka 'const arma::eOp, arma::eop_scalar_plus>'} is not derived from 'const arma::subview_cube_each2' 445 | const vec nodes = (eigval + 1.0) / 2.0; | ^~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each2&)' 184 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_logmat_meat.hpp:445:40: note: mismatched types 'const arma::subview_cube_each2' and 'double' 445 | const vec nodes = (eigval + 1.0) / 2.0; | ^~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:773: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_powmat_meat.hpp: In static member function 'static bool arma::op_powmat_cx::apply_direct(arma::Mat >&, const arma::Base&, typename T1::pod_type)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_powmat_meat.hpp:183:11: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 183 | out = conv_to< Mat >::from(tmp); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_powmat_meat.hpp:183:32: error: expected primary-expression before '>' token 183 | out = conv_to< Mat >::from(tmp); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_powmat_meat.hpp:183:35: error: '::from' has not been declared 183 | out = conv_to< Mat >::from(tmp); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_powmat_meat.hpp:227:13: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 227 | out = conv_to< Mat >::from(eigvec * tmp); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_powmat_meat.hpp:227:34: error: expected primary-expression before '>' token 227 | out = conv_to< Mat >::from(eigvec * tmp); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_powmat_meat.hpp:227:37: error: '::from' has not been declared 227 | out = conv_to< Mat >::from(eigvec * tmp); | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:791: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_times_misc_meat.hpp: In static member function 'static void arma::glue_times_dense_sparse::apply_mixed(arma::Mat::result>&, const T1&, const T2&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_times_misc_meat.hpp:268:28: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 268 | const Mat AA = conv_to< Mat >::from(A); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_times_misc_meat.hpp:268:49: error: expected primary-expression before '>' token 268 | const Mat AA = conv_to< Mat >::from(A); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_times_misc_meat.hpp:268:52: error: '::from' has not been declared 268 | const Mat AA = conv_to< Mat >::from(A); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_times_misc_meat.hpp:303:28: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 303 | const Mat AA = conv_to< Mat >::from(A); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_times_misc_meat.hpp:303:49: error: expected primary-expression before '>' token 303 | const Mat AA = conv_to< Mat >::from(A); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_times_misc_meat.hpp:303:52: error: '::from' has not been declared 303 | const Mat AA = conv_to< Mat >::from(A); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_times_misc_meat.hpp: In static member function 'static void arma::glue_times_sparse_dense::apply_mixed(arma::Mat::result>&, const T1&, const T2&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_times_misc_meat.hpp:620:28: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 620 | const Mat BB = conv_to< Mat >::from(B); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_times_misc_meat.hpp:620:49: error: expected primary-expression before '>' token 620 | const Mat BB = conv_to< Mat >::from(B); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_times_misc_meat.hpp:620:52: error: '::from' has not been declared 620 | const Mat BB = conv_to< Mat >::from(B); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_times_misc_meat.hpp:638:28: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 638 | const Mat BB = conv_to< Mat >::from(B); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_times_misc_meat.hpp:638:49: error: expected primary-expression before '>' token 638 | const Mat BB = conv_to< Mat >::from(B); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_times_misc_meat.hpp:638:52: error: '::from' has not been declared 638 | const Mat BB = conv_to< Mat >::from(B); | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:794: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_cor_meat.hpp: In static member function 'static void arma::glue_cor::apply(arma::Mat&, const arma::Glue&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_cor_meat.hpp:66:10: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 66 | out /= conv_to< Mat >::from( stddev(AA).t() * stddev(BB) ); // TODO: check for zeros? | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_cor_meat.hpp:66:27: error: expected primary-expression before '>' token 66 | out /= conv_to< Mat >::from( stddev(AA).t() * stddev(BB) ); // TODO: check for zeros? | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_cor_meat.hpp:66:30: error: '::from' has not been declared 66 | out /= conv_to< Mat >::from( stddev(AA).t() * stddev(BB) ); // TODO: check for zeros? | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:795: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_kron_meat.hpp: In static member function 'static void arma::glue_kron::direct_kron(arma::Mat >&, const arma::Mat >&, const arma::Mat&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_kron_meat.hpp:74:19: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 74 | Mat tmp_B = conv_to< Mat >::from(B); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_kron_meat.hpp:74:36: error: expected primary-expression before '>' token 74 | Mat tmp_B = conv_to< Mat >::from(B); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/glue_kron_meat.hpp:74:39: error: '::from' has not been declared 74 | Mat tmp_B = conv_to< Mat >::from(B); | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:818: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/gmm_diag_meat.hpp: In member function 'void arma::gmm_priv::gmm_diag::generate_initial_means(const arma::Mat&, const arma::gmm_seed_mode&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/gmm_diag_meat.hpp:1815:62: error: 'linspace' was not declared in this scope; did you mean 'isspace'? 1815 | if(seed_mode == static_subset) { initial_indices = linspace(0, X.n_cols-1, N_gaus); } | ^~~~~~~~ | isspace D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/gmm_diag_meat.hpp:1815:75: error: expected primary-expression before '>' token 1815 | if(seed_mode == static_subset) { initial_indices = linspace(0, X.n_cols-1, N_gaus); } | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/gmm_diag_meat.hpp: In member function 'bool arma::gmm_priv::gmm_diag::km_iterate(const arma::Mat&, arma::uword, bool, const char*)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/gmm_diag_meat.hpp:2273:11: error: 'swap' is not a member of 'arma' 2273 | arma::swap(old_means, new_means); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/gmm_diag_meat.hpp:2273:11: note: suggested alternatives: In file included from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/quoted_string.h:38, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/iomanip:47, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:54: D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/sstream:1226:5: note: 'std::__cxx11::swap' 1226 | swap(basic_stringstream<_CharT, _Traits, _Allocator>& __x, | ^~~~ In file included from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/stl_pair.h:61, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/stl_algobase.h:64, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/specfun.h:43, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/cmath:3699, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/platform/compiler.h:100, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/r/headers.h:66, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:30: D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/move.h:189:5: note: 'std::swap' 189 | swap(_Tp& __a, _Tp& __b) | ^~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/move.h:189:5: note: 'std::swap' In file included from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/exception:164, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/stdexcept:38, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/system_error:43, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/ios_base.h:46, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/streambuf:43, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/streambuf_iterator.h:35, from D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/iterator:66, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:51: D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/exception_ptr.h:230:5: note: 'std::__exception_ptr::swap' 230 | swap(exception_ptr& __lhs, exception_ptr& __rhs) | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:819: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/gmm_full_meat.hpp: In member function 'void arma::gmm_priv::gmm_full::generate_initial_means(const arma::Mat&, const arma::gmm_seed_mode&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/gmm_full_meat.hpp:1844:62: error: 'linspace' was not declared in this scope; did you mean 'isspace'? 1844 | if(seed_mode == static_subset) { initial_indices = linspace(0, X.n_cols-1, N_gaus); } | ^~~~~~~~ | isspace D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/gmm_full_meat.hpp:1844:75: error: expected primary-expression before '>' token 1844 | if(seed_mode == static_subset) { initial_indices = linspace(0, X.n_cols-1, N_gaus); } | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/gmm_full_meat.hpp: In member function 'bool arma::gmm_priv::gmm_full::km_iterate(const arma::Mat&, arma::uword, bool)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/gmm_full_meat.hpp:2304:11: error: 'swap' is not a member of 'arma' 2304 | arma::swap(old_means, new_means); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/gmm_full_meat.hpp:2304:11: note: suggested alternatives: D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/sstream:1226:5: note: 'std::__cxx11::swap' 1226 | swap(basic_stringstream<_CharT, _Traits, _Allocator>& __x, | ^~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/move.h:189:5: note: 'std::swap' 189 | swap(_Tp& __a, _Tp& __b) | ^~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/move.h:189:5: note: 'std::swap' D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/bits/exception_ptr.h:230:5: note: 'std::__exception_ptr::swap' 230 | swap(exception_ptr& __lhs, exception_ptr& __rhs) | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:835: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/spglue_plus_meat.hpp: In static member function 'static void arma::spglue_plus_mixed::dense_plus_sparse(arma::Mat::result>&, const T1&, const T2&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/spglue_plus_meat.hpp:268:11: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 268 | out = conv_to< Mat >::from(X); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/spglue_plus_meat.hpp:268:32: error: expected primary-expression before '>' token 268 | out = conv_to< Mat >::from(X); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/spglue_plus_meat.hpp:268:35: error: '::from' has not been declared 268 | out = conv_to< Mat >::from(X); | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:836: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/spglue_minus_meat.hpp: In static member function 'static void arma::spglue_minus_mixed::dense_minus_sparse(arma::Mat::result>&, const T1&, const T2&)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/spglue_minus_meat.hpp:313:11: error: 'conv_to' was not declared in this scope; did you mean 'conv2'? 313 | out = conv_to< Mat >::from(X); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/spglue_minus_meat.hpp:313:32: error: expected primary-expression before '>' token 313 | out = conv_to< Mat >::from(X); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/spglue_minus_meat.hpp:313:35: error: '::from' has not been declared 313 | out = conv_to< Mat >::from(X); | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:855: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/newarp_GenEigsSolver_meat.hpp: In member function 'arma::uword arma::newarp::GenEigsSolver::num_converged(eT)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/newarp_GenEigsSolver_meat.hpp:211:27: error: 'norm' is not a member of 'arma'; did you mean 'std::norm'? 211 | const eT f_norm = arma::norm(fac_f); | ^~~~ D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/complex:2435:5: note: 'std::norm' declared here 2435 | norm(_Tp __x) | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:36: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h: In member function 'Rcpp::traits::Exporter >::cube_t Rcpp::traits::Exporter >::get()': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:498:35: error: 'conv_to' is not a member of 'arma'; did you mean 'conv2'? 498 | cube_t result = arma::conv_to::from(tmp); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:498:49: error: expected primary-expression before '>' token 498 | cube_t result = arma::conv_to::from(tmp); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:498:52: error: '::from' has not been declared 498 | cube_t result = arma::conv_to::from(tmp); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h: In member function 'Rcpp::traits::Exporter >::cube_t Rcpp::traits::Exporter >::get()': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:516:35: error: 'conv_to' is not a member of 'arma'; did you mean 'conv2'? 516 | cube_t result = arma::conv_to::from(tmp); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:516:49: error: expected primary-expression before '>' token 516 | cube_t result = arma::conv_to::from(tmp); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:516:52: error: '::from' has not been declared 516 | cube_t result = arma::conv_to::from(tmp); | ^~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h: In member function 'Rcpp::traits::Exporter > >::cube_t Rcpp::traits::Exporter > >::get()': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:534:35: error: 'conv_to' is not a member of 'arma'; did you mean 'conv2'? 534 | cube_t result = arma::conv_to::from(tmp); | ^~~~~~~ | conv2 D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:534:49: error: expected primary-expression before '>' token 534 | cube_t result = arma::conv_to::from(tmp); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:534:52: error: '::from' has not been declared 534 | cube_t result = arma::conv_to::from(tmp); | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/stochvol/include/stochvol.h:28, from BVAR_linear.cpp:2: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/type_definitions.hpp: In member function 'void stochvol::ProposalDiffusionKen::set(double, const arma::mat&)': D:/RCompile/CRANpkg/lib/4.5/stochvol/include/type_definitions.hpp:190:15: error: 'chol' is not a member of 'arma' 190 | arma::chol(covariance_chol, _covariance, "lower"); | ^~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/stochvol/include/stochvol.h:29: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp: In member function 'bool stochvol::Adaptation::State::update_covariance(arma::mat, double)': D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:349:44: error: no match for 'operator/' (operand types are 'arma::enable_if2, arma::op_sum> >::result' {aka 'const arma::Op, arma::op_sum>'} and 'int') 349 | mu += gamma * (arma::sum(draws, 1) / batch_size - mu); | ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~ | | | | | int | arma::enable_if2, arma::op_sum> >::result {aka const arma::Op, arma::op_sum>} D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: candidate: 'template const arma::eOpCube arma::operator/(const BaseCube&, typename T1::elem_type)' 28 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:349:46: note: 'arma::enable_if2, arma::op_sum> >::result' {aka 'const arma::Op, arma::op_sum>'} is not derived from 'const arma::BaseCube' 349 | mu += gamma * (arma::sum(draws, 1) / batch_size - mu); | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: candidate: 'template const arma::eOpCube arma::operator/(typename T1::elem_type, const BaseCube&)' 45 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:349:46: note: mismatched types 'const arma::BaseCube' and 'int' 349 | mu += gamma * (arma::sum(draws, 1) / batch_size - mu); | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_pre> arma::operator/(const std::complex&, const BaseCube&)' 62 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:349:46: note: mismatched types 'const arma::BaseCube' and 'int' 349 | mu += gamma * (arma::sum(draws, 1) / batch_size - mu); | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_post> arma::operator/(const BaseCube&, const std::complex&)' 79 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:349:46: note: 'arma::enable_if2, arma::op_sum> >::result' {aka 'const arma::Op, arma::op_sum>'} is not derived from 'const arma::BaseCube' 349 | mu += gamma * (arma::sum(draws, 1) / batch_size - mu); | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: candidate: 'template const arma::eGlueCube arma::operator/(const BaseCube&, const BaseCube&)' 96 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:349:46: note: 'arma::enable_if2, arma::op_sum> >::result' {aka 'const arma::Op, arma::op_sum>'} is not derived from 'const arma::BaseCube' 349 | mu += gamma * (arma::sum(draws, 1) / batch_size - mu); | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: candidate: 'template const arma::mtGlueCube::result, T1, T2, arma::glue_mixed_div> arma::operator/(const BaseCube::T1_result, T1>&, const BaseCube::T2_result, T2>&)' 113 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:349:46: note: 'arma::enable_if2, arma::op_sum> >::result' {aka 'const arma::Op, arma::op_sum>'} is not derived from 'const arma::BaseCube::T1_result, T1>' 349 | mu += gamma * (arma::sum(draws, 1) / batch_size - mu); | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each1&, const Base&)' 136 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:349:46: note: 'arma::enable_if2, arma::op_sum> >::result' {aka 'const arma::Op, arma::op_sum>'} is not derived from 'const arma::subview_cube_each1' 349 | mu += gamma * (arma::sum(draws, 1) / batch_size - mu); | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each1&)' 152 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:349:46: note: mismatched types 'const arma::subview_cube_each1' and 'int' 349 | mu += gamma * (arma::sum(draws, 1) / batch_size - mu); | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each2&, const Base&)' 168 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:349:46: note: 'arma::enable_if2, arma::op_sum> >::result' {aka 'const arma::Op, arma::op_sum>'} is not derived from 'const arma::subview_cube_each2' 349 | mu += gamma * (arma::sum(draws, 1) / batch_size - mu); | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each2&)' 184 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:349:46: note: mismatched types 'const arma::subview_cube_each2' and 'int' 349 | mu += gamma * (arma::sum(draws, 1) / batch_size - mu); | ^~~~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:138: D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:17: note: candidate: 'Rcomplex operator/(const Rcomplex&, const Rcomplex&)' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:44: note: no known conversion for argument 1 from 'arma::enable_if2, arma::op_sum> >::result' {aka 'const arma::Op, arma::op_sum>'} to 'const Rcomplex&' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ~~~~~~~~~~~~~~~~^ D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:350:45: error: no match for 'operator/' (operand types are 'arma::enable_if2, arma::Op, arma::op_htrans>, arma::glue_times> >::result' {aka 'const arma::Glue, arma::Op, arma::op_htrans>, arma::glue_times>'} and 'int') 350 | Sigma += gamma * (draws * draws.t() / (batch_size - 1) - Sigma); | ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ | | | | | int | arma::enable_if2, arma::Op, arma::op_htrans>, arma::glue_times> >::result {aka const arma::Glue, arma::Op, arma::op_htrans>, arma::glue_times>} D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: candidate: 'template const arma::eOpCube arma::operator/(const BaseCube&, typename T1::elem_type)' 28 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:350:62: note: 'arma::enable_if2, arma::Op, arma::op_htrans>, arma::glue_times> >::result' {aka 'const arma::Glue, arma::Op, arma::op_htrans>, arma::glue_times>'} is not derived from 'const arma::BaseCube' 350 | Sigma += gamma * (draws * draws.t() / (batch_size - 1) - Sigma); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: candidate: 'template const arma::eOpCube arma::operator/(typename T1::elem_type, const BaseCube&)' 45 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:350:62: note: mismatched types 'const arma::BaseCube' and 'int' 350 | Sigma += gamma * (draws * draws.t() / (batch_size - 1) - Sigma); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_pre> arma::operator/(const std::complex&, const BaseCube&)' 62 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:350:62: note: mismatched types 'const arma::BaseCube' and 'int' 350 | Sigma += gamma * (draws * draws.t() / (batch_size - 1) - Sigma); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_post> arma::operator/(const BaseCube&, const std::complex&)' 79 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:350:62: note: 'arma::enable_if2, arma::Op, arma::op_htrans>, arma::glue_times> >::result' {aka 'const arma::Glue, arma::Op, arma::op_htrans>, arma::glue_times>'} is not derived from 'const arma::BaseCube' 350 | Sigma += gamma * (draws * draws.t() / (batch_size - 1) - Sigma); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: candidate: 'template const arma::eGlueCube arma::operator/(const BaseCube&, const BaseCube&)' 96 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:350:62: note: 'arma::enable_if2, arma::Op, arma::op_htrans>, arma::glue_times> >::result' {aka 'const arma::Glue, arma::Op, arma::op_htrans>, arma::glue_times>'} is not derived from 'const arma::BaseCube' 350 | Sigma += gamma * (draws * draws.t() / (batch_size - 1) - Sigma); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: candidate: 'template const arma::mtGlueCube::result, T1, T2, arma::glue_mixed_div> arma::operator/(const BaseCube::T1_result, T1>&, const BaseCube::T2_result, T2>&)' 113 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:350:62: note: 'arma::enable_if2, arma::Op, arma::op_htrans>, arma::glue_times> >::result' {aka 'const arma::Glue, arma::Op, arma::op_htrans>, arma::glue_times>'} is not derived from 'const arma::BaseCube::T1_result, T1>' 350 | Sigma += gamma * (draws * draws.t() / (batch_size - 1) - Sigma); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each1&, const Base&)' 136 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:350:62: note: 'arma::enable_if2, arma::Op, arma::op_htrans>, arma::glue_times> >::result' {aka 'const arma::Glue, arma::Op, arma::op_htrans>, arma::glue_times>'} is not derived from 'const arma::subview_cube_each1' 350 | Sigma += gamma * (draws * draws.t() / (batch_size - 1) - Sigma); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each1&)' 152 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:350:62: note: mismatched types 'const arma::subview_cube_each1' and 'int' 350 | Sigma += gamma * (draws * draws.t() / (batch_size - 1) - Sigma); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each2&, const Base&)' 168 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:350:62: note: 'arma::enable_if2, arma::Op, arma::op_htrans>, arma::glue_times> >::result' {aka 'const arma::Glue, arma::Op, arma::op_htrans>, arma::glue_times>'} is not derived from 'const arma::subview_cube_each2' 350 | Sigma += gamma * (draws * draws.t() / (batch_size - 1) - Sigma); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each2&)' 184 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: template argument deduction/substitution failed: D:/RCompile/CRANpkg/lib/4.5/stochvol/include/adaptation.hpp:350:62: note: mismatched types 'const arma::subview_cube_each2' and 'int' 350 | Sigma += gamma * (draws * draws.t() / (batch_size - 1) - Sigma); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:17: note: candidate: 'Rcomplex operator/(const Rcomplex&, const Rcomplex&)' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:44: note: no known conversion for argument 1 from 'arma::enable_if2, arma::Op, arma::op_htrans>, arma::glue_times> >::result' {aka 'const arma::Glue, arma::Op, arma::op_htrans>, arma::glue_times>'} to 'const Rcomplex&' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ~~~~~~~~~~~~~~~~^ BVAR_linear.cpp: In function 'Rcpp::List BVAR_linear(arma::mat, arma::mat, arma::mat, arma::uvec, int, int, int, bool, bool, bool, int, Rcpp::List, Rcpp::List)': BVAR_linear.cpp:130:41: error: no match for 'operator/' (operand types are 'arma::enable_if2, arma::op_htrans>, arma::Mat, arma::glue_times> >::result' {aka 'const arma::Glue, arma::op_htrans>, arma::Mat, arma::glue_times>'} and 'double') 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~ | | | | | double | arma::enable_if2, arma::op_htrans>, arma::Mat, arma::glue_times> >::result {aka const arma::Glue, arma::op_htrans>, arma::Mat, arma::glue_times>} In file included from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/Vector.h:57, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp.h:40, from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32: D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:254:14: note: candidate: 'template class StoragePolicy, class T> typename Rcpp::traits::enable_if::type, typename Rcpp::Matrix::stored_type>::value, Rcpp::Matrix >::type Rcpp::operator/(const Matrix&, const T&)' 254 | operator __OPERATOR__ (const Matrix &lhs, const T &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:263:1: note: in expansion of macro 'RCPP_GENERATE_MATRIX_SCALAR_OPERATOR' 263 | RCPP_GENERATE_MATRIX_SCALAR_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:254:14: note: template argument deduction/substitution failed: 254 | operator __OPERATOR__ (const Matrix &lhs, const T &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:263:1: note: in expansion of macro 'RCPP_GENERATE_MATRIX_SCALAR_OPERATOR' 263 | RCPP_GENERATE_MATRIX_SCALAR_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BVAR_linear.cpp:130:47: note: 'arma::enable_if2, arma::op_htrans>, arma::Mat, arma::glue_times> >::result' {aka 'const arma::Glue, arma::op_htrans>, arma::Mat, arma::glue_times>'} is not derived from 'const Rcpp::Matrix' 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:271:14: note: candidate: 'template class StoragePolicy, class T> typename Rcpp::traits::enable_if::type, typename Rcpp::Matrix::stored_type>::value, Rcpp::Matrix >::type Rcpp::operator/(const T&, const Matrix&)' 271 | operator __OPERATOR__ (const T &lhs, const Matrix &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:280:1: note: in expansion of macro 'RCPP_GENERATE_SCALAR_MATRIX_OPERATOR' 280 | RCPP_GENERATE_SCALAR_MATRIX_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:271:14: note: template argument deduction/substitution failed: 271 | operator __OPERATOR__ (const T &lhs, const Matrix &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:280:1: note: in expansion of macro 'RCPP_GENERATE_SCALAR_MATRIX_OPERATOR' 280 | RCPP_GENERATE_SCALAR_MATRIX_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BVAR_linear.cpp:130:47: note: mismatched types 'const Rcpp::Matrix' and 'double' 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ^ In file included from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/operators.h:34, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/sugar.h:30, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp.h:78: D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:413:1: note: candidate: 'template typename Rcpp::traits::enable_if::type, typename Rcpp::traits::storage_type::type>::value, Rcpp::sugar::Divides_Vector_Primitive >::type Rcpp::operator/(const VectorBase&, const U&)' 413 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:413:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:130:47: note: 'arma::enable_if2, arma::op_htrans>, arma::Mat, arma::glue_times> >::result' {aka 'const arma::Glue, arma::op_htrans>, arma::Mat, arma::glue_times>'} is not derived from 'const Rcpp::VectorBase' 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:423:1: note: candidate: 'template typename Rcpp::traits::enable_if::type, typename Rcpp::traits::storage_type::type>::value, Rcpp::sugar::Divides_Primitive_Vector >::type Rcpp::operator/(const U&, const VectorBase&)' 423 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:423:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:130:47: note: mismatched types 'const Rcpp::VectorBase' and 'double' 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:436:1: note: candidate: 'template Rcpp::sugar::Divides_Vector_Vector Rcpp::operator/(const VectorBase&, const VectorBase&)' 436 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:436:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:130:47: note: 'arma::enable_if2, arma::op_htrans>, arma::Mat, arma::glue_times> >::result' {aka 'const arma::Glue, arma::op_htrans>, arma::Mat, arma::glue_times>'} is not derived from 'const Rcpp::VectorBase' 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: candidate: 'template const arma::eOpCube arma::operator/(const BaseCube&, typename T1::elem_type)' 28 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:130:47: note: 'arma::enable_if2, arma::op_htrans>, arma::Mat, arma::glue_times> >::result' {aka 'const arma::Glue, arma::op_htrans>, arma::Mat, arma::glue_times>'} is not derived from 'const arma::BaseCube' 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: candidate: 'template const arma::eOpCube arma::operator/(typename T1::elem_type, const BaseCube&)' 45 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:130:47: note: mismatched types 'const arma::BaseCube' and 'double' 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_pre> arma::operator/(const std::complex&, const BaseCube&)' 62 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:130:47: note: mismatched types 'const arma::BaseCube' and 'double' 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_post> arma::operator/(const BaseCube&, const std::complex&)' 79 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:130:47: note: 'arma::enable_if2, arma::op_htrans>, arma::Mat, arma::glue_times> >::result' {aka 'const arma::Glue, arma::op_htrans>, arma::Mat, arma::glue_times>'} is not derived from 'const arma::BaseCube' 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: candidate: 'template const arma::eGlueCube arma::operator/(const BaseCube&, const BaseCube&)' 96 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:130:47: note: 'arma::enable_if2, arma::op_htrans>, arma::Mat, arma::glue_times> >::result' {aka 'const arma::Glue, arma::op_htrans>, arma::Mat, arma::glue_times>'} is not derived from 'const arma::BaseCube' 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: candidate: 'template const arma::mtGlueCube::result, T1, T2, arma::glue_mixed_div> arma::operator/(const BaseCube::T1_result, T1>&, const BaseCube::T2_result, T2>&)' 113 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:130:47: note: 'arma::enable_if2, arma::op_htrans>, arma::Mat, arma::glue_times> >::result' {aka 'const arma::Glue, arma::op_htrans>, arma::Mat, arma::glue_times>'} is not derived from 'const arma::BaseCube::T1_result, T1>' 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each1&, const Base&)' 136 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:130:47: note: 'arma::enable_if2, arma::op_htrans>, arma::Mat, arma::glue_times> >::result' {aka 'const arma::Glue, arma::op_htrans>, arma::Mat, arma::glue_times>'} is not derived from 'const arma::subview_cube_each1' 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each1&)' 152 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:130:47: note: mismatched types 'const arma::subview_cube_each1' and 'double' 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each2&, const Base&)' 168 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:130:47: note: 'arma::enable_if2, arma::op_htrans>, arma::Mat, arma::glue_times> >::result' {aka 'const arma::Glue, arma::op_htrans>, arma::Mat, arma::glue_times>'} is not derived from 'const arma::subview_cube_each2' 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each2&)' 184 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:130:47: note: mismatched types 'const arma::subview_cube_each2' and 'double' 130 | mat SIGMA_OLS = ((E_OLS.t()) * E_OLS) / (T-k); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:17: note: candidate: 'Rcomplex operator/(const Rcomplex&, const Rcomplex&)' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:44: note: no known conversion for argument 1 from 'arma::enable_if2, arma::op_htrans>, arma::Mat, arma::glue_times> >::result' {aka 'const arma::Glue, arma::op_htrans>, arma::Mat, arma::glue_times>'} to 'const Rcomplex&' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ~~~~~~~~~~~~~~~~^ BVAR_linear.cpp:349:29: error: no match for 'operator/' (operand types are 'int' and 'arma::subview_col') 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ~^~~~~~~~~~~~~~~~ | | | | int arma::subview_col D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:254:14: note: candidate: 'template class StoragePolicy, class T> typename Rcpp::traits::enable_if::type, typename Rcpp::Matrix::stored_type>::value, Rcpp::Matrix >::type Rcpp::operator/(const Matrix&, const T&)' 254 | operator __OPERATOR__ (const Matrix &lhs, const T &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:263:1: note: in expansion of macro 'RCPP_GENERATE_MATRIX_SCALAR_OPERATOR' 263 | RCPP_GENERATE_MATRIX_SCALAR_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:254:14: note: template argument deduction/substitution failed: 254 | operator __OPERATOR__ (const Matrix &lhs, const T &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:263:1: note: in expansion of macro 'RCPP_GENERATE_MATRIX_SCALAR_OPERATOR' 263 | RCPP_GENERATE_MATRIX_SCALAR_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BVAR_linear.cpp:349:44: note: mismatched types 'const Rcpp::Matrix' and 'int' 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:271:14: note: candidate: 'template class StoragePolicy, class T> typename Rcpp::traits::enable_if::type, typename Rcpp::Matrix::stored_type>::value, Rcpp::Matrix >::type Rcpp::operator/(const T&, const Matrix&)' 271 | operator __OPERATOR__ (const T &lhs, const Matrix &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:280:1: note: in expansion of macro 'RCPP_GENERATE_SCALAR_MATRIX_OPERATOR' 280 | RCPP_GENERATE_SCALAR_MATRIX_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:271:14: note: template argument deduction/substitution failed: 271 | operator __OPERATOR__ (const T &lhs, const Matrix &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:280:1: note: in expansion of macro 'RCPP_GENERATE_SCALAR_MATRIX_OPERATOR' 280 | RCPP_GENERATE_SCALAR_MATRIX_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BVAR_linear.cpp:349:44: note: 'arma::subview_col' is not derived from 'const Rcpp::Matrix' 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:413:1: note: candidate: 'template typename Rcpp::traits::enable_if::type, typename Rcpp::traits::storage_type::type>::value, Rcpp::sugar::Divides_Vector_Primitive >::type Rcpp::operator/(const VectorBase&, const U&)' 413 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:413:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:349:44: note: mismatched types 'const Rcpp::VectorBase' and 'int' 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:423:1: note: candidate: 'template typename Rcpp::traits::enable_if::type, typename Rcpp::traits::storage_type::type>::value, Rcpp::sugar::Divides_Primitive_Vector >::type Rcpp::operator/(const U&, const VectorBase&)' 423 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:423:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:349:44: note: 'arma::subview_col' is not derived from 'const Rcpp::VectorBase' 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:436:1: note: candidate: 'template Rcpp::sugar::Divides_Vector_Vector Rcpp::operator/(const VectorBase&, const VectorBase&)' 436 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:436:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:349:44: note: mismatched types 'const Rcpp::VectorBase' and 'int' 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: candidate: 'template const arma::eOpCube arma::operator/(const BaseCube&, typename T1::elem_type)' 28 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:349:44: note: mismatched types 'const arma::BaseCube' and 'int' 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: candidate: 'template const arma::eOpCube arma::operator/(typename T1::elem_type, const BaseCube&)' 45 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:349:44: note: 'arma::subview_col' is not derived from 'const arma::BaseCube' 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_pre> arma::operator/(const std::complex&, const BaseCube&)' 62 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:349:44: note: 'arma::subview_col' is not derived from 'const arma::BaseCube' 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_post> arma::operator/(const BaseCube&, const std::complex&)' 79 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:349:44: note: mismatched types 'const arma::BaseCube' and 'int' 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: candidate: 'template const arma::eGlueCube arma::operator/(const BaseCube&, const BaseCube&)' 96 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:349:44: note: mismatched types 'const arma::BaseCube' and 'int' 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: candidate: 'template const arma::mtGlueCube::result, T1, T2, arma::glue_mixed_div> arma::operator/(const BaseCube::T1_result, T1>&, const BaseCube::T2_result, T2>&)' 113 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:349:44: note: mismatched types 'const arma::BaseCube::T1_result, T1>' and 'int' 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each1&, const Base&)' 136 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:349:44: note: mismatched types 'const arma::subview_cube_each1' and 'int' 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each1&)' 152 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:349:44: note: mismatched types 'const arma::Base' and 'int' 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each2&, const Base&)' 168 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:349:44: note: mismatched types 'const arma::subview_cube_each2' and 'int' 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each2&)' 184 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:349:44: note: mismatched types 'const arma::Base' and 'int' 349 | mat Vinv_m = diagmat(1/V_prior.col(mm)); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:17: note: candidate: 'Rcomplex operator/(const Rcomplex&, const Rcomplex&)' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:44: note: no known conversion for argument 1 from 'int' to 'const Rcomplex&' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ~~~~~~~~~~~~~~~~^ BVAR_linear.cpp:384:29: error: no match for 'operator/' (operand types are 'int' and 'arma::subview') 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int arma::subview D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:254:14: note: candidate: 'template class StoragePolicy, class T> typename Rcpp::traits::enable_if::type, typename Rcpp::Matrix::stored_type>::value, Rcpp::Matrix >::type Rcpp::operator/(const Matrix&, const T&)' 254 | operator __OPERATOR__ (const Matrix &lhs, const T &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:263:1: note: in expansion of macro 'RCPP_GENERATE_MATRIX_SCALAR_OPERATOR' 263 | RCPP_GENERATE_MATRIX_SCALAR_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:254:14: note: template argument deduction/substitution failed: 254 | operator __OPERATOR__ (const Matrix &lhs, const T &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:263:1: note: in expansion of macro 'RCPP_GENERATE_MATRIX_SCALAR_OPERATOR' 263 | RCPP_GENERATE_MATRIX_SCALAR_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BVAR_linear.cpp:384:57: note: mismatched types 'const Rcpp::Matrix' and 'int' 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:271:14: note: candidate: 'template class StoragePolicy, class T> typename Rcpp::traits::enable_if::type, typename Rcpp::Matrix::stored_type>::value, Rcpp::Matrix >::type Rcpp::operator/(const T&, const Matrix&)' 271 | operator __OPERATOR__ (const T &lhs, const Matrix &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:280:1: note: in expansion of macro 'RCPP_GENERATE_SCALAR_MATRIX_OPERATOR' 280 | RCPP_GENERATE_SCALAR_MATRIX_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:271:14: note: template argument deduction/substitution failed: 271 | operator __OPERATOR__ (const T &lhs, const Matrix &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:280:1: note: in expansion of macro 'RCPP_GENERATE_SCALAR_MATRIX_OPERATOR' 280 | RCPP_GENERATE_SCALAR_MATRIX_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BVAR_linear.cpp:384:57: note: 'arma::subview' is not derived from 'const Rcpp::Matrix' 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:413:1: note: candidate: 'template typename Rcpp::traits::enable_if::type, typename Rcpp::traits::storage_type::type>::value, Rcpp::sugar::Divides_Vector_Primitive >::type Rcpp::operator/(const VectorBase&, const U&)' 413 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:413:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:384:57: note: mismatched types 'const Rcpp::VectorBase' and 'int' 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:423:1: note: candidate: 'template typename Rcpp::traits::enable_if::type, typename Rcpp::traits::storage_type::type>::value, Rcpp::sugar::Divides_Primitive_Vector >::type Rcpp::operator/(const U&, const VectorBase&)' 423 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:423:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:384:57: note: 'arma::subview' is not derived from 'const Rcpp::VectorBase' 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:436:1: note: candidate: 'template Rcpp::sugar::Divides_Vector_Vector Rcpp::operator/(const VectorBase&, const VectorBase&)' 436 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:436:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:384:57: note: mismatched types 'const Rcpp::VectorBase' and 'int' 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: candidate: 'template const arma::eOpCube arma::operator/(const BaseCube&, typename T1::elem_type)' 28 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:384:57: note: mismatched types 'const arma::BaseCube' and 'int' 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: candidate: 'template const arma::eOpCube arma::operator/(typename T1::elem_type, const BaseCube&)' 45 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:384:57: note: 'arma::subview' is not derived from 'const arma::BaseCube' 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_pre> arma::operator/(const std::complex&, const BaseCube&)' 62 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:384:57: note: 'arma::subview' is not derived from 'const arma::BaseCube' 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_post> arma::operator/(const BaseCube&, const std::complex&)' 79 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:384:57: note: mismatched types 'const arma::BaseCube' and 'int' 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: candidate: 'template const arma::eGlueCube arma::operator/(const BaseCube&, const BaseCube&)' 96 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:384:57: note: mismatched types 'const arma::BaseCube' and 'int' 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: candidate: 'template const arma::mtGlueCube::result, T1, T2, arma::glue_mixed_div> arma::operator/(const BaseCube::T1_result, T1>&, const BaseCube::T2_result, T2>&)' 113 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:384:57: note: mismatched types 'const arma::BaseCube::T1_result, T1>' and 'int' 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each1&, const Base&)' 136 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:384:57: note: mismatched types 'const arma::subview_cube_each1' and 'int' 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each1&)' 152 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:384:57: note: mismatched types 'const arma::Base' and 'int' 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each2&, const Base&)' 168 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:384:57: note: mismatched types 'const arma::subview_cube_each2' and 'int' 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ^ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each2&)' 184 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:384:57: note: mismatched types 'const arma::Base' and 'int' 384 | mat Vinv_m = diagmat(1/L_prior.submat(mm,0,mm,mm-1)); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:17: note: candidate: 'Rcomplex operator/(const Rcomplex&, const Rcomplex&)' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:44: note: no known conversion for argument 1 from 'int' to 'const Rcomplex&' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ~~~~~~~~~~~~~~~~^ BVAR_linear.cpp:595:41: error: 'accu' was not declared in this scope 595 | el = e_lambda + 0.5*A_tau(pp,1)*accu(V_exo)*prodlambda; | ^~~~ BVAR_linear.cpp:648:43: error: 'accu' was not declared in this scope 648 | el = e_lambda + 0.5*A_tau(pp+1,0)*accu(V_end)*prodlambda; | ^~~~ BVAR_linear.cpp:695:33: error: 'accu' was not declared in this scope 695 | el = e_lambda + 0.5*L_tau*accu(L_vec); | ^~~~ BVAR_linear.cpp:744:87: error: no match for 'operator/' (operand types are 'const arma::eOp >, arma::eop_pow>' and 'arma::vec' {aka 'arma::Col'}) 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | | | arma::vec {aka arma::Col} | const arma::eOp >, arma::eop_pow> D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:254:14: note: candidate: 'template class StoragePolicy, class T> typename Rcpp::traits::enable_if::type, typename Rcpp::Matrix::stored_type>::value, Rcpp::Matrix >::type Rcpp::operator/(const Matrix&, const T&)' 254 | operator __OPERATOR__ (const Matrix &lhs, const T &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:263:1: note: in expansion of macro 'RCPP_GENERATE_MATRIX_SCALAR_OPERATOR' 263 | RCPP_GENERATE_MATRIX_SCALAR_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:254:14: note: template argument deduction/substitution failed: 254 | operator __OPERATOR__ (const Matrix &lhs, const T &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:263:1: note: in expansion of macro 'RCPP_GENERATE_MATRIX_SCALAR_OPERATOR' 263 | RCPP_GENERATE_MATRIX_SCALAR_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BVAR_linear.cpp:744:88: note: 'const arma::eOp >, arma::eop_pow>' is not derived from 'const Rcpp::Matrix' 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:271:14: note: candidate: 'template class StoragePolicy, class T> typename Rcpp::traits::enable_if::type, typename Rcpp::Matrix::stored_type>::value, Rcpp::Matrix >::type Rcpp::operator/(const T&, const Matrix&)' 271 | operator __OPERATOR__ (const T &lhs, const Matrix &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:280:1: note: in expansion of macro 'RCPP_GENERATE_SCALAR_MATRIX_OPERATOR' 280 | RCPP_GENERATE_SCALAR_MATRIX_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:271:14: note: template argument deduction/substitution failed: 271 | operator __OPERATOR__ (const T &lhs, const Matrix &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:280:1: note: in expansion of macro 'RCPP_GENERATE_SCALAR_MATRIX_OPERATOR' 280 | RCPP_GENERATE_SCALAR_MATRIX_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BVAR_linear.cpp:744:88: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const Rcpp::Matrix' 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:413:1: note: candidate: 'template typename Rcpp::traits::enable_if::type, typename Rcpp::traits::storage_type::type>::value, Rcpp::sugar::Divides_Vector_Primitive >::type Rcpp::operator/(const VectorBase&, const U&)' 413 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:413:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:744:88: note: 'const arma::eOp >, arma::eop_pow>' is not derived from 'const Rcpp::VectorBase' 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:423:1: note: candidate: 'template typename Rcpp::traits::enable_if::type, typename Rcpp::traits::storage_type::type>::value, Rcpp::sugar::Divides_Primitive_Vector >::type Rcpp::operator/(const U&, const VectorBase&)' 423 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:423:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:744:88: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const Rcpp::VectorBase' 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:436:1: note: candidate: 'template Rcpp::sugar::Divides_Vector_Vector Rcpp::operator/(const VectorBase&, const VectorBase&)' 436 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:436:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:744:88: note: 'const arma::eOp >, arma::eop_pow>' is not derived from 'const Rcpp::VectorBase' 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: candidate: 'template const arma::eOpCube arma::operator/(const BaseCube&, typename T1::elem_type)' 28 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:744:88: note: 'const arma::eOp >, arma::eop_pow>' is not derived from 'const arma::BaseCube' 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: candidate: 'template const arma::eOpCube arma::operator/(typename T1::elem_type, const BaseCube&)' 45 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:744:88: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const arma::BaseCube' 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_pre> arma::operator/(const std::complex&, const BaseCube&)' 62 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:744:88: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const arma::BaseCube' 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_post> arma::operator/(const BaseCube&, const std::complex&)' 79 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:744:88: note: 'const arma::eOp >, arma::eop_pow>' is not derived from 'const arma::BaseCube' 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: candidate: 'template const arma::eGlueCube arma::operator/(const BaseCube&, const BaseCube&)' 96 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:744:88: note: 'const arma::eOp >, arma::eop_pow>' is not derived from 'const arma::BaseCube' 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: candidate: 'template const arma::mtGlueCube::result, T1, T2, arma::glue_mixed_div> arma::operator/(const BaseCube::T1_result, T1>&, const BaseCube::T2_result, T2>&)' 113 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:744:88: note: 'const arma::eOp >, arma::eop_pow>' is not derived from 'const arma::BaseCube::T1_result, T1>' 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each1&, const Base&)' 136 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:744:88: note: 'const arma::eOp >, arma::eop_pow>' is not derived from 'const arma::subview_cube_each1' 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each1&)' 152 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:744:88: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const arma::subview_cube_each1' 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each2&, const Base&)' 168 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:744:88: note: 'const arma::eOp >, arma::eop_pow>' is not derived from 'const arma::subview_cube_each2' 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each2&)' 184 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:744:88: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const arma::subview_cube_each2' 744 | tau_L = 1/R::rgamma((v+1)/2, 1/(1/zeta_L + 0.5*sum(pow(L_draw(lower_indices),2)/lambda_L))); | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:17: note: candidate: 'Rcomplex operator/(const Rcomplex&, const Rcomplex&)' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:44: note: no known conversion for argument 1 from 'const arma::eOp >, arma::eop_pow>' to 'const Rcomplex&' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ~~~~~~~~~~~~~~~~^ BVAR_linear.cpp:758:94: error: no match for 'operator/' (operand types are 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' and 'arma::vec' {aka 'arma::Col'}) 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | | | | | arma::vec {aka arma::Col} | const arma::eOp, arma::op_vectorise_col>, arma::eop_pow> D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:254:14: note: candidate: 'template class StoragePolicy, class T> typename Rcpp::traits::enable_if::type, typename Rcpp::Matrix::stored_type>::value, Rcpp::Matrix >::type Rcpp::operator/(const Matrix&, const T&)' 254 | operator __OPERATOR__ (const Matrix &lhs, const T &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:263:1: note: in expansion of macro 'RCPP_GENERATE_MATRIX_SCALAR_OPERATOR' 263 | RCPP_GENERATE_MATRIX_SCALAR_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:254:14: note: template argument deduction/substitution failed: 254 | operator __OPERATOR__ (const Matrix &lhs, const T &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:263:1: note: in expansion of macro 'RCPP_GENERATE_MATRIX_SCALAR_OPERATOR' 263 | RCPP_GENERATE_MATRIX_SCALAR_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BVAR_linear.cpp:758:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const Rcpp::Matrix' 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:271:14: note: candidate: 'template class StoragePolicy, class T> typename Rcpp::traits::enable_if::type, typename Rcpp::Matrix::stored_type>::value, Rcpp::Matrix >::type Rcpp::operator/(const T&, const Matrix&)' 271 | operator __OPERATOR__ (const T &lhs, const Matrix &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:280:1: note: in expansion of macro 'RCPP_GENERATE_SCALAR_MATRIX_OPERATOR' 280 | RCPP_GENERATE_SCALAR_MATRIX_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:271:14: note: template argument deduction/substitution failed: 271 | operator __OPERATOR__ (const T &lhs, const Matrix &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:280:1: note: in expansion of macro 'RCPP_GENERATE_SCALAR_MATRIX_OPERATOR' 280 | RCPP_GENERATE_SCALAR_MATRIX_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BVAR_linear.cpp:758:95: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const Rcpp::Matrix' 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:413:1: note: candidate: 'template typename Rcpp::traits::enable_if::type, typename Rcpp::traits::storage_type::type>::value, Rcpp::sugar::Divides_Vector_Primitive >::type Rcpp::operator/(const VectorBase&, const U&)' 413 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:413:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:758:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const Rcpp::VectorBase' 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:423:1: note: candidate: 'template typename Rcpp::traits::enable_if::type, typename Rcpp::traits::storage_type::type>::value, Rcpp::sugar::Divides_Primitive_Vector >::type Rcpp::operator/(const U&, const VectorBase&)' 423 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:423:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:758:95: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const Rcpp::VectorBase' 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:436:1: note: candidate: 'template Rcpp::sugar::Divides_Vector_Vector Rcpp::operator/(const VectorBase&, const VectorBase&)' 436 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:436:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:758:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const Rcpp::VectorBase' 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: candidate: 'template const arma::eOpCube arma::operator/(const BaseCube&, typename T1::elem_type)' 28 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:758:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const arma::BaseCube' 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: candidate: 'template const arma::eOpCube arma::operator/(typename T1::elem_type, const BaseCube&)' 45 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:758:95: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const arma::BaseCube' 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_pre> arma::operator/(const std::complex&, const BaseCube&)' 62 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:758:95: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const arma::BaseCube' 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_post> arma::operator/(const BaseCube&, const std::complex&)' 79 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:758:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const arma::BaseCube' 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: candidate: 'template const arma::eGlueCube arma::operator/(const BaseCube&, const BaseCube&)' 96 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:758:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const arma::BaseCube' 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: candidate: 'template const arma::mtGlueCube::result, T1, T2, arma::glue_mixed_div> arma::operator/(const BaseCube::T1_result, T1>&, const BaseCube::T2_result, T2>&)' 113 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:758:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const arma::BaseCube::T1_result, T1>' 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each1&, const Base&)' 136 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:758:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const arma::subview_cube_each1' 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each1&)' 152 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:758:95: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const arma::subview_cube_each1' 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each2&, const Base&)' 168 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:758:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const arma::subview_cube_each2' 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each2&)' 184 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:758:95: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const arma::subview_cube_each2' 758 | tau_A_endo = 1.0/R::rgamma((n+1)/2, 1/(1/zeta_A_endo + 0.5*sum(pow(vectorise(A_end),2)/lambda_A_endo))); | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:17: note: candidate: 'Rcomplex operator/(const Rcomplex&, const Rcomplex&)' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:44: note: no known conversion for argument 1 from 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' to 'const Rcomplex&' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ~~~~~~~~~~~~~~~~^ BVAR_linear.cpp:772:94: error: no match for 'operator/' (operand types are 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' and 'arma::vec' {aka 'arma::Col'}) 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | | | arma::vec {aka arma::Col} | const arma::eOp, arma::op_vectorise_col>, arma::eop_pow> D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:254:14: note: candidate: 'template class StoragePolicy, class T> typename Rcpp::traits::enable_if::type, typename Rcpp::Matrix::stored_type>::value, Rcpp::Matrix >::type Rcpp::operator/(const Matrix&, const T&)' 254 | operator __OPERATOR__ (const Matrix &lhs, const T &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:263:1: note: in expansion of macro 'RCPP_GENERATE_MATRIX_SCALAR_OPERATOR' 263 | RCPP_GENERATE_MATRIX_SCALAR_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:254:14: note: template argument deduction/substitution failed: 254 | operator __OPERATOR__ (const Matrix &lhs, const T &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:263:1: note: in expansion of macro 'RCPP_GENERATE_MATRIX_SCALAR_OPERATOR' 263 | RCPP_GENERATE_MATRIX_SCALAR_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BVAR_linear.cpp:772:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const Rcpp::Matrix' 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:271:14: note: candidate: 'template class StoragePolicy, class T> typename Rcpp::traits::enable_if::type, typename Rcpp::Matrix::stored_type>::value, Rcpp::Matrix >::type Rcpp::operator/(const T&, const Matrix&)' 271 | operator __OPERATOR__ (const T &lhs, const Matrix &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:280:1: note: in expansion of macro 'RCPP_GENERATE_SCALAR_MATRIX_OPERATOR' 280 | RCPP_GENERATE_SCALAR_MATRIX_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:271:14: note: template argument deduction/substitution failed: 271 | operator __OPERATOR__ (const T &lhs, const Matrix &rhs) { \ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/vector/Matrix.h:280:1: note: in expansion of macro 'RCPP_GENERATE_SCALAR_MATRIX_OPERATOR' 280 | RCPP_GENERATE_SCALAR_MATRIX_OPERATOR(/) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BVAR_linear.cpp:772:95: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const Rcpp::Matrix' 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:413:1: note: candidate: 'template typename Rcpp::traits::enable_if::type, typename Rcpp::traits::storage_type::type>::value, Rcpp::sugar::Divides_Vector_Primitive >::type Rcpp::operator/(const VectorBase&, const U&)' 413 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:413:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:772:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const Rcpp::VectorBase' 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:423:1: note: candidate: 'template typename Rcpp::traits::enable_if::type, typename Rcpp::traits::storage_type::type>::value, Rcpp::sugar::Divides_Primitive_Vector >::type Rcpp::operator/(const U&, const VectorBase&)' 423 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:423:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:772:95: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const Rcpp::VectorBase' 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:436:1: note: candidate: 'template Rcpp::sugar::Divides_Vector_Vector Rcpp::operator/(const VectorBase&, const VectorBase&)' 436 | operator/( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/operators/divides.h:436:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:772:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const Rcpp::VectorBase' 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: candidate: 'template const arma::eOpCube arma::operator/(const BaseCube&, typename T1::elem_type)' 28 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:28:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:772:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const arma::BaseCube' 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: candidate: 'template const arma::eOpCube arma::operator/(typename T1::elem_type, const BaseCube&)' 45 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:45:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:772:95: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const arma::BaseCube' 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_pre> arma::operator/(const std::complex&, const BaseCube&)' 62 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:62:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:772:95: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const arma::BaseCube' 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: candidate: 'template const arma::mtOpCube, T1, arma::op_cx_scalar_div_post> arma::operator/(const BaseCube&, const std::complex&)' 79 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:79:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:772:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const arma::BaseCube' 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: candidate: 'template const arma::eGlueCube arma::operator/(const BaseCube&, const BaseCube&)' 96 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:96:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:772:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const arma::BaseCube' 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: candidate: 'template const arma::mtGlueCube::result, T1, T2, arma::glue_mixed_div> arma::operator/(const BaseCube::T1_result, T1>&, const BaseCube::T2_result, T2>&)' 113 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:113:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:772:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const arma::BaseCube::T1_result, T1>' 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each1&, const Base&)' 136 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:136:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:772:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const arma::subview_cube_each1' 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each1&)' 152 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:152:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:772:95: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const arma::subview_cube_each1' 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: candidate: 'template arma::Cube arma::operator/(const subview_cube_each2&, const Base&)' 168 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:168:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:772:95: note: 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' is not derived from 'const arma::subview_cube_each2' 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: candidate: 'template arma::Cube arma::operator/(const Base&, const subview_cube_each2&)' 184 | operator/ | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/operator_cube_div.hpp:184:1: note: template argument deduction/substitution failed: BVAR_linear.cpp:772:95: note: 'arma::vec' {aka 'arma::Col'} is not derived from 'const arma::subview_cube_each2' 772 | tau_A_exo = 1/R::rgamma((nstar+1)/2, 1/(1/zeta_A_exo + 0.5*sum(pow(vectorise(A_exo),2)/lambda_A_exo))); | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:17: note: candidate: 'Rcomplex operator/(const Rcomplex&, const Rcomplex&)' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/complex.h:46:44: note: no known conversion for argument 1 from 'const arma::eOp, arma::op_vectorise_col>, arma::eop_pow>' to 'const Rcomplex&' 46 | inline Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) { | ~~~~~~~~~~~~~~~~^ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:440: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/arma_ostream_bones.hpp: At global scope: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/arma_ostream_bones.hpp:69:32: warning: inline function 'static void arma::arma_ostream::print(std::ostream&, const arma::SizeMat&)' used but never defined 69 | arma_cold inline static void print(std::ostream& o, const SizeMat& S); | ^~~~~ D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/arma_ostream_bones.hpp:70:32: warning: inline function 'static void arma::arma_ostream::print(std::ostream&, const arma::SizeCube&)' used but never defined 70 | arma_cold inline static void print(std::ostream& o, const SizeCube& S); | ^~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:259: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_max_bones.hpp:70:70: warning: inline function 'static typename arma::arma_not_cx::result arma::op_max::max(const arma::Base&) [with T1 = arma::Mat; typename arma::arma_not_cx::result = unsigned int; typename T1::elem_type = unsigned int; typename T1::elem_type = unsigned int]' used but never defined 70 | inline static typename arma_not_cx::result max(const Base& X); | ^~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:273: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_reshape_bones.hpp:30:44: warning: inline function 'static void arma::op_reshape::apply(arma::Mat&, const arma::Op&) [with T1 = arma::eOp, arma::eop_scalar_times>; typename T1::elem_type = double]' used but never defined 30 | template inline static void apply(Mat& out, const Op& in); | ^~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:252: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_diagvec_bones.hpp:30:22: warning: inline function 'static void arma::op_diagvec::apply(arma::Mat&, const arma::Op&) [with T1 = arma::Glue, arma::Mat, arma::glue_kron>; typename T1::elem_type = double]' used but never defined 30 | inline static void apply(Mat& out, const Op& X); | ^~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:251: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/op_diagmat_bones.hpp:30:22: warning: inline function 'static void arma::op_diagmat::apply(arma::Mat&, const arma::Op&) [with T1 = arma::Col; typename T1::elem_type = double]' used but never defined 30 | inline static void apply(Mat& out, const Op& X); | ^~~~~ make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:297: BVAR_linear.o] Error 1 ERROR: compilation failed for package 'BGVAR' * removing 'd:/RCompile/CRANincoming/R-devel/lib/BGVAR'