Stan Math Library
5.0.0
Automatic Differentiation
▼
Stan Math Library
Overview
▼
Contributor Guides
Developer Guide
Adding New Functions
Adding New Distributions
Common Pitfalls
Using requires for general overloads
Reverse Mode Types
Testing Automatic Differentiation Functions
Testing New Distributions
Add New Functions With Known Gradients
Adding New OpenCL Functions
Windows Development Tips
►
Internal Docs
►
Parallelism
(External Link) Stan Language Docs
(External Link) Stan Discourse
►
Stan Math Library Docs
►
Class List
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
◆
block()
template<typename T >
auto
stan::math::vari_cl_base
< T >::block
(
int
row
,
int
col
,
int
rows
,
int
cols
)
inline
inherited
Returns a view into a block of matrix.
Parameters
row
starting row of the block
col
starting column of the block
rows
number of rows in the block
cols
number of columns in the block
Returns
block
Definition at line
71
of file
vari.hpp
.
stan
math
vari_view< T, require_kernel_expression_lhs_t< T > >
[
Stan Home Page
]
© 2011–2019, Stan Development Team.