Prev Next _contents Headings

Table of Contents

cppad_swig-20180627: A C++ AD Library with a Swig Interface
cppad_swig-20180627: A C++ AD Library with a Swig Interface
    Table of Contents
     Running the Cppad Swig Tests
    Running the Cppad Swig Tests
        Get Cppad and Configure Cppad Swig for A system

     Example Using Swig with C++
    Example Using Swig with C++
         Example C++ Library That is Called by Swig
        Example C++ Library That is Called by Swig
             Swig Example: C++ Function Specifications
            Swig Example: C++ Function Specifications
                Swig Example: C++ Function Implementation

             Swig Example: C++ Class
            Swig Example: C++ Class
                Swig Example: C++ Class Implementation

             Swig Example: C++ Template Class
            Swig Example: C++ Template Class
                Swig Example: C++ Template Class Implementation

        Swig Example / Test: Python Script
        Swig Example / Test: Octave Script
        Swig Example / Test: Perl Script

     The Cppad Swig Library
    The Cppad Swig Library
        Cppad Swig Modules and Languages
         Cppad Swig AD Scalars
        Cppad Swig AD Scalars
            The a_double Constructor
             a_double Unary Plus and Minus
            a_double Unary Plus and Minus
                C++: a_double Unary Plus and Minus: Example and Test
                Octave: a_double Unary Plus and Minus: Example and Test
                Perl: a_double Unary Plus and Minus: Example and Test
                Python: a_double Unary Plus and Minus: Example and Test

             Properties of an a_double Object
            Properties of an a_double Object
                C++: a_double Properties: Example and Test
                Octave: a_double Properties: Example and Test
                Perl: a_double Properties: Example and Test
                Python: a_double Properties: Example and Test

             ad_double Binary Operators with an AD Result
            ad_double Binary Operators with an AD Result
                C++: a_double Binary Operators With AD Result: Example and Test
                Octave: a_double Binary Operators With AD Result: Example and Test
                Perl: a_double Binary Operators With AD Result: Example and Test
                Python: a_double Binary Operators With AD Result: Example and Test

             ad_double Comparison Operators
            ad_double Comparison Operators
                C++: a_double Comparison Operators: Example and Test
                Octave: a_double Comparison Operators: Example and Test
                Perl: a_double Comparison Operators: Example and Test
                Python: a_double Comparison Operators: Example and Test

             ad_double Assignment Operators
            ad_double Assignment Operators
                C++: a_double Assignment Operators: Example and Test
                Octave: a_double Assignment Operators: Example and Test
                Perl: a_double Assignment Operators: Example and Test
                Python: a_double Assignment Operators: Example and Test

             Unary Functions with AD Result
            Unary Functions with AD Result
                C++: a_double Unary Functions with AD Result: Example and Test
                Octave: a_double Unary Functions with AD Result: Example and Test
                Perl: a_double Unary Functions with AD Result: Example and Test
                Python: a_double Unary Functions with AD Result: Example and Test

             AD Conditional Assignment
            AD Conditional Assignment
                C++: a_double Conditional Assignment: Example and Test
                Octave: a_double Conditional Assignment: Example and Test
                Perl: a_double Conditional Assignment: Example and Test
                Python: a_double Conditional Assignment: Example and Test

         Cppad Swig Vectors
        Cppad Swig Vectors
            Cppad Swig Vector Constructors
             Size of a Vector
            Size of a Vector
                C++: Size of Vectors: Example and Test
                Octave: Size of Vectors: Example and Test
                Perl: Size of Vectors: Example and Test
                Python: Size of Vectors: Example and Test

             Setting and Getting Vector Elements
            Setting and Getting Vector Elements
                C++: Setting and Getting Vector Elements: Example and Test
                Octave: Setting and Getting Vector Elements: Example and Test
                Perl: Setting and Getting Vector Elements: Example and Test
                Python: Setting and Getting Vector Elements: Example and Test

         Cppad Swig AD Functions
        Cppad Swig AD Functions
            Declare Independent Variables and Start Recording
             Abort Recording
            Abort Recording
                C++: Abort Recording a_double Operations: Example and Test
                Octave: Abort Recording a_double Operations: Example and Test
                Perl: Abort Recording a_double Operations: Example and Test
                Python: Abort Recording a_double Operations: Example and Test

            Stop Current Recording and Store in an a_fun Object
             Jacobian of an AD Function
            Jacobian of an AD Function
                C++: Dense Jacobian Using AD: Example and Test
                Octave: Dense Jacobian Using AD: Example and Test
                Perl: Dense Jacobian Using AD: Example and Test
                Python: Dense Jacobian Using AD: Example and Test

             Hessian of an AD Function
            Hessian of an AD Function
                C++: Dense Hessian Using AD: Example and Test
                Octave: Dense Hessian Using AD: Example and Test
                Perl: Dense Hessian Using AD: Example and Test
                Python: Dense Hessian Using AD: Example and Test

             Forward Mode AD
            Forward Mode AD
                C++: Forward Mode AD: Example and Test
                Octave: Forward Mode AD: Example and Test
                Perl: Forward Mode AD: Example and Test
                Python: Forward Mode AD: Example and Test

             Reverse Mode AD
            Reverse Mode AD
                C++: Reverse Mode AD: Example and Test
                Octave: Reverse Mode AD: Example and Test
                Perl: Reverse Mode AD: Example and Test
                Python: Reverse Mode AD: Example and Test

             Optimize an AD Function
            Optimize an AD Function
                C++: Optimize an a_fun: Example and Test
                Octave: Optimize an a_fun: Example and Test
                Perl: Optimize an a_fun: Example and Test
                Python: Optimize an a_fun: Example and Test

             Properties of an AD Function
            Properties of an AD Function
                C++: a_fun Properties: Example and Test
                Octave: a_fun Properties: Example and Test
                Perl: a_fun Properties: Example and Test
                Python: a_fun Properties: Example and Test

         Cppad Swig Sparse Calculation
        Cppad Swig Sparse Calculation
             Sparsity Patterns
            Sparsity Patterns
                C++: Sparsity Patterns: Example and Test
                Octave: Sparsity Patterns: Example and Test
                Perl: Sparsity Patterns: Example and Test
                Python: Sparsity Patterns: Example and Test

             Sparse Matrices
            Sparse Matrices
                C++: Sparsity Patterns: Example and Test
                Octave: Sparsity Patterns: Example and Test
                Perl: Sparsity Patterns: Example and Test
                Python: Sparsity Patterns: Example and Test

             Jacobian Sparsity Patterns
            Jacobian Sparsity Patterns
                C++: Jacobian Sparsity Patterns: Example and Test
                Octave: Jacobian Sparsity Patterns: Example and Test
                Perl: Jacobian Sparsity Patterns: Example and Test
                Python: Jacobian Sparsity Patterns: Example and Test

             Hessian Sparsity Patterns
            Hessian Sparsity Patterns
                C++: Hessian Sparsity Patterns: Example and Test
                Octave: Hessian Sparsity Patterns: Example and Test
                Perl: Hessian Sparsity Patterns: Example and Test
                Python: Hessian Sparsity Patterns: Example and Test

             Computing Sparse Jacobians
            Computing Sparse Jacobians
                C++: Computing Sparse Jacobians: Example and Test
                Octave: Computing Sparse Jacobians: Example and Test
                Perl: Computing Sparse Jacobians: Example and Test
                Python: Computing Sparse Jacobians: Example and Test

             Computing Sparse Hessians
            Computing Sparse Hessians
                C++: Hessian Sparsity Patterns: Example and Test
                Octave: Hessian Sparsity Patterns: Example and Test
                Perl: Hessian Sparsity Patterns: Example and Test
                Python: Hessian Sparsity Patterns: Example and Test

         Cppad Swig Error Messaging
        Cppad Swig Error Messaging
             Exception Handling
            Exception Handling
                C++: Cppad Swig Exception Handling: Example and Test
                Octave: Cppad Swig Exception Handling: Example and Test
                Perl: Cppad Swig Exception Handling: Example and Test
                Python: Cppad Swig Exception Handling: Example and Test

         Generating Language Specific Example Files Using M4 Macros
        Generating Language Specific Example Files Using M4 Macros
            Language Specific M4 Macros
            Function and File Naming
            Comment Showing How to Generate This Output
            Language Name
            M4 Macro That Include Omhelp to Display Source Code

     Cppad Swig Changes During 2018
    Cppad Swig Changes During 2018
        Cppad Swig Changes During 2017

    Alphabetic Listing of Cross Reference Tags
    Keyword Index
    Search This Web Site
    External Internet References