Tensor<T>.MapInPlace Method

Applies a function to the elements of a tensor in-place.

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0
C#
protected virtual Tensor<T> MapInPlace(
	Func<T, T> function
)

Parameters

function  Func<T, T>
A delegate that represents a function of one variable.

Return Value

Tensor<T>
The tensor.

See Also