isVectorized: Checks whether the given function accepts "vectorized" input.

View source: R/isVectorized.R

isVectorizedR Documentation

Checks whether the given function accepts “vectorized” input.

Description

Checks whether the given function accepts “vectorized” input.

Usage

isVectorized(fn)

Arguments

fn

[smoof_function]
Objective function.

Value

[logical(1)] TRUE if the function accepts vectorized input, FALSE otherwise.


jakobbossek/smoof documentation built on Feb. 17, 2024, 2:23 a.m.