NumCpp
1.0
A C++ implementation of the Python Numpy library
fromiter.hpp
Go to the documentation of this file.
1
#pragma once
30
31
#include "
NumCpp/NdArray.hpp
"
32
33
#include <iterator>
34
#include <vector>
35
36
namespace
nc
37
{
38
//============================================================================
39
// Method Description:
49
template
<
typename
dtype,
typename
Iter>
50
NdArray<dtype>
fromiter
(Iter inBegin, Iter inEnd)
51
{
52
return
NdArray<dtype>
(inBegin, inEnd);
53
}
54
}
nc::NdArray< dtype >
NdArray.hpp
nc::fromiter
NdArray< dtype > fromiter(Iter inBegin, Iter inEnd)
Definition:
fromiter.hpp:50
nc
Definition:
Coordinate.hpp:45
include
NumCpp
Functions
fromiter.hpp
Generated by
1.8.17