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.

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
val lower_statements : (Middle.Expr.Typed.Meta.t, Middle.Stmt.Numbered.Meta.t) Middle.Stmt.t list -> Cpp.stmt Base__List.t
module Testing : sig ... end