30 #include <initializer_list>
54 template<
typename dtype>
59 typename std::initializer_list<NdArray<dtype>>::iterator iter = inList.begin();
61 if (inList.size() == 0)
65 else if (inList.size() == 1)
72 for (; iter < inList.end(); ++iter)
74 returnArray =
dot(returnArray, *iter);
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:36
#define STATIC_ASSERT_ARITHMETIC_OR_COMPLEX(dtype)
Definition: StaticAsserts.hpp:49
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:72
NdArray< dtype > multi_dot(const std::initializer_list< NdArray< dtype >> &inList)
Definition: multi_dot.hpp:55
Definition: Coordinate.hpp:45
NdArray< dtype > dot(const NdArray< dtype > &inArray1, const NdArray< dtype > &inArray2)
Definition: dot.hpp:47