Class FileOperations<T,T2 extends Number>
- java.lang.Object
-
- io.github.hakkelt.ndarrays.internal.FileOperations<T,T2>
-
-
Field Summary
Fields Modifier and Type Field Description static String
IDENTIFIER_STRING
-
Constructor Summary
Constructors Constructor Description FileOperations()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A extends AbstractNDArray<T,T2>>
AreadComplexFromFile(DoubleBuffer buffer, A array)
<A extends AbstractNDArray<T,T2>>
AreadComplexFromFile(FloatBuffer buffer, A array)
<A extends AbstractNDArray<T,T2>>
AreadFromFile(File file, Function<int[],A> constructor)
<A extends AbstractNDArray<T,T2>>
AreadFromFile(ByteBuffer buffer, A array)
<A extends AbstractNDArray<T,T2>>
AreadFromFile(DoubleBuffer buffer, A array)
<A extends AbstractNDArray<T,T2>>
AreadFromFile(FloatBuffer buffer, A array)
<A extends AbstractNDArray<T,T2>>
AreadFromFile(IntBuffer buffer, A array)
<A extends AbstractNDArray<T,T2>>
AreadFromFile(LongBuffer buffer, A array)
<A extends AbstractNDArray<T,T2>>
AreadFromFile(ShortBuffer buffer, A array)
void
writeToFile(File file, AbstractNDArray<T,T2> array)
-
-
-
Field Detail
-
IDENTIFIER_STRING
public static final String IDENTIFIER_STRING
- See Also:
- Constant Field Values
-
-
Method Detail
-
writeToFile
public void writeToFile(File file, AbstractNDArray<T,T2> array) throws IOException
- Throws:
IOException
-
readFromFile
public <A extends AbstractNDArray<T,T2>> A readFromFile(File file, Function<int[],A> constructor) throws IOException
- Throws:
IOException
-
readFromFile
public <A extends AbstractNDArray<T,T2>> A readFromFile(ByteBuffer buffer, A array)
-
readFromFile
public <A extends AbstractNDArray<T,T2>> A readFromFile(ShortBuffer buffer, A array)
-
readFromFile
public <A extends AbstractNDArray<T,T2>> A readFromFile(IntBuffer buffer, A array)
-
readFromFile
public <A extends AbstractNDArray<T,T2>> A readFromFile(LongBuffer buffer, A array)
-
readFromFile
public <A extends AbstractNDArray<T,T2>> A readFromFile(FloatBuffer buffer, A array)
-
readFromFile
public <A extends AbstractNDArray<T,T2>> A readFromFile(DoubleBuffer buffer, A array)
-
readComplexFromFile
public <A extends AbstractNDArray<T,T2>> A readComplexFromFile(FloatBuffer buffer, A array)
-
readComplexFromFile
public <A extends AbstractNDArray<T,T2>> A readComplexFromFile(DoubleBuffer buffer, A array)
-
-