NumCpp
2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
fromiter.hpp
Go to the documentation of this file.
1
#pragma once
29
30
#include "
NumCpp/NdArray.hpp
"
31
32
#include <iterator>
33
#include <vector>
34
35
namespace
nc
36
{
37
//============================================================================
38
// Method Description:
48
template
<
typename
dtype,
typename
Iter>
49
NdArray<dtype>
fromiter
(Iter inBegin, Iter inEnd)
50
{
51
return
NdArray<dtype>
(inBegin, inEnd);
52
}
53
}
// namespace nc
nc::NdArray< dtype >
NdArray.hpp
nc::fromiter
NdArray< dtype > fromiter(Iter inBegin, Iter inEnd)
Definition:
fromiter.hpp:49
nc
Definition:
Coordinate.hpp:44
include
NumCpp
Functions
fromiter.hpp
Generated by
1.8.17