Uses of Class
org.apfloat.spi.DataStorage
-
Packages that use DataStorage Package Description org.apfloat.aparapi Transforms for using a GPU via the aparapi library.org.apfloat.internal Default implementations of the apfloat Service Provider Interface (SPI).org.apfloat.spi The apfloat Service Provider Interface (SPI). -
-
Uses of DataStorage in org.apfloat.aparapi
Methods in org.apfloat.aparapi with parameters of type DataStorage Modifier and Type Method Description protected 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)private voidIntAparapiFactor3NTTStrategy. postTransform(DataStorage dataStorage)private voidLongAparapiFactor3NTTStrategy. postTransform(DataStorage dataStorage)private voidIntAparapiFactor3NTTStrategy. preTransform(DataStorage dataStorage)private voidLongAparapiFactor3NTTStrategy. preTransform(DataStorage dataStorage)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.internal Modifier and Type Class Description classDiskDataStorageAbstract base class for disk-based data storage, containing the common functionality independent of the element type.classDoubleDiskDataStorageDisk-based data storage for thedoubleelement type.classDoubleMemoryDataStorageMemory based data storage implementation for thedoubleelement type.classFloatDiskDataStorageDisk-based data storage for thefloatelement type.classFloatMemoryDataStorageMemory based data storage implementation for thefloatelement type.classIntDiskDataStorageDisk-based data storage for theintelement type.classIntMemoryDataStorageMemory based data storage implementation for theintelement type.classLongDiskDataStorageDisk-based data storage for thelongelement type.classLongMemoryDataStorageMemory based data storage implementation for thelongelement type.Fields in org.apfloat.internal declared as DataStorage Modifier and Type Field Description private DataStorageDoubleApfloatImpl. dataStorageprivate DataStorageFloatApfloatImpl. dataStorageprivate DataStorageIntApfloatImpl. dataStorageprivate DataStorageLongApfloatImpl. dataStorageprivate DataStorageStepCarryCRTStrategy.CarryCRTRunnable. dataStorageprivate DataStorageDoubleFactor3NTTStepStrategy.ColumnTransformRunnable. dataStorage0private DataStorageFloatFactor3NTTStepStrategy.ColumnTransformRunnable. dataStorage0private DataStorageIntFactor3NTTStepStrategy.ColumnTransformRunnable. dataStorage0private DataStorageLongFactor3NTTStepStrategy.ColumnTransformRunnable. dataStorage0private DataStorageDoubleFactor3NTTStepStrategy.ColumnTransformRunnable. dataStorage1private DataStorageFloatFactor3NTTStepStrategy.ColumnTransformRunnable. dataStorage1private DataStorageIntFactor3NTTStepStrategy.ColumnTransformRunnable. dataStorage1private DataStorageLongFactor3NTTStepStrategy.ColumnTransformRunnable. dataStorage1private DataStorageDoubleFactor3NTTStepStrategy.ColumnTransformRunnable. dataStorage2private DataStorageFloatFactor3NTTStepStrategy.ColumnTransformRunnable. dataStorage2private DataStorageIntFactor3NTTStepStrategy.ColumnTransformRunnable. dataStorage2private DataStorageLongFactor3NTTStepStrategy.ColumnTransformRunnable. dataStorage2private DataStorageStepCarryCRTStrategy.CarryCRTRunnable. resultMod0private DataStorageStepCarryCRTStrategy.CarryCRTRunnable. resultMod1private DataStorageStepCarryCRTStrategy.CarryCRTRunnable. resultMod2private DataStorageDoubleNTTConvolutionStepStrategy.MultiplyInPlaceRunnable. sourceprivate DataStorageFloatNTTConvolutionStepStrategy.MultiplyInPlaceRunnable. sourceprivate DataStorageIntNTTConvolutionStepStrategy.MultiplyInPlaceRunnable. sourceprivate DataStorageLongNTTConvolutionStepStrategy.MultiplyInPlaceRunnable. sourceprivate DataStorageDoubleNTTConvolutionStepStrategy.MultiplyInPlaceRunnable. sourceAndDestinationprivate DataStorageDoubleNTTConvolutionStepStrategy.SquareInPlaceRunnable. sourceAndDestinationprivate DataStorageFloatNTTConvolutionStepStrategy.MultiplyInPlaceRunnable. sourceAndDestinationprivate DataStorageFloatNTTConvolutionStepStrategy.SquareInPlaceRunnable. sourceAndDestinationprivate DataStorageIntNTTConvolutionStepStrategy.MultiplyInPlaceRunnable. sourceAndDestinationprivate DataStorageIntNTTConvolutionStepStrategy.SquareInPlaceRunnable. sourceAndDestinationprivate DataStorageLongNTTConvolutionStepStrategy.MultiplyInPlaceRunnable. sourceAndDestinationprivate DataStorageLongNTTConvolutionStepStrategy.SquareInPlaceRunnable. sourceAndDestinationMethods in org.apfloat.internal that return DataStorage Modifier and Type Method Description private DataStorageDoubleKaratsubaConvolutionStrategy. add(DataStorage x1, DataStorage x2)private DataStorageFloatKaratsubaConvolutionStrategy. add(DataStorage x1, DataStorage x2)private DataStorageIntKaratsubaConvolutionStrategy. add(DataStorage x1, DataStorage x2)private DataStorageLongKaratsubaConvolutionStrategy. add(DataStorage x1, DataStorage x2)protected 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.DataStorageStepCarryCRTStrategy. carryCRT(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, long resultSize)Calculate the final result of a three-NTT convolution.DataStorageDoubleKaratsubaConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageDoubleMediumConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageDoubleShortConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageFloatKaratsubaConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageFloatMediumConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageFloatShortConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageIntKaratsubaConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageIntMediumConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageIntShortConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageLongKaratsubaConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageLongMediumConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageLongShortConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageThreeNTTConvolutionStrategy. 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.DataStorageAbstractDataStorageBuilder. 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.DataStorageAbstractDataStorageBuilder. createDataStorage(long size)DataStorageAbstractDataStorageBuilder. createDataStorage(DataStorage dataStorage)private static DataStorageDoubleApfloatImpl. createDataStorage(long size)private static DataStorageFloatApfloatImpl. createDataStorage(long size)private static DataStorageIntApfloatImpl. createDataStorage(long size)private static DataStorageLongApfloatImpl. createDataStorage(long size)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()private <T> DataStorageStepCarryCRTStrategy. doCarryCRT(java.lang.Class<T> elementArrayType, DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, long resultSize)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 DataStorage Modifier and Type Method Description private DataStorageDoubleKaratsubaConvolutionStrategy. add(DataStorage x1, DataStorage x2)private DataStorageFloatKaratsubaConvolutionStrategy. add(DataStorage x1, DataStorage x2)private DataStorageIntKaratsubaConvolutionStrategy. add(DataStorage x1, DataStorage x2)private DataStorageLongKaratsubaConvolutionStrategy. add(DataStorage x1, DataStorage x2)protected 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)DataStorageStepCarryCRTStrategy. carryCRT(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, long resultSize)Calculate the final result of a three-NTT convolution.DataStorageDoubleKaratsubaConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageDoubleMediumConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageDoubleShortConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageFloatKaratsubaConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageFloatMediumConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageFloatShortConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageIntKaratsubaConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageIntMediumConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageIntShortConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageLongKaratsubaConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageLongMediumConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageLongShortConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)DataStorageThreeNTTConvolutionStrategy. 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(java.lang.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.DataStorageAbstractDataStorageBuilder. 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)private <T> DataStorageStepCarryCRTStrategy. doCarryCRT(java.lang.Class<T> elementArrayType, DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, long resultSize)protected ArrayAccessTwoPassFNTStrategy. getColumns(DataStorage dataStorage, int startColumn, int columns, int rows)Get a block of column data.private intDoubleApfloatImpl. getInitialDigits(DataStorage dataStorage)private intFloatApfloatImpl. getInitialDigits(DataStorage dataStorage)private intIntApfloatImpl. getInitialDigits(DataStorage dataStorage)private intLongApfloatImpl. getInitialDigits(DataStorage dataStorage)private static longDoubleApfloatImpl. getLeadingZeros(DataStorage dataStorage, long index)private static longFloatApfloatImpl. getLeadingZeros(DataStorage dataStorage, long index)private static longIntApfloatImpl. getLeadingZeros(DataStorage dataStorage, long index)private static longLongApfloatImpl. getLeadingZeros(DataStorage dataStorage, long index)private static doubleDoubleApfloatImpl. getMostSignificantWord(DataStorage dataStorage)private static floatFloatApfloatImpl. getMostSignificantWord(DataStorage dataStorage)private static intIntApfloatImpl. getMostSignificantWord(DataStorage dataStorage)private static longLongApfloatImpl. getMostSignificantWord(DataStorage dataStorage)protected ArrayAccessTwoPassFNTStrategy. getRows(DataStorage dataStorage, int startRow, int rows, int columns)Get a block of row data.private static longDoubleApfloatImpl. getTrailingZeros(DataStorage dataStorage, long index)private static longFloatApfloatImpl. getTrailingZeros(DataStorage dataStorage, long index)private static longIntApfloatImpl. getTrailingZeros(DataStorage dataStorage, long index)private static longLongApfloatImpl. getTrailingZeros(DataStorage dataStorage, long index)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)private booleanDoubleKaratsubaConvolutionStrategy. isZero(DataStorage x, long index)private booleanFloatKaratsubaConvolutionStrategy. isZero(DataStorage x, long index)private booleanIntKaratsubaConvolutionStrategy. isZero(DataStorage x, long index)private booleanLongKaratsubaConvolutionStrategy. isZero(DataStorage x, long index)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)private voidDoubleKaratsubaConvolutionStrategy. subtract(DataStorage x1, DataStorage x2)private voidFloatKaratsubaConvolutionStrategy. subtract(DataStorage x1, DataStorage x2)private voidIntKaratsubaConvolutionStrategy. subtract(DataStorage x1, DataStorage x2)private voidLongKaratsubaConvolutionStrategy. subtract(DataStorage x1, DataStorage x2)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)Constructors in org.apfloat.internal with parameters of type DataStorage Constructor Description CarryCRTRunnable(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, DataStorage dataStorage, long size, long resultSize, long offset, long length, MessagePasser<java.lang.Long,T> messagePasser, CarryCRTStepStrategy<T> stepStrategy)ColumnTransformRunnable(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, double w, double ww, double w1, double w2, boolean isInverse)ColumnTransformRunnable(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, float w, float ww, float w1, float w2, boolean isInverse)ColumnTransformRunnable(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, int w, int ww, int w1, int w2, boolean isInverse)ColumnTransformRunnable(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long w, long ww, long w1, long w2, boolean isInverse)DoubleApfloatImpl(int sign, long precision, long exponent, DataStorage dataStorage, int radix)FloatApfloatImpl(int sign, long precision, long exponent, DataStorage dataStorage, int radix)IntApfloatImpl(int sign, long precision, long exponent, DataStorage dataStorage, int radix)LongApfloatImpl(int sign, long precision, long exponent, DataStorage dataStorage, int radix)MultiplyInPlaceRunnable(DataStorage sourceAndDestination, DataStorage source, long offset, long length)MultiplyInPlaceRunnable(DataStorage sourceAndDestination, DataStorage source, long offset, long length)MultiplyInPlaceRunnable(DataStorage sourceAndDestination, DataStorage source, long offset, long length)MultiplyInPlaceRunnable(DataStorage sourceAndDestination, DataStorage source, long offset, long length)SquareInPlaceRunnable(DataStorage sourceAndDestination, long offset, long length)SquareInPlaceRunnable(DataStorage sourceAndDestination, long offset, long length)SquareInPlaceRunnable(DataStorage sourceAndDestination, long offset, long length)SquareInPlaceRunnable(DataStorage sourceAndDestination, long offset, long length) -
Uses of DataStorage in org.apfloat.spi
Fields in org.apfloat.spi declared as DataStorage Modifier and Type Field Description private DataStorageDataStorage. originalDataStorageMethods in org.apfloat.spi that return DataStorage Modifier and Type Method Description DataStorageCarryCRTStrategy. carryCRT(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, long resultSize)Calculate the final result of a three-NTT convolution.DataStorageConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)Convolutes the two sets of data.DataStorageDataStorageBuilder. createCachedDataStorage(long size)Get a data storage that is cached in memory, if possible, for the requested size of data.DataStorageDataStorageBuilder. createDataStorage(long size)Get an appropriate type of data storage for the requested size of data.DataStorageDataStorageBuilder. 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.DataStorageDataStorage. subsequence(long offset, long length)Get a subsequence of this data storage.Methods in org.apfloat.spi with parameters of type DataStorage Modifier and Type Method Description TCarryCRTStepStrategy. 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.DataStorageCarryCRTStrategy. carryCRT(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, long resultSize)Calculate the final result of a three-NTT convolution.DataStorageConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)Convolutes the two sets of data.voidDataStorage. copyFrom(DataStorage dataStorage)Copies all data from another data storage to this data storage.voidDataStorage. copyFrom(DataStorage dataStorage, long size)Copies the specified number of elements from another data storage to this data storage.DataStorageDataStorageBuilder. createDataStorage(DataStorage dataStorage)Convert cached data storage to the appropriate normal data storage type.TCarryCRTStepStrategy. 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 DataStorage Constructor Description DataStorage(DataStorage dataStorage, long offset, long length)Subsequence constructor.
-