summaryrefslogtreecommitdiffstats
path: root/HDF5Examples/C/H5D/tfiles/18/h5ex_d_transform.tst
diff options
context:
space:
mode:
Diffstat (limited to 'HDF5Examples/C/H5D/tfiles/18/h5ex_d_transform.tst')
-rw-r--r--HDF5Examples/C/H5D/tfiles/18/h5ex_d_transform.tst17
1 files changed, 17 insertions, 0 deletions
diff --git a/HDF5Examples/C/H5D/tfiles/18/h5ex_d_transform.tst b/HDF5Examples/C/H5D/tfiles/18/h5ex_d_transform.tst
new file mode 100644
index 0000000..3d4669b
--- /dev/null
+++ b/HDF5Examples/C/H5D/tfiles/18/h5ex_d_transform.tst
@@ -0,0 +1,17 @@
+Original Data:
+ [ 0 -1 -2 -3 -4 -5 -6]
+ [ 0 0 0 0 0 0 0]
+ [ 0 1 2 3 4 5 6]
+ [ 0 2 4 6 8 10 12]
+
+Data as written with transform "x+1":
+ [ 1 0 -1 -2 -3 -4 -5]
+ [ 1 1 1 1 1 1 1]
+ [ 1 2 3 4 5 6 7]
+ [ 1 3 5 7 9 11 13]
+
+Data as written with transform "x+1" and read with transform "x-1":
+ [ 0 -1 -2 -3 -4 -5 -6]
+ [ 0 0 0 0 0 0 0]
+ [ 0 1 2 3 4 5 6]
+ [ 0 2 4 6 8 10 12]