Uses of Class
org.apfloat.spi.DataStorage
Packages that use DataStorage
Package
Description
Transforms for using a GPU via the aparapi library.
Default implementations of the apfloat Service Provider Interface (SPI).
The apfloat Service Provider Interface (SPI).
-
Uses of DataStorage in org.apfloat.aparapi
Methods in org.apfloat.aparapi with parameters of type DataStorageModifier and TypeMethodDescriptionprotected ArrayAccessColumnTwoPassFNTStrategy.getColumns(DataStorage dataStorage, int startColumn, int columns, int rows) protected ArrayAccessColumnTwoPassFNTStrategy.getRows(DataStorage dataStorage, int startRow, int rows, int columns) voidIntAparapiFactor3NTTStrategy.inverseTransform(DataStorage dataStorage, int modulus, long totalTransformLength) voidLongAparapiFactor3NTTStrategy.inverseTransform(DataStorage dataStorage, int modulus, long totalTransformLength) voidIntAparapiFactor3NTTStrategy.transform(DataStorage dataStorage, int modulus) voidLongAparapiFactor3NTTStrategy.transform(DataStorage dataStorage, int modulus) voidIntAparapiFactor3NTTStepStrategy.transformColumns(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) voidLongAparapiFactor3NTTStepStrategy.transformColumns(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) -
Uses of DataStorage in org.apfloat.internal
Subclasses of DataStorage in org.apfloat.internalModifier and TypeClassDescriptionclassAbstract base class for disk-based data storage, containing the common functionality independent of the element type.classDisk-based data storage for thedoubleelement type.classMemory based data storage implementation for thedoubleelement type.classDisk-based data storage for thefloatelement type.classMemory based data storage implementation for thefloatelement type.classDisk-based data storage for theintelement type.classMemory based data storage implementation for theintelement type.classDisk-based data storage for thelongelement type.classMemory based data storage implementation for thelongelement type.Methods in org.apfloat.internal that return DataStorageModifier and TypeMethodDescriptionprotected DataStorageThreeNTTConvolutionStrategy.autoConvolute(DataStorage x, long resultSize) Convolutes a data set with itself.protected DataStorageThreeNTTConvolutionStrategy.autoConvoluteOne(DataStorage x, long length, int modulus, boolean cached) Performs an autoconvolution modulo one modulus, of the specified transform length.StepCarryCRTStrategy.carryCRT(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, long resultSize) Calculate the final result of a three-NTT convolution.DoubleKaratsubaConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) DoubleMediumConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) DoubleShortConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) FloatKaratsubaConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) FloatMediumConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) FloatShortConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) IntKaratsubaConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) IntMediumConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) IntShortConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) LongKaratsubaConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) LongMediumConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) LongShortConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) ThreeNTTConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) protected DataStorageThreeNTTConvolutionStrategy.convoluteOne(DataStorage x, DataStorage y, long length, int modulus, boolean cached) Performs a convolution modulo one modulus, of the specified transform length.protected abstract DataStorageAbstractDataStorageBuilder.createCachedDataStorage()Create a cached data storage.AbstractDataStorageBuilder.createCachedDataStorage(long size) protected DataStorageDoubleDataStorageBuilder.createCachedDataStorage()protected DataStorageFloatDataStorageBuilder.createCachedDataStorage()protected DataStorageIntDataStorageBuilder.createCachedDataStorage()protected DataStorageLongDataStorageBuilder.createCachedDataStorage()protected DataStorageThreeNTTConvolutionStrategy.createCachedDataStorage(long size) Create a cached (if possible) data storage for the specified number of elements.AbstractDataStorageBuilder.createDataStorage(long size) AbstractDataStorageBuilder.createDataStorage(DataStorage dataStorage) protected DataStorageThreeNTTConvolutionStrategy.createDataStorage(DataStorage dataStorage) Create a cached data storage from the (possibly) cached data storage.protected abstract DataStorageAbstractDataStorageBuilder.createNonCachedDataStorage()Create a non-cached data storage.protected DataStorageDoubleDataStorageBuilder.createNonCachedDataStorage()protected DataStorageFloatDataStorageBuilder.createNonCachedDataStorage()protected DataStorageIntDataStorageBuilder.createNonCachedDataStorage()protected DataStorageLongDataStorageBuilder.createNonCachedDataStorage()protected DataStorageDoubleDiskDataStorage.implSubsequence(long offset, long length) protected DataStorageDoubleMemoryDataStorage.implSubsequence(long offset, long length) protected DataStorageFloatDiskDataStorage.implSubsequence(long offset, long length) protected DataStorageFloatMemoryDataStorage.implSubsequence(long offset, long length) protected DataStorageIntDiskDataStorage.implSubsequence(long offset, long length) protected DataStorageIntMemoryDataStorage.implSubsequence(long offset, long length) protected DataStorageLongDiskDataStorage.implSubsequence(long offset, long length) protected DataStorageLongMemoryDataStorage.implSubsequence(long offset, long length) Methods in org.apfloat.internal with parameters of type DataStorageModifier and TypeMethodDescriptionprotected DataStorageThreeNTTConvolutionStrategy.autoConvolute(DataStorage x, long resultSize) Convolutes a data set with itself.protected DataStorageThreeNTTConvolutionStrategy.autoConvoluteOne(DataStorage x, long length, int modulus, boolean cached) Performs an autoconvolution modulo one modulus, of the specified transform length.double[]DoubleCarryCRTStepStrategy.carry(DataStorage dataStorage, long size, long resultSize, long offset, long length, double[] results, double[] previousResults) float[]FloatCarryCRTStepStrategy.carry(DataStorage dataStorage, long size, long resultSize, long offset, long length, float[] results, float[] previousResults) int[]IntCarryCRTStepStrategy.carry(DataStorage dataStorage, long size, long resultSize, long offset, long length, int[] results, int[] previousResults) long[]LongCarryCRTStepStrategy.carry(DataStorage dataStorage, long size, long resultSize, long offset, long length, long[] results, long[] previousResults) StepCarryCRTStrategy.carryCRT(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, long resultSize) Calculate the final result of a three-NTT convolution.DoubleKaratsubaConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) DoubleMediumConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) DoubleShortConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) FloatKaratsubaConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) FloatMediumConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) FloatShortConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) IntKaratsubaConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) IntMediumConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) IntShortConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) LongKaratsubaConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) LongMediumConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) LongShortConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) ThreeNTTConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) protected DataStorageThreeNTTConvolutionStrategy.convoluteOne(DataStorage x, DataStorage y, long length, int modulus, boolean cached) Performs a convolution modulo one modulus, of the specified transform length.protected <T> ParallelRunnableStepCarryCRTStrategy.createCarryCRTParallelRunnable(Class<T> elementArrayType, DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, DataStorage dataStorage, long size, long resultSize) Create a ParallelRunnable object for doing the carry-CRT in parallel.protected ParallelRunnableDoubleFactor3NTTStepStrategy.createColumnTransformParallelRunnable(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) Create a ParallelRunnable object for transforming the columns of the matrix using a 3-point NTT transform.protected ParallelRunnableFloatFactor3NTTStepStrategy.createColumnTransformParallelRunnable(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) Create a ParallelRunnable object for transforming the columns of the matrix using a 3-point NTT transform.protected ParallelRunnableIntFactor3NTTStepStrategy.createColumnTransformParallelRunnable(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) Create a ParallelRunnable object for transforming the columns of the matrix using a 3-point NTT transform.protected ParallelRunnableLongFactor3NTTStepStrategy.createColumnTransformParallelRunnable(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) Create a ParallelRunnable object for transforming the columns of the matrix using a 3-point NTT transform.AbstractDataStorageBuilder.createDataStorage(DataStorage dataStorage) protected DataStorageThreeNTTConvolutionStrategy.createDataStorage(DataStorage dataStorage) Create a cached data storage from the (possibly) cached data storage.protected ParallelRunnableDoubleNTTConvolutionStepStrategy.createMultiplyInPlaceParallelRunnable(DataStorage sourceAndDestination, DataStorage source, int modulus) Create a ParallelRunnable for multiplying the elements in-place.protected ParallelRunnableFloatNTTConvolutionStepStrategy.createMultiplyInPlaceParallelRunnable(DataStorage sourceAndDestination, DataStorage source, int modulus) Create a ParallelRunnable for multiplying the elements in-place.protected ParallelRunnableIntNTTConvolutionStepStrategy.createMultiplyInPlaceParallelRunnable(DataStorage sourceAndDestination, DataStorage source, int modulus) Create a ParallelRunnable for multiplying the elements in-place.protected ParallelRunnableLongNTTConvolutionStepStrategy.createMultiplyInPlaceParallelRunnable(DataStorage sourceAndDestination, DataStorage source, int modulus) Create a ParallelRunnable for multiplying the elements in-place.protected ParallelRunnableDoubleNTTConvolutionStepStrategy.createSquareInPlaceParallelRunnable(DataStorage sourceAndDestination, int modulus) Create a ParallelRunnable for squaring the elements in-place.protected ParallelRunnableFloatNTTConvolutionStepStrategy.createSquareInPlaceParallelRunnable(DataStorage sourceAndDestination, int modulus) Create a ParallelRunnable for squaring the elements in-place.protected ParallelRunnableIntNTTConvolutionStepStrategy.createSquareInPlaceParallelRunnable(DataStorage sourceAndDestination, int modulus) Create a ParallelRunnable for squaring the elements in-place.protected ParallelRunnableLongNTTConvolutionStepStrategy.createSquareInPlaceParallelRunnable(DataStorage sourceAndDestination, int modulus) Create a ParallelRunnable for squaring the elements in-place.double[]DoubleCarryCRTStepStrategy.crt(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, DataStorage dataStorage, long size, long resultSize, long offset, long length) float[]FloatCarryCRTStepStrategy.crt(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, DataStorage dataStorage, long size, long resultSize, long offset, long length) int[]IntCarryCRTStepStrategy.crt(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, DataStorage dataStorage, long size, long resultSize, long offset, long length) long[]LongCarryCRTStepStrategy.crt(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, DataStorage dataStorage, long size, long resultSize, long offset, long length) protected ArrayAccessTwoPassFNTStrategy.getColumns(DataStorage dataStorage, int startColumn, int columns, int rows) Get a block of column data.protected ArrayAccessTwoPassFNTStrategy.getRows(DataStorage dataStorage, int startRow, int rows, int columns) Get a block of row data.protected voidDiskDataStorage.implCopyFrom(DataStorage dataStorage, long size) protected voidDoubleMemoryDataStorage.implCopyFrom(DataStorage dataStorage, long size) protected voidFloatMemoryDataStorage.implCopyFrom(DataStorage dataStorage, long size) protected voidIntMemoryDataStorage.implCopyFrom(DataStorage dataStorage, long size) protected voidLongMemoryDataStorage.implCopyFrom(DataStorage dataStorage, long size) protected abstract voidAbstractStepFNTStrategy.inverseTransform(DataStorage dataStorage, int n1, int n2, long length, long totalTransformLength, int modulus) Inverse transform the data in steps.voidAbstractStepFNTStrategy.inverseTransform(DataStorage dataStorage, int modulus, long totalTransformLength) voidDoubleTableFNTStrategy.inverseTransform(DataStorage dataStorage, int modulus, long totalTransformLength) voidFactor3NTTStrategy.inverseTransform(DataStorage dataStorage, int modulus, long totalTransformLength) voidFloatTableFNTStrategy.inverseTransform(DataStorage dataStorage, int modulus, long totalTransformLength) voidIntTableFNTStrategy.inverseTransform(DataStorage dataStorage, int modulus, long totalTransformLength) voidLongTableFNTStrategy.inverseTransform(DataStorage dataStorage, int modulus, long totalTransformLength) protected voidSixStepFNTStrategy.inverseTransform(DataStorage dataStorage, int n1, int n2, long length, long totalTransformLength, int modulus) protected voidTwoPassFNTStrategy.inverseTransform(DataStorage dataStorage, int n1, int n2, long length, long totalTransformLength, int modulus) protected abstract booleanAbstractDataStorageBuilder.isCached(DataStorage dataStorage) Test if the data storage is of cached type.protected booleanDoubleDataStorageBuilder.isCached(DataStorage dataStorage) protected booleanFloatDataStorageBuilder.isCached(DataStorage dataStorage) protected booleanIntDataStorageBuilder.isCached(DataStorage dataStorage) protected booleanLongDataStorageBuilder.isCached(DataStorage dataStorage) voidDoubleNTTConvolutionStepStrategy.multiplyInPlace(DataStorage sourceAndDestination, DataStorage source, int modulus) voidFloatNTTConvolutionStepStrategy.multiplyInPlace(DataStorage sourceAndDestination, DataStorage source, int modulus) voidIntNTTConvolutionStepStrategy.multiplyInPlace(DataStorage sourceAndDestination, DataStorage source, int modulus) voidLongNTTConvolutionStepStrategy.multiplyInPlace(DataStorage sourceAndDestination, DataStorage source, int modulus) voidDoubleNTTConvolutionStepStrategy.squareInPlace(DataStorage sourceAndDestination, int modulus) voidFloatNTTConvolutionStepStrategy.squareInPlace(DataStorage sourceAndDestination, int modulus) voidIntNTTConvolutionStepStrategy.squareInPlace(DataStorage sourceAndDestination, int modulus) voidLongNTTConvolutionStepStrategy.squareInPlace(DataStorage sourceAndDestination, int modulus) voidAbstractStepFNTStrategy.transform(DataStorage dataStorage, int modulus) protected abstract voidAbstractStepFNTStrategy.transform(DataStorage dataStorage, int n1, int n2, long length, int modulus) Transform the data in steps.voidDoubleTableFNTStrategy.transform(DataStorage dataStorage, int modulus) voidFactor3NTTStrategy.transform(DataStorage dataStorage, int modulus) voidFloatTableFNTStrategy.transform(DataStorage dataStorage, int modulus) voidIntTableFNTStrategy.transform(DataStorage dataStorage, int modulus) voidLongTableFNTStrategy.transform(DataStorage dataStorage, int modulus) protected voidSixStepFNTStrategy.transform(DataStorage dataStorage, int n1, int n2, long length, int modulus) protected voidTwoPassFNTStrategy.transform(DataStorage dataStorage, int n1, int n2, long length, int modulus) voidDoubleFactor3NTTStepStrategy.transformColumns(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) voidFloatFactor3NTTStepStrategy.transformColumns(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) voidIntFactor3NTTStepStrategy.transformColumns(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) voidLongFactor3NTTStepStrategy.transformColumns(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) -
Uses of DataStorage in org.apfloat.spi
Methods in org.apfloat.spi that return DataStorageModifier and TypeMethodDescriptionCarryCRTStrategy.carryCRT(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, long resultSize) Calculate the final result of a three-NTT convolution.ConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) Convolutes the two sets of data.DataStorageBuilder.createCachedDataStorage(long size) Get a data storage that is cached in memory, if possible, for the requested size of data.DataStorageBuilder.createDataStorage(long size) Get an appropriate type of data storage for the requested size of data.DataStorageBuilder.createDataStorage(DataStorage dataStorage) Convert cached data storage to the appropriate normal data storage type.protected abstract DataStorageDataStorage.implSubsequence(long offset, long length) Implementation of getting a subsequence of this data storage.final DataStorageDataStorage.subsequence(long offset, long length) Get a subsequence of this data storage.Methods in org.apfloat.spi with parameters of type DataStorageModifier and TypeMethodDescriptionCarryCRTStepStrategy.carry(DataStorage dataStorage, long size, long resultSize, long offset, long length, T results, T previousResults) Propagate carries from the previous block computed with the CRT method.CarryCRTStrategy.carryCRT(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, long resultSize) Calculate the final result of a three-NTT convolution.ConvolutionStrategy.convolute(DataStorage x, DataStorage y, long resultSize) Convolutes the two sets of data.final voidDataStorage.copyFrom(DataStorage dataStorage) Copies all data from another data storage to this data storage.final voidDataStorage.copyFrom(DataStorage dataStorage, long size) Copies the specified number of elements from another data storage to this data storage.DataStorageBuilder.createDataStorage(DataStorage dataStorage) Convert cached data storage to the appropriate normal data storage type.CarryCRTStepStrategy.crt(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, DataStorage dataStorage, long size, long resultSize, long offset, long length) Perform the Chinese Remainder Theorem (CRT) on each element of the three result data sets to get the result of each element modulo the product of the three moduli.protected abstract voidDataStorage.implCopyFrom(DataStorage dataStorage, long size) Copies the specified number of elements from another data storage to this data storage.voidNTTStrategy.inverseTransform(DataStorage dataStorage, int modulus, long totalTransformLength) Perform an inverse transform on the data.voidNTTConvolutionStepStrategy.multiplyInPlace(DataStorage sourceAndDestination, DataStorage source, int modulus) Linear multiplication in the number theoretic domain.voidNTTConvolutionStepStrategy.squareInPlace(DataStorage sourceAndDestination, int modulus) Linear squaring in the number theoretic domain.voidNTTStrategy.transform(DataStorage dataStorage, int modulus) Perform a forward transform on the data.voidFactor3NTTStepStrategy.transformColumns(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) Transform the columns of a matrix using a 3-point transform.Constructors in org.apfloat.spi with parameters of type DataStorageModifierConstructorDescriptionprotectedDataStorage(DataStorage dataStorage, long offset, long length) Subsequence constructor.