NumCpp
2.1.0
A C++ implementation of the Python Numpy library
print.hpp
Go to the documentation of this file.
1
#pragma once
30
31
#include "
NumCpp/Core/Internal/StaticAsserts.hpp
"
32
#include "
NumCpp/NdArray.hpp
"
33
34
#include <iostream>
35
36
namespace
nc
37
{
38
//============================================================================
39
// Method Description:
47
template
<
typename
dtype>
48
void
print
(
const
NdArray<dtype>
& inArray)
49
{
50
STATIC_ASSERT_ARITHMETIC_OR_COMPLEX
(dtype);
51
52
std::cout << inArray;
53
}
54
}
// namespace nc
StaticAsserts.hpp
nc::print
void print(const NdArray< dtype > &inArray)
Definition:
print.hpp:48
STATIC_ASSERT_ARITHMETIC_OR_COMPLEX
#define STATIC_ASSERT_ARITHMETIC_OR_COMPLEX(dtype)
Definition:
StaticAsserts.hpp:51
nc::NdArray< dtype >
NdArray.hpp
nc
Definition:
Coordinate.hpp:45
include
NumCpp
Functions
print.hpp
Generated by
1.8.17