DataFrame<R, C>.ApplyWith<T> Method

Applies a matrix function to this data frame and another and returns the result as a data frame.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public DataFrame<R, C> ApplyWith<T>(
	Func<Matrix<T>, Matrix<T>, Matrix<T>> function,
	DataFrame<R, C> right
)

Parameters

function  Func<Matrix<T>, Matrix<T>, Matrix<T>>
A function that maps to matrices with element type T to another matrix.
right  DataFrame<R, C>
The second argument of the function.

Type Parameters

T
The element type of the matrix function.

Return Value

DataFrame<R, C>
A new data frame which is the result of applying function to this data frame and right converted to a matrix with element type T.

See Also