30#include <initializer_list>
52 template<
typename dtype>
57 typename std::initializer_list<NdArray<dtype>>::iterator iter = inList.begin();
59 if (inList.size() == 0)
63 else if (inList.size() == 1)
70 for (; iter < inList.end(); ++iter)
72 returnArray =
dot(returnArray, *iter);
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:37
#define STATIC_ASSERT_ARITHMETIC_OR_COMPLEX(dtype)
Definition: StaticAsserts.hpp:56
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:139
Definition: cholesky.hpp:41
NdArray< dtype > multi_dot(const std::initializer_list< NdArray< dtype > > &inList)
Definition: multi_dot.hpp:53
NdArray< dtype > dot(const NdArray< dtype > &inArray1, const NdArray< dtype > &inArray2)
Definition: dot.hpp:47