num_leq_sorted_R: R implementation of num_leq_sorted

Description Usage Arguments Value Examples

View source: R/C_interfaces.R

Description

This function is identical to num_leq_sorted except that a) the input vectors need to be strictly increasing, and b) there is no numerical noise tolerance support. It exists solely for testing the C implementation.

Usage

1

Arguments

a

a strictly increasing vector of numbers.

b

a strictly increasing vector of numbers.

Value

An integer vector of same length as a.

Examples

1
num_leq_sorted_R(c(-3, 1, 3, 5, 7), c(0, 1, 4, 9, 16))

andreas50/uts documentation built on April 8, 2021, 10:03 a.m.