MLX
 
Loading...
Searching...
No Matches
pocketfft::detail::arr_info Class Reference

#include <pocketfft.h>

Inheritance diagram for pocketfft::detail::arr_info:
pocketfft::detail::cndarr< T > pocketfft::detail::ndarr< T >

Public Member Functions

 arr_info (const shape_t &shape_, const stride_t &stride_)
 
size_t ndim () const
 
size_t size () const
 
const shape_tshape () const
 
size_t shape (size_t i) const
 
const stride_tstride () const
 
const ptrdiff_t & stride (size_t i) const
 

Protected Attributes

shape_t shp
 
stride_t str
 

Constructor & Destructor Documentation

◆ arr_info()

pocketfft::detail::arr_info::arr_info ( const shape_t & shape_,
const stride_t & stride_ )
inline

Member Function Documentation

◆ ndim()

size_t pocketfft::detail::arr_info::ndim ( ) const
inline

◆ shape() [1/2]

const shape_t & pocketfft::detail::arr_info::shape ( ) const
inline

◆ shape() [2/2]

size_t pocketfft::detail::arr_info::shape ( size_t i) const
inline

◆ size()

size_t pocketfft::detail::arr_info::size ( ) const
inline

◆ stride() [1/2]

const stride_t & pocketfft::detail::arr_info::stride ( ) const
inline

◆ stride() [2/2]

const ptrdiff_t & pocketfft::detail::arr_info::stride ( size_t i) const
inline

Member Data Documentation

◆ shp

shape_t pocketfft::detail::arr_info::shp
protected

◆ str

stride_t pocketfft::detail::arr_info::str
protected

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