map

Matrix map(Function1<Double, Number> lambda)

Same as Tensor.map but returns Matrix.

Return

a newly mapped matrix.

Parameters

lambda

mapping function.