This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Phi(int) | |
Phi(real) | |
Phi(vector) | |
Phi(row vector) | |
Phi(matrix) | |
Phi(int[]) | |
Phi(real[]) | |
Phi(vector[]) | |
Phi(row vector[]) | |
Phi(matrix[]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define OPENCL_PLATFORM_ID 0 | |
#define OPENCL_DEVICE_ID 0 | |
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS | |
//#define USE_TIMING_OUTPUTS | |
//#include <CL/cl.hpp> | |
#include <Eigen/Dense> | |
#include <stan/math.hpp> | |
#include <vector> | |
#include <iostream> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
corebuild -package menhirLib -use-menhir -menhir "menhir --table" -I src src/stan/stan.native | |
ocamlfind ocamldep -package menhirLib -package core -ppx 'ppx-jane -as-ppx' -modules src/stan/stan.ml > src/stan/stan.ml.depends | |
ocamlfind ocamldep -package menhirLib -package core -ppx 'ppx-jane -as-ppx' -modules src/stan/debug.ml > src/stan/debug.ml.depends | |
ocamlfind ocamldep -package menhirLib -package core -ppx 'ppx-jane -as-ppx' -modules src/stan/ast.ml > src/stan/ast.ml.depends | |
ocamlfind ocamldep -package menhirLib -package core -ppx 'ppx-jane -as-ppx' -modules src/stan/errors.mli > src/stan/errors.mli.depends | |
ocamlfind ocamlc -c -w A-4-33-40-41-42-43-34-44 -strict-sequence -g -bin-annot -short-paths -thread -package menhirLib -package core -ppx 'ppx-jane -as-ppx' -I src/stan -I src -o src/stan/errors.cmi src/stan/errors.mli | |
ocamlfind ocamldep -package menhirLib -package core -ppx 'ppx-jane -as-ppx' -modules src/stan/pretty_printing.ml > src/stan/pretty_printing.ml.depends | |
ocamlfind ocamlc -c -w A-4-33-40-41 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let ufb = | |
Core_kernel.Option.map ~f:(List.map semantic_check_statement) fb | |
in | |
(* Check that all declared functions have a definition *) | |
let _ = | |
if | |
Symbol_table.check_some_id_is_unassigned vm | |
&& !check_that_all_functions_have_definition | |
then | |
semantic_error |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// gen_test_mother1 | |
// tests functions from current impelmentation: | |
// generate_functions(prog.function_decl_defs_, o); | |
// generate_member_var_decls_all(prog, o); | |
// generate_constructor(prog, model_name, o); | |
// generate_transform_inits_method(prog.parameter_decl_, o); | |
functions { | |
int foo(int n); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Code generated by Stan version 2.18.1 | |
#include <stan/model/model_header.hpp> | |
namespace gentest_mother1_model_namespace { | |
using std::istream; | |
using std::string; | |
using std::stringstream; | |
using std::vector; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <algorithm> | |
#include <iterator> | |
#include <array> | |
// #ifdef __APPLE__ | |
// #include <OpenCL/cl.hpp> | |
// #else | |
#include <CL/cl.hpp> | |
// #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Code generated by stanc3 version 0.0.1 | |
#include <stan/model/model_header.hpp> | |
namespace low_dim_gauss_mix_model_namespace { | |
using stan::io::dump; | |
using stan::math::lgamma; | |
using stan::model::prob_grad; | |
using std::istream; | |
using std::string; | |
using std::stringstream; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Code generated by Stan version 2.19.1 | |
#include <stan/model/model_header.hpp> | |
namespace low_dim_gauss_mix_model_namespace { | |
using std::istream; | |
using std::string; | |
using std::stringstream; | |
using std::vector; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Code generated by Stan version 2.19.1 | |
#include <stan/model/model_header.hpp> | |
namespace hepatitis_model_namespace { | |
using std::istream; | |
using std::string; | |
using std::stringstream; | |
using std::vector; |