Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T > Class Template Reference

#include <cbind.h>

Inheritance diagram for Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >:
Collaboration diagram for Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >:

Public Types

typedef cbind_storage_type< RTYPE >::type stored_type
Public Types inherited from Rcpp::sugar::cbind_impl::BindableExpression< RTYPE, ContainerBindable< RTYPE, T > >
typedef cbind_storage_type< RTYPE >::type stored_type

Public Member Functions

 ContainerBindable (const Rcpp::Matrix< RTYPE > &vec_)
 ContainerBindable (const Rcpp::Vector< RTYPE > &vec_)
template<typename S>
 ContainerBindable (const BindableExpression< RTYPE, S > &e)
R_xlen_t size () const
R_xlen_t nrow () const
R_xlen_t ncol () const
stored_type operator[] (R_xlen_t i) const
stored_type operator() (R_xlen_t i, R_xlen_t j) const
Public Member Functions inherited from Rcpp::sugar::cbind_impl::BindableExpression< RTYPE, ContainerBindable< RTYPE, T > >
stored_type operator[] (R_xlen_t i) const
stored_type operator() (R_xlen_t i, R_xlen_t j) const
R_xlen_t size () const
R_xlen_t nrow () const
R_xlen_t ncol () const
 operator ContainerBindable< RTYPE, T > & ()
 operator const ContainerBindable< RTYPE, T > & () const

Private Attributes

vec
R_xlen_t len
R_xlen_t nr
R_xlen_t nc

Detailed Description

template<int RTYPE, typename T>
class Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >

Definition at line 82 of file cbind.h.

Member Typedef Documentation

◆ stored_type

template<int RTYPE, typename T>
typedef cbind_storage_type<RTYPE>::type Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::stored_type

Definition at line 85 of file cbind.h.

Constructor & Destructor Documentation

◆ ContainerBindable() [1/3]

template<int RTYPE, typename T>
Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::ContainerBindable ( const Rcpp::Matrix< RTYPE > & vec_)
inline

Definition at line 92 of file cbind.h.

References len, nc, ncol(), nr, nrow(), and vec.

Here is the call graph for this function:

◆ ContainerBindable() [2/3]

template<int RTYPE, typename T>
Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::ContainerBindable ( const Rcpp::Vector< RTYPE > & vec_)
inline

Definition at line 97 of file cbind.h.

References len, nc, nr, size(), and vec.

Here is the call graph for this function:

◆ ContainerBindable() [3/3]

template<int RTYPE, typename T>
template<typename S>
Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::ContainerBindable ( const BindableExpression< RTYPE, S > & e)
inline

Definition at line 103 of file cbind.h.

References len, nc, ncol(), nr, nrow(), size(), and vec.

Here is the call graph for this function:

Member Function Documentation

◆ ncol()

template<int RTYPE, typename T>
R_xlen_t Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::ncol ( ) const
inline

Definition at line 116 of file cbind.h.

References nc.

Referenced by ContainerBindable(), and ContainerBindable().

◆ nrow()

template<int RTYPE, typename T>
R_xlen_t Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::nrow ( ) const
inline

Definition at line 114 of file cbind.h.

References nr.

Referenced by ContainerBindable(), and ContainerBindable().

◆ operator()()

template<int RTYPE, typename T>
stored_type Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::operator() ( R_xlen_t i,
R_xlen_t j ) const
inline

Definition at line 122 of file cbind.h.

References nr, and vec.

◆ operator[]()

template<int RTYPE, typename T>
stored_type Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::operator[] ( R_xlen_t i) const
inline

Definition at line 118 of file cbind.h.

References vec.

◆ size()

template<int RTYPE, typename T>
R_xlen_t Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::size ( ) const
inline

Definition at line 112 of file cbind.h.

References len.

Referenced by ContainerBindable(), and ContainerBindable().

Member Data Documentation

◆ len

template<int RTYPE, typename T>
R_xlen_t Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::len
private

Definition at line 89 of file cbind.h.

Referenced by ContainerBindable(), ContainerBindable(), ContainerBindable(), and size().

◆ nc

template<int RTYPE, typename T>
R_xlen_t Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::nc
private

Definition at line 89 of file cbind.h.

Referenced by ContainerBindable(), ContainerBindable(), ContainerBindable(), and ncol().

◆ nr

template<int RTYPE, typename T>
R_xlen_t Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::nr
private

Definition at line 89 of file cbind.h.

Referenced by ContainerBindable(), ContainerBindable(), ContainerBindable(), nrow(), and operator()().

◆ vec

template<int RTYPE, typename T>
T Rcpp::sugar::cbind_impl::ContainerBindable< RTYPE, T >::vec
private

The documentation for this class was generated from the following file:
  • inst/include/Rcpp/sugar/functions/cbind.h