NumCpp  1.0
A C++ implementation of the Python Numpy library
Functions/Shape.hpp
Go to the documentation of this file.
1 #pragma once
30 
31 #include "NumCpp/NdArray.hpp"
32 
33 namespace nc
34 {
35  //============================================================================
36  // Method Description:
44  template<typename dtype>
45  Shape shape(const NdArray<dtype>& inArray) noexcept
46  {
47  return inArray.shape();
48  }
49 }
nc::shape
Shape shape(const NdArray< dtype > &inArray) noexcept
Definition: Functions/Shape.hpp:45
nc::NdArray< dtype >
NdArray.hpp
nc::Shape
A Shape Class for NdArrays.
Definition: Core/Shape.hpp:41
nc
Definition: Coordinate.hpp:45