Struct rust_ad_core::ProcedureOutputs [−][src]
pub struct ProcedureOutputs {
pub output_type: String,
pub forward_derivative: fn(_: &Stmt, _: &[String]) -> Stmt,
pub reverse_derivative: fn(_: &Stmt, _: &mut HashMap<String, Vec<String>>) -> Option<Stmt>,
}Expand description
Infomation to relating to specific procedure, output type, etc. (including functions for transforming statements into deriatives).
Fields
output_type: StringOutput type of procedure
forward_derivative: fn(_: &Stmt, _: &[String]) -> StmtTransformation procedure to give the forward derivative
reverse_derivative: fn(_: &Stmt, _: &mut HashMap<String, Vec<String>>) -> Option<Stmt>Transfomation procedure to give the reverse derivative
