Template Function librapid::onesLike#

Function Documentation#

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

Create an Array filled with ones, with the same type and shape as the input array.

Template Parameters

T – Input array type

Parameters

other – Input array

Returns

New array