All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.meliorbis.numerics.io.NumericsReader Maven / Gradle / Ivy

Go to download

A library for working with large multi-dimensional arrays and the functions they represent

There is a newer version: 1.2
Show newest version
package com.meliorbis.numerics.io;

import java.io.IOException;
import java.util.Map;

import com.meliorbis.numerics.generic.MultiDimensionalArray;

/**
 * The reader interface of reading structures consisting of multiple arrays
 *
 * @author Tobias Grasl
 */
public interface NumericsReader
{
    /**
     * Reads a single array with the given name
     *
     * @param name_ The name of the array
     * @param  The type of the array
     *
     * @return The named array
     *
     * @throws IOException If an error occurs
     */
     MultiDimensionalArray getArray(String name_) throws IOException;

    /**
     * Retrieves all arrays, in a map by name
     *
     * @return The map of arrays by name
     *
     * @throws IOException If an error occurs
     */
    Map> getArrays() throws IOException;

    /**
     * Reads a structur consisting of multiple arrays, which are returned in a map by name
     *
     * @param name_ The name of the structure
     *
     * @return The map of arrays in the structure
     *
     * @throws IOException If an error occurs
     */
    Map> getStruct(String name_) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy