NumCpp
2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
fromiter.hpp
Go to the documentation of this file.
1
28
#pragma once
29
30
#include <iterator>
31
#include <vector>
32
33
#include "
NumCpp/NdArray.hpp
"
34
35
namespace
nc
36
{
37
//============================================================================
38
// Method Description:
47
template
<
typename
dtype,
typename
Iter>
48
NdArray<dtype>
fromiter
(Iter inBegin, Iter inEnd)
49
{
50
return
NdArray<dtype>
(inBegin, inEnd);
51
}
52
}
// namespace nc
NdArray.hpp
nc::NdArray
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition:
NdArrayCore.hpp:139
nc
Definition:
Cartesian.hpp:40
nc::fromiter
NdArray< dtype > fromiter(Iter inBegin, Iter inEnd)
Definition:
fromiter.hpp:48
include
NumCpp
Functions
fromiter.hpp
Generated by
1.9.4