Stan Math Library  2.20.0
reverse mode automatic differentiation
Public Member Functions | Public Attributes | List of all members
stan::math::internal::mdivide_left_vd_vari< R1, C1, R2, C2 > Class Template Reference

#include <mdivide_left.hpp>

Inheritance diagram for stan::math::internal::mdivide_left_vd_vari< R1, C1, R2, C2 >:
stan::math::vari

Public Member Functions

 mdivide_left_vd_vari (const Eigen::Matrix< var, R1, C1 > &A, const Eigen::Matrix< double, R2, C2 > &B)
 
virtual void chain ()
 Apply the chain rule to this variable based on the variables on which it depends. More...
 
- Public Member Functions inherited from stan::math::vari
 vari (double x)
 Construct a variable implementation from a value. More...
 
 vari (double x, bool stacked)
 
virtual ~vari ()
 Throw an illegal argument exception. More...
 
void init_dependent ()
 Initialize the adjoint for this (dependent) variable to 1. More...
 
void set_zero_adjoint ()
 Set the adjoint value of this variable to 0. More...
 

Public Attributes

int M_
 
int N_
 
double * A_
 
double * C_
 
vari ** variRefA_
 
vari ** variRefC_
 
- Public Attributes inherited from stan::math::vari
const double val_
 The value of this variable. More...
 
double adj_
 The adjoint of this variable, which is the partial derivative of this variable with respect to the root variable. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from stan::math::vari
static void * operator new (size_t nbytes)
 Allocate memory from the underlying memory pool. More...
 
static void operator delete (void *)
 Delete a pointer from the underlying memory pool. More...
 

Detailed Description

template<int R1, int C1, int R2, int C2>
class stan::math::internal::mdivide_left_vd_vari< R1, C1, R2, C2 >

Definition at line 196 of file mdivide_left.hpp.

Constructor & Destructor Documentation

◆ mdivide_left_vd_vari()

template<int R1, int C1, int R2, int C2>
stan::math::internal::mdivide_left_vd_vari< R1, C1, R2, C2 >::mdivide_left_vd_vari ( const Eigen::Matrix< var, R1, C1 > &  A,
const Eigen::Matrix< double, R2, C2 > &  B 
)
inline

Definition at line 205 of file mdivide_left.hpp.

Member Function Documentation

◆ chain()

template<int R1, int C1, int R2, int C2>
virtual void stan::math::internal::mdivide_left_vd_vari< R1, C1, R2, C2 >::chain ( )
inlinevirtual

Apply the chain rule to this variable based on the variables on which it depends.

The base implementation in this class is a no-op.

Reimplemented from stan::math::vari.

Definition at line 246 of file mdivide_left.hpp.

Member Data Documentation

◆ A_

template<int R1, int C1, int R2, int C2>
double* stan::math::internal::mdivide_left_vd_vari< R1, C1, R2, C2 >::A_

Definition at line 200 of file mdivide_left.hpp.

◆ C_

template<int R1, int C1, int R2, int C2>
double* stan::math::internal::mdivide_left_vd_vari< R1, C1, R2, C2 >::C_

Definition at line 201 of file mdivide_left.hpp.

◆ M_

template<int R1, int C1, int R2, int C2>
int stan::math::internal::mdivide_left_vd_vari< R1, C1, R2, C2 >::M_

Definition at line 198 of file mdivide_left.hpp.

◆ N_

template<int R1, int C1, int R2, int C2>
int stan::math::internal::mdivide_left_vd_vari< R1, C1, R2, C2 >::N_

Definition at line 199 of file mdivide_left.hpp.

◆ variRefA_

template<int R1, int C1, int R2, int C2>
vari** stan::math::internal::mdivide_left_vd_vari< R1, C1, R2, C2 >::variRefA_

Definition at line 202 of file mdivide_left.hpp.

◆ variRefC_

template<int R1, int C1, int R2, int C2>
vari** stan::math::internal::mdivide_left_vd_vari< R1, C1, R2, C2 >::variRefC_

Definition at line 203 of file mdivide_left.hpp.


The documentation for this class was generated from the following file:

     [ Stan Home Page ] © 2011–2018, Stan Development Team.