public class Delta extends Object
Constructor and Description |
---|
Delta() |
Modifier and Type | Method and Description |
---|---|
static void |
atled(int[] a,
int offset,
int len)
Restores a d-gap array into the original integers.
|
static void |
delta(int[] a,
int offset,
int len)
Converts sorted array into d-gaps.
|
public static void delta(int[] a, int offset, int len)
a
- array of sorted integersoffset
- offset from where to start convertinglen
- number of integers to convertpublic static void atled(int[] a, int offset, int len)
a
- array of d-gapsoffset
- offset from where to start convertinglen
- number of integers to convertCopyright © 2016. All rights reserved.