![]() |
Stan Math Library
5.2.0
Automatic Differentiation
|
This specialization handles wrapping a scalar as if it were a sequence.
| T | the scalar type |
Definition at line 154 of file scalar_seq_view.hpp.
#include <scalar_seq_view.hpp>
Public Member Functions | |
| scalar_seq_view (const C &t) noexcept | |
| decltype(auto) | operator[] (int) const noexcept |
| template<typename T = C, require_st_arithmetic< T > * = nullptr> | |
| decltype(auto) | val (int) const noexcept |
| template<typename T = C, require_st_autodiff_scalar< T > * = nullptr> | |
| decltype(auto) | val (int) const noexcept |
| const auto * | data () const noexcept |
| auto * | data () noexcept |
Static Public Member Functions | |
| static constexpr auto | size () |
Private Attributes | |
| std::decay_t< C > | t_ |