NumCpp  2.1.0
A C++ implementation of the Python Numpy library
nans_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:
44  template<typename dtype>
46  {
47  NdArray<double> returnArray(inArray.shape());
48  returnArray.nans();
49  return returnArray;
50  }
51 } // namespace nc
nc::NdArray::shape
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4312
nc::NdArray::nans
NdArray< dtype > & nans() noexcept
Definition: NdArrayCore.hpp:3193
nc::NdArray< double >
NdArray.hpp
nc::nans_like
NdArray< double > nans_like(const NdArray< dtype > &inArray)
Definition: nans_like.hpp:45
nc
Definition: Coordinate.hpp:45