Public Types | Public Member Functions | Private Attributes | List of all members
common_iterator Class Reference

#include <numpy.h>

Public Types

using container_type = std::vector< ssize_t >
 
using size_type = container_type::size_type
 
using value_type = container_type::value_type
 

Public Member Functions

 common_iterator ()
 
 common_iterator (void *ptr, const container_type &strides, const container_type &shape)
 
void * data () const
 
void increment (size_type dim)
 

Private Attributes

container_type m_strides
 
char * p_ptr {nullptr}
 

Detailed Description

Definition at line 1681 of file numpy.h.

Member Typedef Documentation

◆ container_type

Definition at line 1683 of file numpy.h.

◆ size_type

using common_iterator::size_type = container_type::size_type

Definition at line 1685 of file numpy.h.

◆ value_type

using common_iterator::value_type = container_type::value_type

Definition at line 1684 of file numpy.h.

Constructor & Destructor Documentation

◆ common_iterator() [1/2]

common_iterator::common_iterator ( )
inline

Definition at line 1687 of file numpy.h.

◆ common_iterator() [2/2]

common_iterator::common_iterator ( void *  ptr,
const container_type strides,
const container_type shape 
)
inline

Definition at line 1689 of file numpy.h.

Member Function Documentation

◆ data()

void* common_iterator::data ( ) const
inline

Definition at line 1701 of file numpy.h.

◆ increment()

void common_iterator::increment ( size_type  dim)
inline

Definition at line 1699 of file numpy.h.

Member Data Documentation

◆ m_strides

container_type common_iterator::m_strides
private

Definition at line 1705 of file numpy.h.

◆ p_ptr

char* common_iterator::p_ptr {nullptr}
private

Definition at line 1704 of file numpy.h.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:10:00