NumCpp  2.18.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
Loading...
Searching...
No Matches
astype.hpp
Go to the documentation of this file.
1
28#pragma once
29
31#include "NumCpp/NdArray.hpp"
32
33namespace nc
34{
35 //============================================================================
36 // Method Description:
42 template<typename dtypeOut = double, typename dtype>
44 {
45 return inArray.template astype<dtypeOut>();
46 }
47} // namespace nc
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition NdArrayCore.hpp:135
Definition Cartesian.hpp:39
NdArray< dtypeOut > astype(const NdArray< dtype > inArray)
Definition astype.hpp:43