Skip to content

Commit

Permalink
Meet 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
superbobry committed Sep 23, 2016
1 parent addf1f4 commit fd88cf8
Show file tree
Hide file tree
Showing 56 changed files with 159 additions and 150 deletions.
2 changes: 2 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Here you can see the full list of changes between each npy release.
Version 0.3.2
-------------

Released on September 23rd, 2016

- Fixed reading large (> 2G) NPY and NPZ files.
- Ensured the produced NPY file has no trailing gibberish.
- Changed `NpyFile.write` to automatically choose the appropriate
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ repositories {
}
dependencies {
compile 'org.jetbrains.bio:npy:0.3.1'
compile 'org.jetbrains.bio:npy:0.3.2'
}
```
Expand Down

This file was deleted.

5 changes: 0 additions & 5 deletions docs/0.3.1/org.jetbrains.bio.npy/-npy-array/as-byte-array.md

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions docs/0.3.1/org.jetbrains.bio.npy/-npy-array/as-float-array.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/0.3.1/org.jetbrains.bio.npy/-npy-array/as-int-array.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/0.3.1/org.jetbrains.bio.npy/-npy-array/as-long-array.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/0.3.1/org.jetbrains.bio.npy/-npy-array/as-short-array.md

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions docs/0.3.1/org.jetbrains.bio.npy/-npy-array/data.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/0.3.1/org.jetbrains.bio.npy/-npy-array/shape.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/0.3.1/org.jetbrains.bio.npy/-npy-array/to-string.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/0.3.1/org.jetbrains.bio.npy/-npz-entry/name.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/0.3.1/org.jetbrains.bio.npy/-npz-entry/shape.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/0.3.1/org.jetbrains.bio.npy/-npz-entry/to-string.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/0.3.1/org.jetbrains.bio.npy/-npz-file/-reader/get.md

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion docs/0.3.1/index.md → docs/0.3.2/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[0.3.1](.)
[0.3.2](.)

### Packages

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[0.3.1](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyArray](index.md) / [<init>](.)
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyArray](index.md) / [<init>](.)

# <init>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyArray](index.md) / [asBooleanArray](.)

# asBooleanArray

`fun asBooleanArray(): BooleanArray` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L345)
5 changes: 5 additions & 0 deletions docs/0.3.2/org.jetbrains.bio.npy/-npy-array/as-byte-array.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyArray](index.md) / [asByteArray](.)

# asByteArray

`fun asByteArray(): ByteArray` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L347)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyArray](index.md) / [asDoubleArray](.)

# asDoubleArray

`fun asDoubleArray(): DoubleArray` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L357)
5 changes: 5 additions & 0 deletions docs/0.3.2/org.jetbrains.bio.npy/-npy-array/as-float-array.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyArray](index.md) / [asFloatArray](.)

# asFloatArray

`fun asFloatArray(): FloatArray` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L355)
5 changes: 5 additions & 0 deletions docs/0.3.2/org.jetbrains.bio.npy/-npy-array/as-int-array.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyArray](index.md) / [asIntArray](.)

# asIntArray

`fun asIntArray(): IntArray` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L351)
5 changes: 5 additions & 0 deletions docs/0.3.2/org.jetbrains.bio.npy/-npy-array/as-long-array.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyArray](index.md) / [asLongArray](.)

# asLongArray

`fun asLongArray(): LongArray` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L353)
5 changes: 5 additions & 0 deletions docs/0.3.2/org.jetbrains.bio.npy/-npy-array/as-short-array.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyArray](index.md) / [asShortArray](.)

# asShortArray

`fun asShortArray(): ShortArray` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L349)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyArray](index.md) / [asStringArray](.)

# asStringArray

`fun asStringArray(): Array<String>` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L360)
8 changes: 8 additions & 0 deletions docs/0.3.2/org.jetbrains.bio.npy/-npy-array/data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyArray](index.md) / [data](.)

# data

`val data: Any` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L341)

Array data.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[0.3.1](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyArray](.)
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyArray](.)

# NpyArray

`class NpyArray` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.1/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L311)
`class NpyArray` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L339)

A wrapper for NPY array data.

Expand Down
8 changes: 8 additions & 0 deletions docs/0.3.2/org.jetbrains.bio.npy/-npy-array/shape.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyArray](index.md) / [shape](.)

# shape

`val shape: IntArray` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L343)

Array dimensions.

5 changes: 5 additions & 0 deletions docs/0.3.2/org.jetbrains.bio.npy/-npy-array/to-string.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyArray](index.md) / [toString](.)

# toString

`fun toString(): String` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L362)
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[0.3.1](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyFile](.)
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyFile](.)

# NpyFile

`object NpyFile` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.1/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L31)
`object NpyFile` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L32)

A file in NPY format.

Expand Down Expand Up @@ -32,5 +32,5 @@ println(NpyFile.read(path))

| Name | Summary |
|---|---|
| [read](read.md) | `fun read(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`): `[`NpyArray`](../-npy-array/index.md)<br>Reads an array in NPY format from a given path. |
| [read](read.md) | `fun read(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, step: Int = Int.MAX_VALUE): `[`NpyArray`](../-npy-array/index.md)<br>Reads an array in NPY format from a given path. |
| [write](write.md) | `fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: BooleanArray, shape: IntArray = intArrayOf(data.size)): Unit`<br>Writes an array in NPY format to a given path.`fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: ByteArray, shape: IntArray = intArrayOf(data.size)): Unit`<br>`fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: ShortArray, shape: IntArray = intArrayOf(data.size), order: `[`ByteOrder`](http://docs.oracle.com/javase/6/docs/api/java/nio/ByteOrder.html)` = ByteOrder.nativeOrder()): Unit`<br>`fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: IntArray, shape: IntArray = intArrayOf(data.size), order: `[`ByteOrder`](http://docs.oracle.com/javase/6/docs/api/java/nio/ByteOrder.html)` = ByteOrder.nativeOrder()): Unit`<br>`fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: LongArray, shape: IntArray = intArrayOf(data.size), order: `[`ByteOrder`](http://docs.oracle.com/javase/6/docs/api/java/nio/ByteOrder.html)` = ByteOrder.nativeOrder()): Unit`<br>`fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: FloatArray, shape: IntArray = intArrayOf(data.size), order: `[`ByteOrder`](http://docs.oracle.com/javase/6/docs/api/java/nio/ByteOrder.html)` = ByteOrder.nativeOrder()): Unit`<br>`fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: DoubleArray, shape: IntArray = intArrayOf(data.size), order: `[`ByteOrder`](http://docs.oracle.com/javase/6/docs/api/java/nio/ByteOrder.html)` = ByteOrder.nativeOrder()): Unit`<br>`fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: Array<String>, shape: IntArray = intArrayOf(data.size)): Unit` |
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[0.3.1](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyFile](index.md) / [read](.)
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyFile](index.md) / [read](.)

# read

`@JvmStatic fun read(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`): `[`NpyArray`](../-npy-array/index.md) [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.1/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L151)
`@JvmStatic fun read(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, step: Int = Int.MAX_VALUE): `[`NpyArray`](../-npy-array/index.md) [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L158)

Reads an array in NPY format from a given path.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[0.3.1](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyFile](index.md) / [write](.)
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpyFile](index.md) / [write](.)

# write

`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: BooleanArray, shape: IntArray = intArrayOf(data.size)): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.1/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L193)
`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: BooleanArray, shape: IntArray = intArrayOf(data.size)): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L219)

Writes an array in NPY format to a given path.

`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: ByteArray, shape: IntArray = intArrayOf(data.size)): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.1/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L199)
`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: ShortArray, shape: IntArray = intArrayOf(data.size), order: `[`ByteOrder`](http://docs.oracle.com/javase/6/docs/api/java/nio/ByteOrder.html)` = ByteOrder.nativeOrder()): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.1/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L205)
`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: IntArray, shape: IntArray = intArrayOf(data.size), order: `[`ByteOrder`](http://docs.oracle.com/javase/6/docs/api/java/nio/ByteOrder.html)` = ByteOrder.nativeOrder()): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.1/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L212)
`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: LongArray, shape: IntArray = intArrayOf(data.size), order: `[`ByteOrder`](http://docs.oracle.com/javase/6/docs/api/java/nio/ByteOrder.html)` = ByteOrder.nativeOrder()): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.1/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L219)
`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: FloatArray, shape: IntArray = intArrayOf(data.size), order: `[`ByteOrder`](http://docs.oracle.com/javase/6/docs/api/java/nio/ByteOrder.html)` = ByteOrder.nativeOrder()): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.1/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L226)
`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: DoubleArray, shape: IntArray = intArrayOf(data.size), order: `[`ByteOrder`](http://docs.oracle.com/javase/6/docs/api/java/nio/ByteOrder.html)` = ByteOrder.nativeOrder()): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.1/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L233)
`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: Array<String>, shape: IntArray = intArrayOf(data.size)): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.1/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L240)
`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: ByteArray, shape: IntArray = intArrayOf(data.size)): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L225)
`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: ShortArray, shape: IntArray = intArrayOf(data.size), order: `[`ByteOrder`](http://docs.oracle.com/javase/6/docs/api/java/nio/ByteOrder.html)` = ByteOrder.nativeOrder()): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L231)
`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: IntArray, shape: IntArray = intArrayOf(data.size), order: `[`ByteOrder`](http://docs.oracle.com/javase/6/docs/api/java/nio/ByteOrder.html)` = ByteOrder.nativeOrder()): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L238)
`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: LongArray, shape: IntArray = intArrayOf(data.size), order: `[`ByteOrder`](http://docs.oracle.com/javase/6/docs/api/java/nio/ByteOrder.html)` = ByteOrder.nativeOrder()): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L245)
`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: FloatArray, shape: IntArray = intArrayOf(data.size), order: `[`ByteOrder`](http://docs.oracle.com/javase/6/docs/api/java/nio/ByteOrder.html)` = ByteOrder.nativeOrder()): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L252)
`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: DoubleArray, shape: IntArray = intArrayOf(data.size), order: `[`ByteOrder`](http://docs.oracle.com/javase/6/docs/api/java/nio/ByteOrder.html)` = ByteOrder.nativeOrder()): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L259)
`@JvmOverloads @JvmStatic fun write(path: `[`Path`](http://docs.oracle.com/javase/6/docs/api/java/nio/file/Path.html)`, data: Array<String>, shape: IntArray = intArrayOf(data.size)): Unit` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npy.kt#L266)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[0.3.1](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpzEntry](index.md) / [&lt;init&gt;](.)
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpzEntry](index.md) / [&lt;init&gt;](.)

# &lt;init&gt;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[0.3.1](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpzEntry](.)
[0.3.2](../../index.md) / [org.jetbrains.bio.npy](../index.md) / [NpzEntry](.)

# NpzEntry

`class NpzEntry` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.1/src/main/kotlin/org/jetbrains/bio/npy/Npz.kt#L193)
`class NpzEntry` [(source)](https://github.com/JetBrains-Research/npy/blob/0.3.2/src/main/kotlin/org/jetbrains/bio/npy/Npz.kt#L208)

A stripped down NPY header for an array in NPZ.

Expand Down
Loading

0 comments on commit fd88cf8

Please sign in to comment.