map

ComplexTensor map(Function1<ComplexDouble, ComplexDouble> lambda)

Apply a mapping function to each element.

Return

a newly mapped tensor.

Parameters

lambda

mapping function.