 |
NumCpp
1.0
A C++ implementation of the Python Numpy library
|
Go to the documentation of this file.
48 template<
typename dtype>
49 auto proj(
const std::complex<dtype>& inValue)
65 template<
typename dtype>
68 NdArray<decltype(
nc::proj(std::complex<dtype>{0}))> returnArray(inArray.shape());
70 [](
auto& inValue) ->
auto
72 return nc::proj(inValue);
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:38
auto proj(const std::complex< dtype > &inValue)
Definition: proj.hpp:49
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:75
auto proj(const NdArray< std::complex< dtype >> &inArray)
Definition: proj.hpp:66
Definition: Coordinate.hpp:45
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction) noexcept
Definition: StlAlgorithms.hpp:703
iterator begin() noexcept
Definition: NdArrayCore.hpp:1091