Unique Numbers and Multiplicity VI

Owning Palette: Polynomial VIs

Requires: Full Development System

Obtains all the unique numbers from the input array and determines the multiplicity of each unique number. Wire data to the Numbers input to determine the polymorphic instance to use or manually select the instance.

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

Unique Numbers and Multiplicity (DBL)

Numbers is an array of real numbers.
Unique Numbers returns all the unique numbers in Numbers. The nth element of Unique Numbers has multiplicity given by the nth element of Multiplicity.
Multiplicity returns the number of occurrences of each unique number in Numbers. The nth element of Multiplicity corresponds to the nth element of Unique Numbers.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Unique Numbers and Multiplicity (CDB)

Complex Numbers is an array of complex numbers.
Unique Complex Numbers returns all the unique numbers in Complex Numbers. The nth element of Unique Complex Numbers has multiplicity given by the nth element of Multiplicity.
Multiplicity returns the number of occurrences of each unique number in Complex Numbers. The nth element of Multiplicity corresponds to the nth element of Unique Complex Numbers.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.