jlarray¶
-
template<class T>
class jlarray : public xt::jlcontainer<jlarray<T>>, public xcontainer_semantic<jlarray<T>>¶ Constructors
-
inline jlarray()¶
Allocates a jlarray that holds 1 element.
-
inline jlarray(const value_type &t)¶
Allocates a jlarray with a nested initializer list.
-
inline explicit jlarray(const shape_type &shape)¶
Allocates an uninitialized jlarray with the specified shape and layout.
- Parameters
shape – the shape of the jlarray
-
inline explicit jlarray(const shape_type &shape, const_reference value)¶
Allocates a jlarray with the specified shape and layout.
Elements are initialized to the specified value.
- Parameters
shape – the shape of the jlarray
value – the value of the elements
-
inline jlarray(jl_array_t *jl)¶
Allocates a jlarray that holds 1 element.
-
inline jlarray()¶