NumCpp
1.0
A C++ implementation of the Python Numpy library
resizeSlow.hpp
Go to the documentation of this file.
1
#pragma once
30
31
#include "
NumCpp/Core/Shape.hpp
"
32
#include "
NumCpp/Core/Types.hpp
"
33
#include "
NumCpp/NdArray.hpp
"
34
35
namespace
nc
36
{
37
//============================================================================
38
// Method Description:
53
template
<
typename
dtype>
54
NdArray<dtype>
&
resizeSlow
(
NdArray<dtype>
& inArray,
uint32
inNumRows,
uint32
inNumCols)
55
{
56
inArray.
resizeSlow
(inNumRows, inNumCols);
57
return
inArray;
58
}
59
60
//============================================================================
61
// Method Description:
75
template
<
typename
dtype>
76
NdArray<dtype>
&
resizeSlow
(
NdArray<dtype>
& inArray,
const
Shape
& inNewShape)
77
{
78
inArray.
resizeSlow
(inNewShape);
79
return
inArray;
80
}
81
}
nc::resizeSlow
NdArray< dtype > & resizeSlow(NdArray< dtype > &inArray, uint32 inNumRows, uint32 inNumCols)
Definition:
resizeSlow.hpp:54
nc::NdArray< dtype >
nc::uint32
std::uint32_t uint32
Definition:
Types.hpp:41
NdArray.hpp
nc::Shape
A Shape Class for NdArrays.
Definition:
Core/Shape.hpp:41
Shape.hpp
nc
Definition:
Coordinate.hpp:45
Types.hpp
nc::NdArray::resizeSlow
NdArray< dtype > & resizeSlow(uint32 inNumRows, uint32 inNumCols)
Definition:
NdArrayCore.hpp:4201
include
NumCpp
Functions
resizeSlow.hpp
Generated by
1.8.17