nearest Reference

Nearest neighbor sample a matrix

nearest

Examples

Constructors

  • { arguments={}, inlets={sampler, coord} }

Inlets

coord

Typefloat

normalized sample coordinate [0, 1]

sampler

Typefloat

input matrix to sample

Attributes

boundmode [enum] (default: wrap)

g/s(set)

Sampling boundary condition

Possible values:

'wrap'
'clamp'
'mirror'

Common Box Attributes

See Also

Name Description
nearestpix
sample
samplepix