Derivative Code Compilers

I would like to ask if someone can explain to me what the differences are in the syntactically directed tangent-linear code and the conjugate code.

This is due to derivation of the code with the compiler.

I understand that these are different ways to derive mathematical equations in a program, but I don’t know exactly how to interpret them.

Thanks in advance.

Sincerely.

+3
source share
1 answer

In my opinion, there are only two methods for automatically generating derived code:

  • forward differentiation
  • inverse differentiation

, , , , , . (- ) .

, - .

: :

    a=f(b);

f() b ,

    a=f(b);
    da_db=df(b);
    da_dc=da_db*db_dc;
    da_dd=da_db*db_dd;
0

Source: https://habr.com/ru/post/1761146/


All Articles