当前位置: 首页>>代码示例>>Java>>正文


Java CommonUtils.setThreadsBeginN_1D_FFT_4Threads方法代码示例

本文整理汇总了Java中org.jtransforms.utils.CommonUtils.setThreadsBeginN_1D_FFT_4Threads方法的典型用法代码示例。如果您正苦于以下问题:Java CommonUtils.setThreadsBeginN_1D_FFT_4Threads方法的具体用法?Java CommonUtils.setThreadsBeginN_1D_FFT_4Threads怎么用?Java CommonUtils.setThreadsBeginN_1D_FFT_4Threads使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.jtransforms.utils.CommonUtils的用法示例。


在下文中一共展示了CommonUtils.setThreadsBeginN_1D_FFT_4Threads方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: FloatFFT_1DTest

import org.jtransforms.utils.CommonUtils; //导入方法依赖的package包/类
/**
 * Creates a new instance of this class.
 *
 * @param n          the size of the FFT to be tested
 * @param numThreads the number of threads
 * @param seed       the seed of the random generator
 */
public FloatFFT_1DTest(final int n, final int numThreads, final long seed)
{
    this.n = n;
    this.fft = new FloatFFT_1D(n);
    LargeArray.setMaxSizeOf32bitArray(1);
    this.random = new Random(seed);
    CommonUtils.setThreadsBeginN_1D_FFT_2Threads(1024);
    CommonUtils.setThreadsBeginN_1D_FFT_4Threads(1024);
    ConcurrencyUtils.setNumberOfThreads(numThreads);
    this.numThreads = ConcurrencyUtils.getNumberOfThreads();
}
 
开发者ID:wendykierp,项目名称:JTransforms,代码行数:19,代码来源:FloatFFT_1DTest.java

示例2: DoubleFFT_1DTest

import org.jtransforms.utils.CommonUtils; //导入方法依赖的package包/类
/**
 * Creates a new instance of this class.
 *
 * @param n
 *                   the size of the FFT to be tested
 * @param numThreads
 *                   the number of threads
 * @param seed
 *                   the seed of the random generator
 */
public DoubleFFT_1DTest(final int n, final int numThreads, final long seed)
{
    this.n = n;
    LargeArray.setMaxSizeOf32bitArray(1);
    this.fft = new DoubleFFT_1D(n);
    this.random = new Random(seed);
    CommonUtils.setThreadsBeginN_1D_FFT_2Threads(1024);
    CommonUtils.setThreadsBeginN_1D_FFT_4Threads(1024);
    ConcurrencyUtils.setNumberOfThreads(numThreads);
    this.numThreads = ConcurrencyUtils.getNumberOfThreads();
}
 
开发者ID:wendykierp,项目名称:JTransforms,代码行数:22,代码来源:DoubleFFT_1DTest.java

示例3: FloatDST_1DTest

import org.jtransforms.utils.CommonUtils; //导入方法依赖的package包/类
/**
 * Creates a new instance of this class.
 *
 * @param n
 *                   the size of the DST to be tested
 * @param numThreads
 *                   the number of threads
 * @param seed
 *                   the seed of the random generator
 */
public FloatDST_1DTest(final int n, final int numThreads, final long seed)
{
    this.n = n;
    LargeArray.setMaxSizeOf32bitArray(1);
    this.dst = new FloatDST_1D(n);
    this.random = new Random(seed);
    CommonUtils.setThreadsBeginN_1D_FFT_2Threads(512);
    CommonUtils.setThreadsBeginN_1D_FFT_4Threads(512);
    ConcurrencyUtils.setNumberOfThreads(numThreads);
    this.numThreads = ConcurrencyUtils.getNumberOfThreads();
}
 
开发者ID:wendykierp,项目名称:JTransforms,代码行数:22,代码来源:FloatDST_1DTest.java

示例4: DoubleDST_1DTest

import org.jtransforms.utils.CommonUtils; //导入方法依赖的package包/类
/**
 * Creates a new instance of this class.
 *
 * @param n          the size of the DST to be tested
 * @param numThreads the number of threads
 * @param seed       the seed of the random generator
 */
public DoubleDST_1DTest(final int n, final int numThreads, final long seed)
{
    this.n = n;
    LargeArray.setMaxSizeOf32bitArray(1);
    this.dst = new DoubleDST_1D(n);
    this.random = new Random(seed);
    CommonUtils.setThreadsBeginN_1D_FFT_2Threads(1024);
    CommonUtils.setThreadsBeginN_1D_FFT_4Threads(1024);
    ConcurrencyUtils.setNumberOfThreads(numThreads);
    this.numThreads = ConcurrencyUtils.getNumberOfThreads();
}
 
开发者ID:wendykierp,项目名称:JTransforms,代码行数:19,代码来源:DoubleDST_1DTest.java

示例5: FloatDCT_1DTest

import org.jtransforms.utils.CommonUtils; //导入方法依赖的package包/类
/**
 * Creates a new instance of this class.
 *
 * @param n
 *                   the size of the DCT to be tested
 * @param numThreads
 *                   the number of threads
 * @param seed
 *                   the seed of the random generator
 */
public FloatDCT_1DTest(final int n, final int numThreads, final long seed)
{
    this.n = n;
    LargeArray.setMaxSizeOf32bitArray(1);
    this.dct = new FloatDCT_1D(n);
    this.random = new Random(seed);
    CommonUtils.setThreadsBeginN_1D_FFT_2Threads(1024);
    CommonUtils.setThreadsBeginN_1D_FFT_4Threads(1024);
    ConcurrencyUtils.setNumberOfThreads(numThreads);
    this.numThreads = ConcurrencyUtils.getNumberOfThreads();
}
 
开发者ID:wendykierp,项目名称:JTransforms,代码行数:22,代码来源:FloatDCT_1DTest.java

示例6: DoubleDCT_1DTest

import org.jtransforms.utils.CommonUtils; //导入方法依赖的package包/类
/**
 * Creates a new instance of this class.
 *
 * @param n          the size of the DCT to be tested
 * @param numThreads the number of threads
 * @param seed       the seed of the random generator
 */
public DoubleDCT_1DTest(final int n, final int numThreads, final long seed)
{
    this.n = n;
    LargeArray.setMaxSizeOf32bitArray(1);
    this.dct = new DoubleDCT_1D(n);
    this.random = new Random(seed);
    CommonUtils.setThreadsBeginN_1D_FFT_2Threads(1024);
    CommonUtils.setThreadsBeginN_1D_FFT_4Threads(1024);
    ConcurrencyUtils.setNumberOfThreads(numThreads);
    this.numThreads = ConcurrencyUtils.getNumberOfThreads();
}
 
开发者ID:wendykierp,项目名称:JTransforms,代码行数:19,代码来源:DoubleDCT_1DTest.java

示例7: DoubleDHT_1DTest

import org.jtransforms.utils.CommonUtils; //导入方法依赖的package包/类
/**
 * Creates a new instance of this class.
 *
 * @param n
 *                   the size of the DHT to be tested
 * @param numThreads
 *                   the number of threads
 * @param seed
 *                   the seed of the random generator
 */
public DoubleDHT_1DTest(final int n, final int numThreads, final long seed)
{
    this.n = n;
    LargeArray.setMaxSizeOf32bitArray(1);
    this.dht = new DoubleDHT_1D(n);
    this.random = new Random(seed);
    CommonUtils.setThreadsBeginN_1D_FFT_2Threads(1024);
    CommonUtils.setThreadsBeginN_1D_FFT_4Threads(1024);
    ConcurrencyUtils.setNumberOfThreads(numThreads);
    this.numThreads = ConcurrencyUtils.getNumberOfThreads();
}
 
开发者ID:wendykierp,项目名称:JTransforms,代码行数:22,代码来源:DoubleDHT_1DTest.java

示例8: FloatDHT_1DTest

import org.jtransforms.utils.CommonUtils; //导入方法依赖的package包/类
/**
 * Creates a new instance of this class.
 *
 * @param n          the size of the DHT to be tested
 * @param numThreads the number of threads
 * @param seed       the seed of the random generator
 */
public FloatDHT_1DTest(final int n, final int numThreads, final long seed)
{
    this.n = n;
    LargeArray.setMaxSizeOf32bitArray(1);
    this.dht = new FloatDHT_1D(n);
    this.random = new Random(seed);
    CommonUtils.setThreadsBeginN_1D_FFT_2Threads(1024);
    CommonUtils.setThreadsBeginN_1D_FFT_4Threads(1024);
    ConcurrencyUtils.setNumberOfThreads(numThreads);
    this.numThreads = ConcurrencyUtils.getNumberOfThreads();
}
 
开发者ID:wendykierp,项目名称:JTransforms,代码行数:19,代码来源:FloatDHT_1DTest.java


注:本文中的org.jtransforms.utils.CommonUtils.setThreadsBeginN_1D_FFT_4Threads方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。