 |
NumCpp
1.0
A C++ implementation of the Python Numpy library
|
Go to the documentation of this file.
48 template<
typename dtype>
53 return std::complex<dtype>(inReal);
65 template<
typename dtype>
70 return std::complex<dtype>(inReal, inImag);
81 template<
typename dtype>
86 [](dtype
real) ->
auto
88 return nc::complex(real);
103 template<
typename dtype>
115 return nc::complex(real, imag);
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4296
auto complex(dtype inReal)
Definition: complex.hpp:49
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:38
auto imag(const std::complex< dtype > &inValue)
Definition: imag.hpp:50
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1491
Definition: Coordinate.hpp:45
auto real(const std::complex< dtype > &inValue)
Definition: real.hpp:51
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:37
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction) noexcept
Definition: StlAlgorithms.hpp:703
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1147
iterator begin() noexcept
Definition: NdArrayCore.hpp:1091