NumCpp
1.0
A C++ implementation of the Python Numpy library
median.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>
median
(
const
NdArray<dtype>
& inArray,
Axis
inAxis =
Axis::NONE
)
50
{
51
return
inArray.
median
(inAxis);
52
}
53
}
nc::Axis::NONE
@ NONE
nc::median
NdArray< dtype > median(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition:
median.hpp:49
nc::NdArray< dtype >
NdArray.hpp
nc::Axis
Axis
Enum To describe an axis.
Definition:
Types.hpp:47
nc
Definition:
Coordinate.hpp:45
Types.hpp
nc::NdArray::median
NdArray< dtype > median(Axis inAxis=Axis::NONE) const
Definition:
NdArrayCore.hpp:3085
include
NumCpp
Functions
median.hpp
Generated by
1.8.17