NumCpp  2.1.0
A C++ implementation of the Python Numpy library
alen.hpp
Go to the documentation of this file.
1 #pragma once
30 
31 #include "NumCpp/Core/Types.hpp"
32 #include "NumCpp/NdArray.hpp"
33 
34 namespace nc
35 {
36  //============================================================================
37  // Method Description:
45  template<typename dtype>
46  uint32 alen(const NdArray<dtype>& inArray) noexcept
47  {
48  return inArray.shape().rows;
49  }
50 } // namespace nc
nc::NdArray< dtype >
nc::uint32
std::uint32_t uint32
Definition: Types.hpp:41
NdArray.hpp
nc
Definition: Coordinate.hpp:45
nc::alen
uint32 alen(const NdArray< dtype > &inArray) noexcept
Definition: alen.hpp:46
Types.hpp