The method ReduceSize reduces the size of the descriptor set to Size descriptors. All spectral descriptors having an index greater than Size will be deleted. The function returns the following error codes:
0 ... everything is OK
-1 ... Size must be between 1 and NumSpdcs-1
-2 ... descriptor set is empty
|