Template Function librapid::emptyLike#

Function Documentation#

template<typename T>
auto librapid::emptyLike(const T &other)#

Create a new array with the same type and shape as the input array, but without initializing any of the data.

Template Parameters

T – Input array type

Parameters

other – Input array

Returns

New array