col_max_idx: col_max_idx

Description Usage Arguments Value Note See Also

Description

calculate colvec max value index within limited range

Usage

1
col_max_idx(u, wlmt)

Arguments

u

u: a numeric colvec

wlmt

wlmt: limit search on colvec on indices within wlmt

Value

id an index of max value in u within wlmt w.r.t to original index

Note

cpp use index start from 0 vs r use index start from 1

in case of equal std:min/std:max take first index seen

See Also

Other matrix_minmax: col_max_val, col_min_idx, col_min_val, col_rgn_val


skm documentation built on May 1, 2019, 10:10 p.m.