byRow#
- swordfish.function.byRow()#
If func is a unary function, apply the specified function to each row of X; if func is a binary function, apply func(Xi, Yi) to each row of X and Y.
- Parameters:
- Returns:
If func is an aggregate function, byRow returns a vector of the same size as the number of rows in X/Y. If func is a vector function, byRow returns a result with the same form and dimension as X/Y.
- Return type: