NumCpp  1.0
A C++ implementation of the Python Numpy library
empty_like.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:
46  template<typename dtype>
48  {
49  return NdArray<dtype>(inArray.shape());
50  }
51 }
nc::NdArray::shape
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4296
nc::NdArray< dtype >
NdArray.hpp
nc::empty_like
NdArray< dtype > empty_like(const NdArray< dtype > &inArray)
Definition: empty_like.hpp:47
nc
Definition: Coordinate.hpp:45