Struct rust_ad_core::ProcedureOutputs[][src]

pub struct ProcedureOutputs {
    pub output_type: String,
    pub forward_derivative: Option<fn(_: &Stmt, _: &[String]) -> Stmt>,
    pub reverse_derivative: Option<fn(_: &Stmt) -> Stmt>,
}
Expand description

Infomation to relating to specific procedure, output type, etc. (including functions for transforming statements into deriatives).

Fields

output_type: String

Output type of procedure

forward_derivative: Option<fn(_: &Stmt, _: &[String]) -> Stmt>

Transformation procedure to give the forward derivative

reverse_derivative: Option<fn(_: &Stmt) -> Stmt>

Transfomation procedure to give the reverse derivative

Implementations

Trait Implementations

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.