![]()  | 
  
    Stan Math Library
    5.1.0
    
   Automatic Differentiation 
   | 
   
      
  | 
  inline | 
Adds all read and write events on any matrices used by nested expressions to a list and clears them from those matrices.
| [out] | events | List of all events. | 
Definition at line 269 of file indexing.hpp.