1st part of YT https://www.youtube.com/watch?v=eTO_WQZ-2q0 which is part of a larger lecture on consciousness.
Hakuin, the 17th century master writes in one of his poems, he uses the phrase,
--- Compiling, linking C++ code --- | |
clang++ -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare -D_REENTRANT -Wno-ignored-attributes -I stan/lib/stan_math/lib/tbb_2020.3/include -O3 -I src -I stan/src -I lib/rapidjson_1.1.0/ -I lib/CLI11-1.9.1/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.9 -I stan/lib/stan_math/lib/boost_1.75.0 -I stan/lib/stan_math/lib/sundials_6.0.0/include -I stan/lib/stan_math/lib/sundials_6.0.0/src/sundials -DBOOST_DISABLE_ASSERTS -c -include-pch stan/src/stan/model/model_header.hpp.gch -include /Users/duke/Nextcloud/Work/HiresHMC/bigpbvepinc.hpp -x c++ -o /Users/duke/Nextcloud/Work/HiresHMC/bigpbvep.o /Users/duke/Nextcloud/Work/HiresHMC/bigpbvep.hpp | |
In file included from <built-in>:1: | |
user_header.hpp:82:14: error: no viable overloaded '+=' | |
xz.adj() += g_x; | |
~~~~~~~~ ^ ~~~ | |
user_header.hpp:105:7: note: in instantiation of function template specialization 'bigpbvep_model_namespace::ode_rhs_rev<stan::math::arena_matri |
import os.path | |
def Settings(*args, **kwargs): | |
stan_cmd = '-std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare -D_REENTRANT -Wno-ignored-attributes -I stan/lib/stan_math/lib/tbb_2020.3/include -O3 -I src -I stan/src -I lib/rapidjson_1.1.0/ -I lib/CLI11-1.9.1/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.9 -I stan/lib/stan_math/lib/boost_1.75.0 -I stan/lib/stan_math/lib/sundials_5.7.0/include -DBOOST_DISABLE_ASSERTS -c -include-pch stan/src/stan/model/model_header.hpp.gch -x c++ -o examples/bernoulli/bernoulli.o examples/bernoulli/bernoulli.hpp' | |
home = os.environ['HOME'] | |
stan_cmd = stan_cmd.replace('-I stan/', f'-I {home}/.cmdstan/cmdstan-2.28.2/stan/') | |
flags = [_ for _ in stan_cmd.split(' ') if _.strip()] | |
return {'flags': flags} | |
1st part of YT https://www.youtube.com/watch?v=eTO_WQZ-2q0 which is part of a larger lecture on consciousness.
Hakuin, the 17th century master writes in one of his poems, he uses the phrase,
model: model.stan support.o support.hpp | |
STANCFLAGS=--allow-undefined USER_HEADER=$$PWD/support.hpp LDLIBS_OS=$$PWD/support.o make -C ~/.cmdstan/cmdstan-2.28.2/ $$PWD/model |
from scipy.integrate import ode | |
from numba import njit | |
import numba as nb | |
from NumbaLSODA import lsoda_sig, lsoda | |
from numba import njit, cfunc | |
@njit | |
def Parametrization_VectorsGreatCircle(p1,p2,R): | |
E = p1 / R | |
F = np.cross(np.cross(p1,p2),p1) |
import sympy | |
class DfunSymGen(dict): | |
def __init__(self): | |
self.symbols = [] | |
def __setitem__(self, key, val): | |
dict.__setitem__(self, key, val) | |
self.symbols.append(key) | |
def __getitem__(self, key): | |
if key not in self: |