NumCpp  2.14.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
num2str.hpp
Go to the documentation of this file.
1
28#pragma once
29
30#include <string>
31
33
34namespace nc::utils
35{
36 //============================================================================
43 template<typename dtype>
44 std::string num2str(dtype inNumber)
45 {
47
48 return std::to_string(inNumber);
49 }
50} // namespace nc::utils
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition StaticAsserts.hpp:39
Definition Utils/cube.hpp:33
std::string num2str(dtype inNumber)
Definition num2str.hpp:44
NdArray< dtype > arange(dtype inStart, dtype inStop, dtype inStep=1)
Definition arange.hpp:59