forked from M-Labs/nac3
lyken
ada6e95d75
It also checks for inconsistent dimensions if the input is a list. e.g., rejecting `[[1.0, 2.0], [3.0]]`. Previously it was a todo of `np_array()`.
11 lines
339 B
C++
11 lines
339 B
C++
#include <irrt/exception.hpp>
|
|
#include <irrt/int_types.hpp>
|
|
#include <irrt/list.hpp>
|
|
#include <irrt/math_util.hpp>
|
|
#include <irrt/ndarray/array.hpp>
|
|
#include <irrt/ndarray/basic.hpp>
|
|
#include <irrt/ndarray/def.hpp>
|
|
#include <irrt/ndarray/indexing.hpp>
|
|
#include <irrt/ndarray/iter.hpp>
|
|
#include <irrt/original.hpp>
|
|
#include <irrt/slice.hpp> |