Public Types | Static Public Member Functions | Static Public Attributes | List of all members
array_info< std::array< T, N > > Struct Template Reference

#include <numpy.h>

Inheritance diagram for array_info< std::array< T, N > >:
Inheritance graph
[legend]

Public Types

using type = typename array_info< T >::type
 

Static Public Member Functions

static void append_extents (list &shape)
 

Static Public Attributes

static constexpr size_t extent = N
 
static constexpr auto extents
 
static constexpr bool is_array = true
 
static constexpr bool is_empty = (N == 0) || array_info<T>::is_empty
 

Detailed Description

template<typename T, size_t N>
struct array_info< std::array< T, N > >

Definition at line 340 of file numpy.h.

Member Typedef Documentation

◆ type

template<typename T , size_t N>
using array_info< std::array< T, N > >::type = typename array_info<T>::type

Definition at line 341 of file numpy.h.

Member Function Documentation

◆ append_extents()

template<typename T , size_t N>
static void array_info< std::array< T, N > >::append_extents ( list shape)
inlinestatic

Definition at line 347 of file numpy.h.

Member Data Documentation

◆ extent

template<typename T , size_t N>
constexpr size_t array_info< std::array< T, N > >::extent = N
staticconstexpr

Definition at line 344 of file numpy.h.

◆ extents

template<typename T , size_t N>
constexpr auto array_info< std::array< T, N > >::extents
staticconstexpr
Initial value:
concat(const_name<N>(), array_info<T>::extents), const_name<N>())

Definition at line 352 of file numpy.h.

◆ is_array

template<typename T , size_t N>
constexpr bool array_info< std::array< T, N > >::is_array = true
staticconstexpr

Definition at line 342 of file numpy.h.

◆ is_empty

template<typename T , size_t N>
constexpr bool array_info< std::array< T, N > >::is_empty = (N == 0) || array_info<T>::is_empty
staticconstexpr

Definition at line 343 of file numpy.h.


The documentation for this struct was generated from the following file:
array_info_scalar::is_array
static constexpr bool is_array
Definition: numpy.h:329
concat
constexpr descr< 0 > concat()
Definition: descr.h:139
array_info
Definition: numpy.h:338


gtsam
Author(s):
autogenerated on Tue Jun 25 2024 03:08:11