NumCpp
1.0
A C++ implementation of the Python Numpy library
left_shift.hpp
Go to the documentation of this file.
1
#pragma once
30
31
#include "
NumCpp/Core/Types.hpp
"
32
#include "
NumCpp/NdArray.hpp
"
33
34
namespace
nc
35
{
36
//============================================================================
37
// Method Description:
48
template
<
typename
dtype>
49
NdArray<dtype>
left_shift
(
const
NdArray<dtype>
& inArray,
uint8
inNumBits)
50
{
51
return
inArray << inNumBits;
52
}
53
}
nc::uint8
std::uint8_t uint8
Definition:
Types.hpp:43
nc::NdArray< dtype >
NdArray.hpp
nc
Definition:
Coordinate.hpp:45
nc::left_shift
NdArray< dtype > left_shift(const NdArray< dtype > &inArray, uint8 inNumBits)
Definition:
left_shift.hpp:49
Types.hpp
include
NumCpp
Functions
left_shift.hpp
Generated by
1.8.17