NumCpp  2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
print.hpp
Go to the documentation of this file.
1
28#pragma once
29
30#include <iostream>
31
33#include "NumCpp/NdArray.hpp"
34
35namespace nc
36{
37 //============================================================================
38 // Method Description:
43 template<typename dtype>
44 void print(const NdArray<dtype>& inArray)
45 {
47
48 std::cout << inArray;
49 }
50} // namespace nc
#define STATIC_ASSERT_ARITHMETIC_OR_COMPLEX(dtype)
Definition: StaticAsserts.hpp:56
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:139
Definition: Cartesian.hpp:40
void print(const NdArray< dtype > &inArray)
Definition: print.hpp:44