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.

Copy semantic

inline jlarray(const self_type&)

The copy constructor.

inline self_type &operator=(const self_type&)

The assignment operator.

Extended copy semantic

template<class E>
inline jlarray(const xexpression<E> &e)

The extended copy constructor.

template<class E>
inline auto operator=(const xexpression<E> &e) -> self_type&

The extended assignment operator.