Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::scalar_seq_view< C, require_stan_scalar_t< C > > Class Template Reference

Detailed Description

template<typename C>
class stan::scalar_seq_view< C, require_stan_scalar_t< C > >

This specialization handles wrapping a scalar as if it were a sequence.

Template Parameters
Tthe scalar type

Definition at line 153 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< 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_
 

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