Skip to main content

interp_outer

Function interp_outer 

Source
fn interp_outer(
    positional: &[RValue],
    named: &[(String, RValue)],
    context: &BuiltinContext<'_>,
) -> Result<RValue, RError>
Expand description

Outer product of two vectors, applying FUN to each pair of elements.

@param X first vector @param Y second vector @param FUN function to apply (default: “*”) @return matrix with dim = c(length(X), length(Y))