cppad
  • Table of Contents
  • user_guide
    • Install
    • Theory
    • AD
    • ADFun
      • record_adfun
      • other_adfun
      • drivers
      • Forward
      • Reverse
      • sparsity_pattern
      • sparse_derivative
        • sparse_jac
        • sparse_jacobian
        • sparse_hes
        • sparse_hessian
        • subgraph_jac_rev
      • optimize
      • FunCheck
      • check_for_nan
      • to_csrc
    • preprocessor
    • multi_thread
    • utility
    • ipopt_solve
    • Example
    • speed
  • appendix
  • Index
cppad
  • »
  • user_guide »
  • ADFun »
  • sparse_derivative
  • View page source

\(\newcommand{\W}[1]{ \; #1 \; }\) \(\newcommand{\R}[1]{ {\rm #1} }\) \(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} }\) \(\newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} }\) \(\newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} }\) \(\newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }\)

sparse_derivative¶

Calculating Sparse Derivatives¶

  • Preferred Sparsity Patterns

  • Old Sparsity Patterns

Preferred Sparsity Patterns¶

sparse_jac

Computing Sparse Jacobians

sparse_hes

Computing Sparse Hessians

subgraph_jac_rev

Compute Sparse Jacobians Using Subgraphs

Old Sparsity Patterns¶

sparse_jacobian

Sparse Jacobian

sparse_hessian

Sparse Hessian

Next Previous

© Copyright .

Built with Sphinx using a theme provided by Read the Docs.