Module Stan_math_backend.Lower_stmt

Lowering of Stan statements to C++

val check_to_string : 'a Middle.Transformation.t -> string option
val math_fn_translations : 'a Middle.Internal_fun.t -> string option
val trans_math_fn : 'a Middle.Internal_fun.t -> string

Code generation for the right hand side of expressions to initialize objects. For scalar types this sets the value to NaN and for containers initializes the memory.

val lower_possibly_opencl_decl : string -> Middle.UnsizedType.t -> Cpp.type_ -> 'a Middle.Expr.t Middle.Stmt.Pattern.decl_init -> Cpp.type_

Initialize an object of a given size.

val lower_profile : Cpp.identifier -> Cpp.stmt list -> Stan_math_backend__Cpp.stmt
val lower_bool_expr : Middle.Expr.Typed.t -> Cpp.expr
val expr_overlaps_lhs_ref : 'a Middle.Expr.t Middle.Stmt.Pattern.lvalue -> 'a Middle.Expr.t -> bool
val throw_exn : string -> Middle.Expr.Typed.t list -> Stan_math_backend__Cpp.stmt
module Testing : sig ... end