NumCpp  2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
nanvar.hpp
Go to the documentation of this file.
1
28#pragma once
29
31#include "NumCpp/Core/Types.hpp"
34#include "NumCpp/NdArray.hpp"
35
36namespace nc
37{
38 //============================================================================
39 // Method Description:
49 template<typename dtype>
51 {
53
54 return square(nanstdev(inArray, inAxis));
55 }
56} // namespace nc
#define STATIC_ASSERT_FLOAT(dtype)
Definition: StaticAsserts.hpp:50
Definition: Cartesian.hpp:40
NdArray< double > nanstdev(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: nanstdev.hpp:54
constexpr dtype square(dtype inValue) noexcept
Definition: square.hpp:47
Axis
Enum To describe an axis.
Definition: Enums.hpp:36
NdArray< double > nanvar(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: nanvar.hpp:50