Data Frame.Apply<R, C, T> Method
Applies the specified matrix function to two data frames and returns the result.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A new data frame that is the result of applying function to left and right converted to matrices with element type T.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static DataFrame<R, C> Apply<R, C, T>(
Func<Matrix<T>, Matrix<T>, Matrix<T>> function,
DataFrame<R, C> left,
DataFrame<R, C> right
)
Parameters
- function Func<Matrix<T>, Matrix<T>, Matrix<T>>
- A function that maps two matrices with element type T to another matrix.
- left DataFrame<R, C>
- The data frame that provides the first argument to function.
- right DataFrame<R, C>
- The data frame that provides the second argument to function.
Type Parameters
- R
- The element type of the row index of the data frames.
- C
- The element type of the column index of the data frames.
- T
- The element type of the matrix function.
Return Value
DataFrame<R, C>A new data frame that is the result of applying function to left and right converted to matrices with element type T.