iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

ISCIListUtilProvider

@protocol ISCIListUtilProvider

Defines interface with SciListUtil methods.

  • Finds the maximum value of the array in specified bounds.

    Declaration

    Objective-C

    - (char)maxChar:(const char *)array
         startIndex:(NSInteger)startIndex
           endIndex:(NSInteger)endIndex;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    Return Value

    The maximum value of array.

  • Finds the minimum value of the array in specified bounds.

    Declaration

    Objective-C

    - (char)minChar:(const char *)array
         startIndex:(NSInteger)startIndex
           endIndex:(NSInteger)endIndex;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    Return Value

    The minimum value of array.

  • Finds the minimum and maximum of the array in specified bounds.

    Declaration

    Objective-C

    - (void)minMaxChar:(const char *)array
            startIndex:(NSInteger)startIndex
              endIndex:(NSInteger)endIndex
                 range:(id<ISCIRange>)range;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    range

    The range which holds the result of search.

  • Finds the positive minimum and maximum of the array in specified bounds.

    Declaration

    Objective-C

    - (void)minMaxCharPositive:(const char *)array
                    startIndex:(NSInteger)startIndex
                      endIndex:(NSInteger)endIndex
                         range:(id<ISCIRange>)range;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    range

    The range which holds the result of search.

  • Copies elements of the srcArray at specified indices to the dstArray.

    Declaration

    Objective-C

    - (void)getCharValues:(const char *)srcArray
            srcArrayCount:(NSInteger)srcArrayCount
                baseIndex:(NSInteger)baseIndex
                 dstArray:(double *)dstArray
                  indices:(const int *)indices
                    count:(NSInteger)count;

    Parameters

    srcArray

    The source array to copy from.

    baseIndex

    The baseIndex which is used in {@link FifoBufferFactory}. Otherwise it’s {@link FifoBufferFactory#NORMALIZED_BASE_INDEX}.

  • Copies batch elements of the srcArray to the dstArray.

    Declaration

    Objective-C

    - (void)getCharValues:(const char *)srcArray
            srcArrayCount:(NSInteger)srcArrayCount
                baseIndex:(NSInteger)baseIndex
                 dstArray:(double *)dstArray
               startIndex:(NSInteger)startIndex
                    count:(NSInteger)count;

    Parameters

    srcArray

    The source array to copy from.

    baseIndex

    The baseIndex which is used in {@link FifoBufferFactory}. Otherwise it’s {@link FifoBufferFactory#NORMALIZED_BASE_INDEX}.

  • Finds the index of the item in the array according to desired SCISearchMode.

    Declaration

    Objective-C

    - (NSInteger)findIndexInCharArray:(const char *)array
                           startIndex:(NSInteger)startIndex
                                count:(NSInteger)count
                             isSorted:(BOOL)isSorted
                                value:(char)value
                           searchMode:(SCISearchMode)searchMode;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    count

    The amount of items to search in.

    isSorted

    If true will use fast binary search.

    value

    The value to search.

    searchMode

    The search mode options.

    Return Value

    The index of value, or -1 if not found.

  • Checks whether the array is sorted ascending in specified range.

    Declaration

    Objective-C

    - (BOOL)isCharArraySortedAscending:(const char *)array
                            startIndex:(NSInteger)startIndex
                                 count:(NSInteger)count;

    Parameters

    array

    The array to check.

    startIndex

    The start index of sequences to check.

    count

    The amount of point in sequence to check.

    Return Value

    True if items in sequence is sorted in ascending order.

  • Checks whether data in the array region is evenly spaced and calculated space between data if it true.

    Declaration

    Objective-C

    - (double)calculateIsCharArrayEvenlySpaced:(const char *)array
                                    startIndex:(NSInteger)startIndex
                                         count:(NSInteger)count
                                       epsilon:(double)epsilon;

    Parameters

    array

    The array to process.

    startIndex

    The start index index of sequence to process.

    count

    The size of data sequence to processs.

    epsilon

    The epsilon value.

    Return Value

    If data is evenly spaced returns positive value with calculated space, otherwise returns negative value.

  • Checks wheter data in array region contains NaN values

    Declaration

    Objective-C

    - (BOOL)containsNaNCharArray:(const char *)array
                      startIndex:(NSInteger)startIndex
                           count:(NSInteger)count;

    Parameters

    array

    The array to use

    startIndex

    The start index of sequence to process

    count

    The size of data sequence to process

    Return Value

    If data sequence contains NaN value returns true, otherwise returns false

  • Finds the maximum value of the array in specified bounds.

    Declaration

    Objective-C

    - (short)maxShort:(const short *)array
           startIndex:(NSInteger)startIndex
             endIndex:(NSInteger)endIndex;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    Return Value

    The maximum value of array.

  • Finds the minimum value of the array in specified bounds.

    Declaration

    Objective-C

    - (short)minShort:(const short *)array
           startIndex:(NSInteger)startIndex
             endIndex:(NSInteger)endIndex;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    Return Value

    The minimum value of array.

  • Finds the minimum and maximum of the array in specified bounds.

    Declaration

    Objective-C

    - (void)minMaxShort:(const short *)array
             startIndex:(NSInteger)startIndex
               endIndex:(NSInteger)endIndex
                  range:(id<ISCIRange>)range;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    range

    The range which holds the result of search.

  • Finds the positive minimum and maximum of the array in specified bounds.

    Declaration

    Objective-C

    - (void)minMaxShortPositive:(const short *)array
                     startIndex:(NSInteger)startIndex
                       endIndex:(NSInteger)endIndex
                          range:(id<ISCIRange>)range;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    range

    The range which holds the result of search.

  • Copies elements of the srcArray at specified indices to the dstArray.

    Declaration

    Objective-C

    - (void)getShortValues:(const short *)srcArray
             srcArrayCount:(NSInteger)srcArrayCount
                 baseIndex:(NSInteger)baseIndex
                  dstArray:(double *)dstArray
                   indices:(const int *)indices
                     count:(NSInteger)count;

    Parameters

    srcArray

    The source array to copy from.

    baseIndex

    The baseIndex which is used in {@link FifoBufferFactory}. Otherwise it’s {@link FifoBufferFactory#NORMALIZED_BASE_INDEX}.

  • Copies batch elements of the srcArray to the dstArray.

    Declaration

    Objective-C

    - (void)getShortValues:(const short *)srcArray
             srcArrayCount:(NSInteger)srcArrayCount
                 baseIndex:(NSInteger)baseIndex
                  dstArray:(double *)dstArray
                startIndex:(NSInteger)startIndex
                     count:(NSInteger)count;

    Parameters

    srcArray

    The source array to copy from.

    baseIndex

    The baseIndex which is used in {@link FifoBufferFactory}. Otherwise it’s {@link FifoBufferFactory#NORMALIZED_BASE_INDEX}.

  • Finds the index of the item in the array according to desired SCISearchMode.

    Declaration

    Objective-C

    - (NSInteger)findIndexInShortArray:(const short *)array
                            startIndex:(NSInteger)startIndex
                                 count:(NSInteger)count
                              isSorted:(BOOL)isSorted
                                 value:(short)value
                            searchMode:(SCISearchMode)searchMode;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    count

    The amount of items to search in.

    isSorted

    If true will use fast binary search.

    value

    The value to search.

    searchMode

    The search mode options.

    Return Value

    The index of value, or -1 if not found.

  • Checks whether the array is sorted ascending in specified range.

    Declaration

    Objective-C

    - (BOOL)isShortArraySortedAscending:(const short *)array
                             startIndex:(NSInteger)startIndex
                                  count:(NSInteger)count;

    Parameters

    array

    The array to check.

    startIndex

    The start index of sequences to check.

    count

    The amount of point in sequence to check.

    Return Value

    True if items in sequence is sorted in ascending order.

  • Checks whether data in the array region is evenly spaced and calculated space between data if it true.

    Declaration

    Objective-C

    - (double)calculateIsShortArrayEvenlySpaced:(const short *)array
                                     startIndex:(NSInteger)startIndex
                                          count:(NSInteger)count
                                        epsilon:(double)epsilon;

    Parameters

    array

    The array to process.

    startIndex

    The start index index of sequence to process.

    count

    The size of data sequence to processs.

    epsilon

    The epsilon value.

    Return Value

    If data is evenly spaced returns positive value with calculated space, otherwise returns negative value.

  • Checks wheter data in array region contains NaN values

    Declaration

    Objective-C

    - (BOOL)containsNaNShortArray:(const short *)array
                       startIndex:(NSInteger)startIndex
                            count:(NSInteger)count;

    Parameters

    array

    The array to use

    startIndex

    The start index of sequence to process

    count

    The size of data sequence to process

    Return Value

    If data sequence contains NaN value returns true, otherwise returns false

  • Finds the maximum value of the array in specified bounds.

    Declaration

    Objective-C

    - (int)maxInt:(const int *)array
        startIndex:(NSInteger)startIndex
          endIndex:(NSInteger)endIndex;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    Return Value

    The maximum value of array.

  • Finds the minimum value of the array in specified bounds.

    Declaration

    Objective-C

    - (int)minInt:(const int *)array
        startIndex:(NSInteger)startIndex
          endIndex:(NSInteger)endIndex;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    Return Value

    The minimum value of array.

  • Finds the minimum and maximum of the array in specified bounds.

    Declaration

    Objective-C

    - (void)minMaxInt:(const int *)array
           startIndex:(NSInteger)startIndex
             endIndex:(NSInteger)endIndex
                range:(id<ISCIRange>)range;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    range

    The range which holds the result of search.

  • Finds the positive minimum and maximum of the array in specified bounds.

    Declaration

    Objective-C

    - (void)minMaxIntPositive:(const int *)array
                   startIndex:(NSInteger)startIndex
                     endIndex:(NSInteger)endIndex
                        range:(id<ISCIRange>)range;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    range

    The range which holds the result of search.

  • Copies elements of the srcArray at specified indices to the dstArray.

    Declaration

    Objective-C

    - (void)getIntValues:(const int *)srcArray
           srcArrayCount:(NSInteger)srcArrayCount
               baseIndex:(NSInteger)baseIndex
                dstArray:(double *)dstArray
                 indices:(const int *)indices
                   count:(NSInteger)count;

    Parameters

    srcArray

    The source array to copy from.

    baseIndex

    The baseIndex which is used in {@link FifoBufferFactory}. Otherwise it’s {@link FifoBufferFactory#NORMALIZED_BASE_INDEX}.

  • Copies batch elements of the srcArray to the dstArray.

    Declaration

    Objective-C

    - (void)getIntValues:(const int *)srcArray
           srcArrayCount:(NSInteger)srcArrayCount
               baseIndex:(NSInteger)baseIndex
                dstArray:(double *)dstArray
              startIndex:(NSInteger)startIndex
                   count:(NSInteger)count;

    Parameters

    srcArray

    The source array to copy from.

    baseIndex

    The baseIndex which is used in {@link FifoBufferFactory}. Otherwise it’s {@link FifoBufferFactory#NORMALIZED_BASE_INDEX}.

  • Finds the index of the item in the array according to desired SCISearchMode.

    Declaration

    Objective-C

    - (NSInteger)findIndexInIntArray:(const int *)array
                          startIndex:(NSInteger)startIndex
                               count:(NSInteger)count
                            isSorted:(BOOL)isSorted
                               value:(int)value
                          searchMode:(SCISearchMode)searchMode;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    count

    The amount of items to search in.

    isSorted

    If true will use fast binary search.

    value

    The value to search.

    searchMode

    The search mode options.

    Return Value

    The index of value, or -1 if not found.

  • Checks whether the array is sorted ascending in specified range.

    Declaration

    Objective-C

    - (BOOL)isIntArraySortedAscending:(const int *)array
                           startIndex:(NSInteger)startIndex
                                count:(NSInteger)count;

    Parameters

    array

    The array to check.

    startIndex

    The start index of sequences to check.

    count

    The amount of point in sequence to check.

    Return Value

    True if items in sequence is sorted in ascending order.

  • Checks whether data in the array region is evenly spaced and calculated space between data if it true.

    Declaration

    Objective-C

    - (double)calculateIsIntArrayEvenlySpaced:(const int *)array
                                   startIndex:(NSInteger)startIndex
                                        count:(NSInteger)count
                                      epsilon:(double)epsilon;

    Parameters

    array

    The array to process.

    startIndex

    The start index index of sequence to process.

    count

    The size of data sequence to processs.

    epsilon

    The epsilon value.

    Return Value

    If data is evenly spaced returns positive value with calculated space, otherwise returns negative value.

  • Checks wheter data in array region contains NaN values

    Declaration

    Objective-C

    - (BOOL)containsNaNIntArray:(const int *)array
                     startIndex:(NSInteger)startIndex
                          count:(NSInteger)count;

    Parameters

    array

    The array to use

    startIndex

    The start index of sequence to process

    count

    The size of data sequence to process

    Return Value

    If data sequence contains NaN value returns true, otherwise returns false

  • Finds the maximum value of the array in specified bounds.

    Declaration

    Objective-C

    - (long long)maxLong:(const long long *)array
              startIndex:(NSInteger)startIndex
                endIndex:(NSInteger)endIndex;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    Return Value

    The maximum value of array.

  • Finds the minimum value of the array in specified bounds.

    Declaration

    Objective-C

    - (long long)minLong:(const long long *)array
              startIndex:(NSInteger)startIndex
                endIndex:(NSInteger)endIndex;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    Return Value

    The minimum value of array.

  • Finds the minimum and maximum of the array in specified bounds.

    Declaration

    Objective-C

    - (void)minMaxLong:(const long long *)array
            startIndex:(NSInteger)startIndex
              endIndex:(NSInteger)endIndex
                 range:(id<ISCIRange>)range;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    range

    The range which holds the result of search.

  • Finds the positive minimum and maximum of the array in specified bounds.

    Declaration

    Objective-C

    - (void)minMaxLongPositive:(const long long *)array
                    startIndex:(NSInteger)startIndex
                      endIndex:(NSInteger)endIndex
                         range:(id<ISCIRange>)range;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    range

    The range which holds the result of search.

  • Copies elements of the srcArray at specified indices to the dstArray.

    Declaration

    Objective-C

    - (void)getLongValues:(const long long *)srcArray
            srcArrayCount:(NSInteger)srcArrayCount
                baseIndex:(NSInteger)baseIndex
                 dstArray:(double *)dstArray
                  indices:(const int *)indices
                    count:(NSInteger)count;

    Parameters

    srcArray

    The source array to copy from.

    baseIndex

    The baseIndex which is used in {@link FifoBufferFactory}. Otherwise it’s {@link FifoBufferFactory#NORMALIZED_BASE_INDEX}.

  • Copies batch elements of the srcArray to the dstArray.

    Declaration

    Objective-C

    - (void)getLongValues:(const long long *)srcArray
            srcArrayCount:(NSInteger)srcArrayCount
                baseIndex:(NSInteger)baseIndex
                 dstArray:(double *)dstArray
               startIndex:(NSInteger)startIndex
                    count:(NSInteger)count;

    Parameters

    srcArray

    The source array to copy from.

    baseIndex

    The baseIndex which is used in {@link FifoBufferFactory}. Otherwise it’s {@link FifoBufferFactory#NORMALIZED_BASE_INDEX}.

  • Finds the index of the item in the array according to desired SCISearchMode.

    Declaration

    Objective-C

    - (NSInteger)findIndexInLongArray:(const long long *)array
                           startIndex:(NSInteger)startIndex
                                count:(NSInteger)count
                             isSorted:(BOOL)isSorted
                                value:(long long)value
                           searchMode:(SCISearchMode)searchMode;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    count

    The amount of items to search in.

    isSorted

    If true will use fast binary search.

    value

    The value to search.

    searchMode

    The search mode options.

    Return Value

    The index of value, or -1 if not found.

  • Checks whether the array is sorted ascending in specified range.

    Declaration

    Objective-C

    - (BOOL)isLongArraySortedAscending:(const long long *)array
                            startIndex:(NSInteger)startIndex
                                 count:(NSInteger)count;

    Parameters

    array

    The array to check.

    startIndex

    The start index of sequences to check.

    count

    The amount of point in sequence to check.

    Return Value

    True if items in sequence is sorted in ascending order.

  • Checks whether data in the array region is evenly spaced and calculated space between data if it true.

    Declaration

    Objective-C

    - (double)calculateIsLongArrayEvenlySpaced:(const long long *)array
                                    startIndex:(NSInteger)startIndex
                                         count:(NSInteger)count
                                       epsilon:(double)epsilon;

    Parameters

    array

    The array to process.

    startIndex

    The start index index of sequence to process.

    count

    The size of data sequence to processs.

    epsilon

    The epsilon value.

    Return Value

    If data is evenly spaced returns positive value with calculated space, otherwise returns negative value.

  • Checks wheter data in array region contains NaN values

    Declaration

    Objective-C

    - (BOOL)containsNaNLongArray:(const long long *)array
                      startIndex:(NSInteger)startIndex
                           count:(NSInteger)count;

    Parameters

    array

    The array to use

    startIndex

    The start index of sequence to process

    count

    The size of data sequence to process

    Return Value

    If data sequence contains NaN value returns true, otherwise returns false

  • Finds the maximum value of the array in specified bounds.

    Declaration

    Objective-C

    - (float)maxFloat:(const float *)array
           startIndex:(NSInteger)startIndex
             endIndex:(NSInteger)endIndex;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    Return Value

    The maximum value of array.

  • Finds the minimum value of the array in specified bounds.

    Declaration

    Objective-C

    - (float)minFloat:(const float *)array
           startIndex:(NSInteger)startIndex
             endIndex:(NSInteger)endIndex;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    Return Value

    The minimum value of array.

  • Finds the minimum and maximum of the array in specified bounds.

    Declaration

    Objective-C

    - (void)minMaxFloat:(const float *)array
             startIndex:(NSInteger)startIndex
               endIndex:(NSInteger)endIndex
                  range:(id<ISCIRange>)range;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    range

    The range which holds the result of search.

  • Finds the positive minimum and maximum of the array in specified bounds.

    Declaration

    Objective-C

    - (void)minMaxFloatPositive:(const float *)array
                     startIndex:(NSInteger)startIndex
                       endIndex:(NSInteger)endIndex
                          range:(id<ISCIRange>)range;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    range

    The range which holds the result of search.

  • Copies elements of the srcArray at specified indices to the dstArray.

    Declaration

    Objective-C

    - (void)getFloatValues:(const float *)srcArray
             srcArrayCount:(NSInteger)srcArrayCount
                 baseIndex:(NSInteger)baseIndex
                  dstArray:(double *)dstArray
                   indices:(const int *)indices
                     count:(NSInteger)count;

    Parameters

    srcArray

    The source array to copy from.

    baseIndex

    The baseIndex which is used in {@link FifoBufferFactory}. Otherwise it’s {@link FifoBufferFactory#NORMALIZED_BASE_INDEX}.

  • Copies batch elements of the srcArray to the dstArray.

    Declaration

    Objective-C

    - (void)getFloatValues:(const float *)srcArray
             srcArrayCount:(NSInteger)srcArrayCount
                 baseIndex:(NSInteger)baseIndex
                  dstArray:(double *)dstArray
                startIndex:(NSInteger)startIndex
                     count:(NSInteger)count;

    Parameters

    srcArray

    The source array to copy from.

    baseIndex

    The baseIndex which is used in {@link FifoBufferFactory}. Otherwise it’s {@link FifoBufferFactory#NORMALIZED_BASE_INDEX}.

  • Finds the index of the item in the array according to desired SCISearchMode.

    Declaration

    Objective-C

    - (NSInteger)findIndexInFloatArray:(const float *)array
                            startIndex:(NSInteger)startIndex
                                 count:(NSInteger)count
                              isSorted:(BOOL)isSorted
                                 value:(float)value
                            searchMode:(SCISearchMode)searchMode;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    count

    The amount of items to search in.

    isSorted

    If true will use fast binary search.

    value

    The value to search.

    searchMode

    The search mode options.

    Return Value

    The index of value, or -1 if not found.

  • Checks whether the array is sorted ascending in specified range.

    Declaration

    Objective-C

    - (BOOL)isFloatArraySortedAscending:(const float *)array
                             startIndex:(NSInteger)startIndex
                                  count:(NSInteger)count;

    Parameters

    array

    The array to check.

    startIndex

    The start index of sequences to check.

    count

    The amount of point in sequence to check.

    Return Value

    True if items in sequence is sorted in ascending order.

  • Checks whether data in the array region is evenly spaced and calculated space between data if it true.

    Declaration

    Objective-C

    - (double)calculateIsFloatArrayEvenlySpaced:(const float *)array
                                     startIndex:(NSInteger)startIndex
                                          count:(NSInteger)count
                                        epsilon:(double)epsilon;

    Parameters

    array

    The array to process.

    startIndex

    The start index index of sequence to process.

    count

    The size of data sequence to processs.

    epsilon

    The epsilon value.

    Return Value

    If data is evenly spaced returns positive value with calculated space, otherwise returns negative value.

  • Checks wheter data in array region contains NaN values

    Declaration

    Objective-C

    - (BOOL)containsNaNFloatArray:(const float *)array
                       startIndex:(NSInteger)startIndex
                            count:(NSInteger)count;

    Parameters

    array

    The array to use

    startIndex

    The start index of sequence to process

    count

    The size of data sequence to process

    Return Value

    If data sequence contains NaN value returns true, otherwise returns false

  • Finds the maximum value of the array in specified bounds.

    Declaration

    Objective-C

    - (double)maxDouble:(const double *)array
             startIndex:(NSInteger)startIndex
               endIndex:(NSInteger)endIndex;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    Return Value

    The maximum value of array.

  • Finds the minimum value of the array in specified bounds.

    Declaration

    Objective-C

    - (double)minDouble:(const double *)array
             startIndex:(NSInteger)startIndex
               endIndex:(NSInteger)endIndex;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    Return Value

    The minimum value of array.

  • Finds the minimum and maximum of the array in specified bounds.

    Declaration

    Objective-C

    - (void)minMaxDouble:(const double *)array
              startIndex:(NSInteger)startIndex
                endIndex:(NSInteger)endIndex
                   range:(id<ISCIRange>)range;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    range

    The range which holds the result of search.

  • Finds the positive minimum and maximum of the array in specified bounds.

    Declaration

    Objective-C

    - (void)minMaxDoublePositive:(const double *)array
                      startIndex:(NSInteger)startIndex
                        endIndex:(NSInteger)endIndex
                           range:(id<ISCIRange>)range;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    endIndex

    The startIndex to end search at.

    range

    The range which holds the result of search.

  • Copies elements of the srcArray at specified indices to the dstArray.

    Declaration

    Objective-C

    - (void)getDoubleValues:(const double *)srcArray
              srcArrayCount:(NSInteger)srcArrayCount
                  baseIndex:(NSInteger)baseIndex
                   dstArray:(double *)dstArray
                    indices:(const int *)indices
                      count:(NSInteger)count;

    Parameters

    srcArray

    The source array to copy from.

    baseIndex

    The baseIndex which is used in {@link FifoBufferFactory}. Otherwise it’s {@link FifoBufferFactory#NORMALIZED_BASE_INDEX}.

  • Copies batch elements of the srcArray to the dstArray.

    Declaration

    Objective-C

    - (void)getDoubleValues:(const double *)srcArray
              srcArrayCount:(NSInteger)srcArrayCount
                  baseIndex:(NSInteger)baseIndex
                   dstArray:(double *)dstArray
                 startIndex:(NSInteger)startIndex
                      count:(NSInteger)count;

    Parameters

    srcArray

    The source array to copy from.

    baseIndex

    The baseIndex which is used in {@link FifoBufferFactory}. Otherwise it’s {@link FifoBufferFactory#NORMALIZED_BASE_INDEX}.

  • Finds the index of the item in the array according to desired SCISearchMode.

    Declaration

    Objective-C

    - (NSInteger)findIndexInDoubleArray:(const double *)array
                             startIndex:(NSInteger)startIndex
                                  count:(NSInteger)count
                               isSorted:(BOOL)isSorted
                                  value:(double)value
                             searchMode:(SCISearchMode)searchMode;

    Parameters

    array

    The array to search.

    startIndex

    The startIndex to start search from.

    count

    The amount of items to search in.

    isSorted

    If true will use fast binary search.

    value

    The value to search.

    searchMode

    The search mode options.

    Return Value

    The index of value, or -1 if not found.

  • Checks whether the array is sorted ascending in specified range.

    Declaration

    Objective-C

    - (BOOL)isDoubleArraySortedAscending:(const double *)array
                              startIndex:(NSInteger)startIndex
                                   count:(NSInteger)count;

    Parameters

    array

    The array to check.

    startIndex

    The start index of sequences to check.

    count

    The amount of point in sequence to check.

    Return Value

    True if items in sequence is sorted in ascending order.

  • Checks whether data in the array region is evenly spaced and calculated space between data if it true.

    Declaration

    Objective-C

    - (double)calculateIsDoubleArrayEvenlySpaced:(const double *)array
                                      startIndex:(NSInteger)startIndex
                                           count:(NSInteger)count
                                         epsilon:(double)epsilon;

    Parameters

    array

    The array to process.

    startIndex

    The start index index of sequence to process.

    count

    The size of data sequence to processs.

    epsilon

    The epsilon value.

    Return Value

    If data is evenly spaced returns positive value with calculated space, otherwise returns negative value.

  • Checks wheter data in array region contains NaN values

    Declaration

    Objective-C

    - (BOOL)containsNaNDoubleArray:(const double *)array
                        startIndex:(NSInteger)startIndex
                             count:(NSInteger)count;

    Parameters

    array

    The array to use

    startIndex

    The start index of sequence to process

    count

    The size of data sequence to process

    Return Value

    If data sequence contains NaN value returns true, otherwise returns false