├── .gitignore ├── .travis.yml ├── README.md ├── changelog.txt ├── license.txt ├── pom.xml └── src ├── benchmark ├── java │ └── cern │ │ ├── colt │ │ ├── map │ │ │ └── BenchmarkMap.java │ │ └── matrix │ │ │ ├── BenchmarkMatrix.java │ │ │ ├── BenchmarkMatrixKernel.java │ │ │ ├── Double2DProcedure.java │ │ │ ├── TimerProcedure.java │ │ │ ├── doc-files │ │ │ ├── usage.txt │ │ │ └── usage_dgemm.txt │ │ │ ├── package.html │ │ │ ├── tdcomplex │ │ │ └── impl │ │ │ │ ├── BenchmarkDenseDComplexMatrix1D.java │ │ │ │ ├── BenchmarkDenseDComplexMatrix2D.java │ │ │ │ └── BenchmarkDenseDComplexMatrix3D.java │ │ │ ├── tdouble │ │ │ ├── algo │ │ │ │ ├── SparseDoubleAlgebraBenchmark.java │ │ │ │ └── solver │ │ │ │ │ ├── AllDoubleSolversBenchmarks.java │ │ │ │ │ ├── DoubleCGAMGBenchmark.java │ │ │ │ │ ├── DoubleCGBenchmark.java │ │ │ │ │ ├── DoubleCGDiagonalBenchmark.java │ │ │ │ │ ├── DoubleCGICCBenchmark.java │ │ │ │ │ ├── DoubleCGILUBenchmark.java │ │ │ │ │ ├── DoubleCGILUTBenchmark.java │ │ │ │ │ ├── DoubleCGSSORBenchmark.java │ │ │ │ │ ├── DoubleHyBRBenchmark.java │ │ │ │ │ └── DoubleIterativeSolverBenchmark.java │ │ │ └── impl │ │ │ │ ├── AccuracyCheckDoubleFFT.java │ │ │ │ ├── Benchmark.java │ │ │ │ ├── BenchmarkDenseDoubleMatrix1D.java │ │ │ │ ├── BenchmarkDenseDoubleMatrix2D.java │ │ │ │ ├── BenchmarkDenseDoubleMatrix3D.java │ │ │ │ ├── BenchmarkDoubleFFT.java │ │ │ │ ├── BenchmarkMatrix2D.java │ │ │ │ ├── BenchmarkSparseCCDoubleMatrix2D.java │ │ │ │ └── BenchmarkSparseRCDoubleMatrix2D.java │ │ │ ├── tfcomplex │ │ │ └── impl │ │ │ │ ├── BenchmarkDenseFComplexMatrix1D.java │ │ │ │ ├── BenchmarkDenseFComplexMatrix2D.java │ │ │ │ └── BenchmarkDenseFComplexMatrix3D.java │ │ │ └── tfloat │ │ │ └── impl │ │ │ ├── AccuracyCheckFloatFFT.java │ │ │ ├── BenchmarkDenseFloatMatrix1D.java │ │ │ ├── BenchmarkDenseFloatMatrix2D.java │ │ │ ├── BenchmarkDenseFloatMatrix3D.java │ │ │ ├── BenchmarkFloatFFT.java │ │ │ ├── BenchmarkSparseCCFloatMatrix2D.java │ │ │ └── BenchmarkSparseRCFloatMatrix2D.java │ │ └── jet │ │ └── random │ │ ├── Benchmark.java │ │ └── engine │ │ └── Benchmark.java └── resources │ ├── benchmarkResults │ ├── BenchmarkDenseDoubleMatrix1D.txt │ ├── BenchmarkDenseDoubleMatrix2D.txt │ └── BenchmarkDenseDoubleMatrix3D.txt │ └── benchmarkSettings │ ├── iterativeSolverSettings.txt │ ├── settings1D.txt │ ├── settings2D.txt │ └── settings3D.txt ├── main └── java │ ├── cern │ ├── clhep │ │ ├── PhysicalConstants.java │ │ ├── Units.java │ │ └── package.html │ ├── colt │ │ ├── Arrays.java │ │ ├── GenericPermuting.java │ │ ├── GenericSorting.java │ │ ├── ParallelQuickSort.java │ │ ├── Partitioning.java │ │ ├── PersistentObject.java │ │ ├── Sorting.java │ │ ├── Swapper.java │ │ ├── Timer.java │ │ ├── Version.java │ │ ├── buffer │ │ │ ├── tboolean │ │ │ │ ├── BooleanBuffer.java │ │ │ │ ├── BooleanBuffer2D.java │ │ │ │ ├── BooleanBuffer2DConsumer.java │ │ │ │ ├── BooleanBuffer3D.java │ │ │ │ ├── BooleanBuffer3DConsumer.java │ │ │ │ ├── BooleanBufferConsumer.java │ │ │ │ └── package.html │ │ │ ├── tbyte │ │ │ │ ├── ByteBuffer.java │ │ │ │ ├── ByteBuffer2D.java │ │ │ │ ├── ByteBuffer2DConsumer.java │ │ │ │ ├── ByteBuffer3D.java │ │ │ │ ├── ByteBuffer3DConsumer.java │ │ │ │ ├── ByteBufferConsumer.java │ │ │ │ └── package.html │ │ │ ├── tchar │ │ │ │ ├── CharBuffer.java │ │ │ │ ├── CharBuffer2D.java │ │ │ │ ├── CharBuffer2DConsumer.java │ │ │ │ ├── CharBuffer3D.java │ │ │ │ ├── CharBuffer3DConsumer.java │ │ │ │ ├── CharBufferConsumer.java │ │ │ │ └── package.html │ │ │ ├── tdouble │ │ │ │ ├── DoubleBuffer.java │ │ │ │ ├── DoubleBuffer2D.java │ │ │ │ ├── DoubleBuffer2DConsumer.java │ │ │ │ ├── DoubleBuffer3D.java │ │ │ │ ├── DoubleBuffer3DConsumer.java │ │ │ │ ├── DoubleBufferConsumer.java │ │ │ │ └── package.html │ │ │ ├── tfloat │ │ │ │ ├── FloatBuffer.java │ │ │ │ ├── FloatBuffer2D.java │ │ │ │ ├── FloatBuffer2DConsumer.java │ │ │ │ ├── FloatBuffer3D.java │ │ │ │ ├── FloatBuffer3DConsumer.java │ │ │ │ ├── FloatBufferConsumer.java │ │ │ │ └── package.html │ │ │ ├── tint │ │ │ │ ├── IntBuffer.java │ │ │ │ ├── IntBuffer2D.java │ │ │ │ ├── IntBuffer2DConsumer.java │ │ │ │ ├── IntBuffer3D.java │ │ │ │ ├── IntBuffer3DConsumer.java │ │ │ │ ├── IntBufferConsumer.java │ │ │ │ └── package.html │ │ │ ├── tlong │ │ │ │ ├── LongBuffer.java │ │ │ │ ├── LongBuffer2D.java │ │ │ │ ├── LongBuffer2DConsumer.java │ │ │ │ ├── LongBuffer3D.java │ │ │ │ ├── LongBuffer3DConsumer.java │ │ │ │ ├── LongBufferConsumer.java │ │ │ │ └── package.html │ │ │ ├── tobject │ │ │ │ ├── ObjectBuffer.java │ │ │ │ ├── ObjectBufferConsumer.java │ │ │ │ └── package.html │ │ │ └── tshort │ │ │ │ ├── ShortBuffer.java │ │ │ │ ├── ShortBuffer2D.java │ │ │ │ ├── ShortBuffer2DConsumer.java │ │ │ │ ├── ShortBuffer3D.java │ │ │ │ ├── ShortBuffer3DConsumer.java │ │ │ │ ├── ShortBufferConsumer.java │ │ │ │ └── package.html │ │ ├── function │ │ │ ├── tboolean │ │ │ │ ├── BooleanProcedure.java │ │ │ │ └── package.html │ │ │ ├── tbyte │ │ │ │ ├── ByteComparator.java │ │ │ │ ├── ByteFunction.java │ │ │ │ ├── ByteProcedure.java │ │ │ │ └── package.html │ │ │ ├── tchar │ │ │ │ ├── CharComparator.java │ │ │ │ ├── CharProcedure.java │ │ │ │ └── package.html │ │ │ ├── tdcomplex │ │ │ │ ├── DComplexDComplexDComplexFunction.java │ │ │ │ ├── DComplexDComplexFunction.java │ │ │ │ ├── DComplexDComplexProcedure.java │ │ │ │ ├── DComplexDComplexRealFunction.java │ │ │ │ ├── DComplexDComplexRealProcedure.java │ │ │ │ ├── DComplexDComplexRealRealFunction.java │ │ │ │ ├── DComplexProcedure.java │ │ │ │ ├── DComplexRealDComplexFunction.java │ │ │ │ ├── DComplexRealFunction.java │ │ │ │ ├── IntIntDComplexFunction.java │ │ │ │ ├── RealDComplexDComplexFunction.java │ │ │ │ ├── RealDComplexFunction.java │ │ │ │ └── package.html │ │ │ ├── tdouble │ │ │ │ ├── Double27Function.java │ │ │ │ ├── Double5Function.java │ │ │ │ ├── Double9Function.java │ │ │ │ ├── DoubleComparator.java │ │ │ │ ├── DoubleDoubleFunction.java │ │ │ │ ├── DoubleDoubleProcedure.java │ │ │ │ ├── DoubleFunction.java │ │ │ │ ├── DoubleIntProcedure.java │ │ │ │ ├── DoubleLongProcedure.java │ │ │ │ ├── DoubleProcedure.java │ │ │ │ ├── IntDoubleFunction.java │ │ │ │ ├── IntDoubleProcedure.java │ │ │ │ ├── IntIntDoubleFunction.java │ │ │ │ ├── IntIntDoubleProcedure.java │ │ │ │ ├── LongDoubleProcedure.java │ │ │ │ └── package.html │ │ │ ├── tfcomplex │ │ │ │ ├── FComplexFComplexFComplexFunction.java │ │ │ │ ├── FComplexFComplexFunction.java │ │ │ │ ├── FComplexFComplexProcedure.java │ │ │ │ ├── FComplexFComplexRealFunction.java │ │ │ │ ├── FComplexFComplexRealProcedure.java │ │ │ │ ├── FComplexFComplexRealRealFunction.java │ │ │ │ ├── FComplexProcedure.java │ │ │ │ ├── FComplexRealFComplexFunction.java │ │ │ │ ├── FComplexRealFunction.java │ │ │ │ ├── IntIntFComplexFunction.java │ │ │ │ ├── RealFComplexFComplexFunction.java │ │ │ │ ├── RealFComplexFunction.java │ │ │ │ └── package.html │ │ │ ├── tfloat │ │ │ │ ├── Float27Function.java │ │ │ │ ├── Float9Function.java │ │ │ │ ├── FloatComparator.java │ │ │ │ ├── FloatFloatFunction.java │ │ │ │ ├── FloatFloatProcedure.java │ │ │ │ ├── FloatFunction.java │ │ │ │ ├── FloatIntProcedure.java │ │ │ │ ├── FloatLongProcedure.java │ │ │ │ ├── FloatProcedure.java │ │ │ │ ├── IntFloatProcedure.java │ │ │ │ ├── IntIntFloatFunction.java │ │ │ │ ├── LongFloatProcedure.java │ │ │ │ └── package.html │ │ │ ├── tint │ │ │ │ ├── IntComparator.java │ │ │ │ ├── IntFunction.java │ │ │ │ ├── IntIntFunction.java │ │ │ │ ├── IntIntIntFunction.java │ │ │ │ ├── IntIntIntProcedure.java │ │ │ │ ├── IntIntProcedure.java │ │ │ │ ├── IntProcedure.java │ │ │ │ └── package.html │ │ │ ├── tlong │ │ │ │ ├── IntIntLongFunction.java │ │ │ │ ├── IntLongProcedure.java │ │ │ │ ├── LongComparator.java │ │ │ │ ├── LongFunction.java │ │ │ │ ├── LongIntProcedure.java │ │ │ │ ├── LongLongFunction.java │ │ │ │ ├── LongLongLongProcedure.java │ │ │ │ ├── LongLongProcedure.java │ │ │ │ ├── LongProcedure.java │ │ │ │ └── package.html │ │ │ ├── tobject │ │ │ │ ├── IntIntObjectFunction.java │ │ │ │ ├── IntObjectProcedure.java │ │ │ │ ├── LongObjectProcedure.java │ │ │ │ ├── ObjectFunction.java │ │ │ │ ├── ObjectObjectFunction.java │ │ │ │ ├── ObjectProcedure.java │ │ │ │ └── package.html │ │ │ └── tshort │ │ │ │ ├── ShortComparator.java │ │ │ │ ├── ShortProcedure.java │ │ │ │ └── package.html │ │ ├── list │ │ │ ├── AbstractCollection.java │ │ │ ├── AbstractList.java │ │ │ ├── package.html │ │ │ ├── tboolean │ │ │ │ ├── AbstractBooleanList.java │ │ │ │ ├── BooleanArrayList.java │ │ │ │ └── package.html │ │ │ ├── tbyte │ │ │ │ ├── AbstractByteList.java │ │ │ │ ├── ByteArrayList.java │ │ │ │ └── package.html │ │ │ ├── tchar │ │ │ │ ├── AbstractCharList.java │ │ │ │ ├── CharArrayList.java │ │ │ │ └── package.html │ │ │ ├── tdouble │ │ │ │ ├── AbstractDoubleList.java │ │ │ │ ├── DoubleArrayList.java │ │ │ │ ├── DoubleListAdapter.java │ │ │ │ └── package.html │ │ │ ├── tfloat │ │ │ │ ├── AbstractFloatList.java │ │ │ │ ├── FloatArrayList.java │ │ │ │ ├── FloatListAdapter.java │ │ │ │ └── package.html │ │ │ ├── tint │ │ │ │ ├── AbstractIntList.java │ │ │ │ ├── IntArrayList.java │ │ │ │ ├── IntListAdapter.java │ │ │ │ └── package.html │ │ │ ├── tlong │ │ │ │ ├── AbstractLongList.java │ │ │ │ ├── DistinctNumberList.java │ │ │ │ ├── LongArrayList.java │ │ │ │ ├── LongListAdapter.java │ │ │ │ ├── MinMaxNumberList.java │ │ │ │ ├── SimpleLongArrayList.java │ │ │ │ └── package.html │ │ │ ├── tobject │ │ │ │ ├── ObjectArrayList.java │ │ │ │ ├── ObjectListAdapter.java │ │ │ │ └── package.html │ │ │ └── tshort │ │ │ │ ├── AbstractShortList.java │ │ │ │ ├── ShortArrayList.java │ │ │ │ └── package.html │ │ ├── map │ │ │ ├── AbstractMap.java │ │ │ ├── HashFunctions.java │ │ │ ├── PrimeFinder.java │ │ │ ├── package.html │ │ │ ├── tdouble │ │ │ │ ├── AbstractDoubleIntMap.java │ │ │ │ ├── AbstractDoubleLongMap.java │ │ │ │ ├── AbstractIntDoubleMap.java │ │ │ │ ├── AbstractLongDoubleMap.java │ │ │ │ ├── OpenDoubleIntHashMap.java │ │ │ │ ├── OpenDoubleLongHashMap.java │ │ │ │ ├── OpenIntDoubleHashMap.java │ │ │ │ ├── OpenLongDoubleHashMap.java │ │ │ │ └── package.html │ │ │ ├── tfloat │ │ │ │ ├── AbstractFloatIntMap.java │ │ │ │ ├── AbstractFloatLongMap.java │ │ │ │ ├── AbstractIntFloatMap.java │ │ │ │ ├── AbstractLongFloatMap.java │ │ │ │ ├── OpenFloatIntHashMap.java │ │ │ │ ├── OpenFloatLongHashMap.java │ │ │ │ ├── OpenIntFloatHashMap.java │ │ │ │ ├── OpenLongFloatHashMap.java │ │ │ │ └── package.html │ │ │ ├── tint │ │ │ │ ├── AbstractIntIntMap.java │ │ │ │ ├── OpenIntIntHashMap.java │ │ │ │ ├── QuickOpenIntIntHashMap.java │ │ │ │ └── package.html │ │ │ ├── tlong │ │ │ │ ├── AbstractIntLongMap.java │ │ │ │ ├── AbstractLongIntMap.java │ │ │ │ ├── AbstractLongLongMap.java │ │ │ │ ├── OpenIntLongHashMap.java │ │ │ │ ├── OpenLongIntHashMap.java │ │ │ │ ├── OpenLongLongHashMap.java │ │ │ │ └── package.html │ │ │ └── tobject │ │ │ │ ├── AbstractIntObjectMap.java │ │ │ │ ├── AbstractLongObjectMap.java │ │ │ │ ├── OpenIntObjectHashMap.java │ │ │ │ ├── OpenLongObjectHashMap.java │ │ │ │ └── package.html │ │ ├── matrix │ │ │ ├── AbstractFormatter.java │ │ │ ├── AbstractMatrix.java │ │ │ ├── AbstractMatrix1D.java │ │ │ ├── AbstractMatrix2D.java │ │ │ ├── AbstractMatrix3D.java │ │ │ ├── Former.java │ │ │ ├── FormerFactory.java │ │ │ ├── Norm.java │ │ │ ├── Transpose.java │ │ │ ├── doc-files │ │ │ │ ├── PerformanceLogFrame.html │ │ │ │ ├── allColt1.0.1ibm1.3LxPIII.txt │ │ │ │ ├── dgemmColt1.0.1ibm1.3LxPIII_1.txt │ │ │ │ ├── dgemmColt1.0.1ibm1.3LxPIII_2.txt │ │ │ │ ├── function1.html │ │ │ │ ├── function2.html │ │ │ │ ├── function3.html │ │ │ │ ├── function4.html │ │ │ │ ├── functionObjects.html │ │ │ │ ├── out6 │ │ │ │ ├── out8 │ │ │ │ ├── perfBlackdown122RC3.txt │ │ │ │ ├── perfBlackdown12pre2.txt │ │ │ │ ├── perfBlackdown12pre2with350Mhz.txt │ │ │ │ ├── perfIBM118.txt │ │ │ │ ├── perfIBM118Linux.txt │ │ │ │ ├── perfSun122classicNT.txt │ │ │ │ ├── perfSun122classicSun450.txt │ │ │ │ ├── perfSunInprise122RC1.txt │ │ │ │ ├── performanceLog.html │ │ │ │ ├── performanceNotes.html │ │ │ │ ├── semanticsOfViews.html │ │ │ │ ├── slice.gif │ │ │ │ └── sparse.html │ │ │ ├── io │ │ │ │ ├── MatrixInfo.java │ │ │ │ ├── MatrixSize.java │ │ │ │ ├── MatrixVectorReader.java │ │ │ │ ├── MatrixVectorWriter.java │ │ │ │ ├── VectorInfo.java │ │ │ │ ├── VectorSize.java │ │ │ │ └── package.html │ │ │ ├── package.html │ │ │ ├── tbit │ │ │ │ ├── BitMatrix.java │ │ │ │ ├── BitVector.java │ │ │ │ ├── QuickBitVector.java │ │ │ │ └── package.html │ │ │ ├── tdcomplex │ │ │ │ ├── DComplexFactory1D.java │ │ │ │ ├── DComplexFactory2D.java │ │ │ │ ├── DComplexFactory3D.java │ │ │ │ ├── DComplexMatrix1D.java │ │ │ │ ├── DComplexMatrix1DProcedure.java │ │ │ │ ├── DComplexMatrix2D.java │ │ │ │ ├── DComplexMatrix2DProcedure.java │ │ │ │ ├── DComplexMatrix3D.java │ │ │ │ ├── algo │ │ │ │ │ ├── DComplexProperty.java │ │ │ │ │ ├── DenseDComplexAlgebra.java │ │ │ │ │ ├── SparseDComplexAlgebra.java │ │ │ │ │ ├── decomposition │ │ │ │ │ │ ├── SparseDComplexCholeskyDecomposition.java │ │ │ │ │ │ ├── SparseDComplexLUDecomposition.java │ │ │ │ │ │ ├── SparseDComplexQRDecomposition.java │ │ │ │ │ │ └── package.html │ │ │ │ │ └── package.html │ │ │ │ ├── impl │ │ │ │ │ ├── DelegateDComplexMatrix1D.java │ │ │ │ │ ├── DelegateDComplexMatrix2D.java │ │ │ │ │ ├── DenseColumnDComplexMatrix2D.java │ │ │ │ │ ├── DenseDComplexMatrix1D.java │ │ │ │ │ ├── DenseDComplexMatrix2D.java │ │ │ │ │ ├── DenseDComplexMatrix3D.java │ │ │ │ │ ├── DenseLargeDComplexMatrix2D.java │ │ │ │ │ ├── DenseLargeDComplexMatrix3D.java │ │ │ │ │ ├── DiagonalDComplexMatrix2D.java │ │ │ │ │ ├── SelectedDenseColumnDComplexMatrix2D.java │ │ │ │ │ ├── SelectedDenseDComplexMatrix1D.java │ │ │ │ │ ├── SelectedDenseDComplexMatrix2D.java │ │ │ │ │ ├── SelectedDenseDComplexMatrix3D.java │ │ │ │ │ ├── SelectedSparseDComplexMatrix1D.java │ │ │ │ │ ├── SelectedSparseDComplexMatrix2D.java │ │ │ │ │ ├── SelectedSparseDComplexMatrix3D.java │ │ │ │ │ ├── SparseCCDComplexMatrix2D.java │ │ │ │ │ ├── SparseCCMDComplexMatrix2D.java │ │ │ │ │ ├── SparseDComplexMatrix1D.java │ │ │ │ │ ├── SparseDComplexMatrix2D.java │ │ │ │ │ ├── SparseDComplexMatrix3D.java │ │ │ │ │ ├── SparseRCDComplexMatrix2D.java │ │ │ │ │ ├── SparseRCMDComplexMatrix2D.java │ │ │ │ │ ├── WrapperDComplexMatrix1D.java │ │ │ │ │ ├── WrapperDComplexMatrix2D.java │ │ │ │ │ ├── WrapperDComplexMatrix3D.java │ │ │ │ │ └── package.html │ │ │ │ └── package.html │ │ │ ├── tdouble │ │ │ │ ├── DoubleFactory1D.java │ │ │ │ ├── DoubleFactory2D.java │ │ │ │ ├── DoubleFactory3D.java │ │ │ │ ├── DoubleMatrix1D.java │ │ │ │ ├── DoubleMatrix1DProcedure.java │ │ │ │ ├── DoubleMatrix2D.java │ │ │ │ ├── DoubleMatrix2DProcedure.java │ │ │ │ ├── DoubleMatrix3D.java │ │ │ │ ├── DoubleMatrix3DProcedure.java │ │ │ │ ├── algo │ │ │ │ │ ├── DenseDoubleAlgebra.java │ │ │ │ │ ├── DoubleBlas.java │ │ │ │ │ ├── DoubleFormatter.java │ │ │ │ │ ├── DoubleMatrix1DComparator.java │ │ │ │ │ ├── DoubleMatrix2DComparator.java │ │ │ │ │ ├── DoubleMatrix2DMatrix2DFunction.java │ │ │ │ │ ├── DoublePartitioning.java │ │ │ │ │ ├── DoubleProperty.java │ │ │ │ │ ├── DoubleSorting.java │ │ │ │ │ ├── DoubleStatistic.java │ │ │ │ │ ├── DoubleStencil.java │ │ │ │ │ ├── SmpDoubleBlas.java │ │ │ │ │ ├── SparseDoubleAlgebra.java │ │ │ │ │ ├── decomposition │ │ │ │ │ │ ├── CSparseDoubleLUDecomposition.java │ │ │ │ │ │ ├── DenseDoubleCholeskyDecomposition.java │ │ │ │ │ │ ├── DenseDoubleEigenvalueDecomposition.java │ │ │ │ │ │ ├── DenseDoubleLUDecomposition.java │ │ │ │ │ │ ├── DenseDoubleLUDecompositionQuick.java │ │ │ │ │ │ ├── DenseDoubleQRDecomposition.java │ │ │ │ │ │ ├── DenseDoubleSingularValueDecomposition.java │ │ │ │ │ │ ├── SparseDoubleCholeskyDecomposition.java │ │ │ │ │ │ ├── SparseDoubleKLUDecomposition.java │ │ │ │ │ │ ├── SparseDoubleLUDecomposition.java │ │ │ │ │ │ ├── SparseDoubleQRDecomposition.java │ │ │ │ │ │ └── package.html │ │ │ │ │ ├── package.html │ │ │ │ │ └── solver │ │ │ │ │ │ ├── AbstractDoubleIterationMonitor.java │ │ │ │ │ │ ├── AbstractDoubleIterativeSolver.java │ │ │ │ │ │ ├── CGLSDoubleIterationMonitor.java │ │ │ │ │ │ ├── DefaultDoubleIterationMonitor.java │ │ │ │ │ │ ├── DoubleBiCG.java │ │ │ │ │ │ ├── DoubleBiCGstab.java │ │ │ │ │ │ ├── DoubleCG.java │ │ │ │ │ │ ├── DoubleCGLS.java │ │ │ │ │ │ ├── DoubleCGS.java │ │ │ │ │ │ ├── DoubleChebyshev.java │ │ │ │ │ │ ├── DoubleGMRES.java │ │ │ │ │ │ ├── DoubleGivensRotation.java │ │ │ │ │ │ ├── DoubleHyBR.java │ │ │ │ │ │ ├── DoubleIR.java │ │ │ │ │ │ ├── DoubleIterationMonitor.java │ │ │ │ │ │ ├── DoubleIterationReporter.java │ │ │ │ │ │ ├── DoubleIterativeSolver.java │ │ │ │ │ │ ├── DoubleMRNSD.java │ │ │ │ │ │ ├── DoubleNotConvergedException.java │ │ │ │ │ │ ├── DoubleQMR.java │ │ │ │ │ │ ├── HyBRDoubleIterationMonitor.java │ │ │ │ │ │ ├── HyBRInnerSolver.java │ │ │ │ │ │ ├── HyBRRegularizationMethod.java │ │ │ │ │ │ ├── IterativeSolverDoubleNotConvergedException.java │ │ │ │ │ │ ├── MRNSDDoubleIterationMonitor.java │ │ │ │ │ │ ├── NoDoubleIterationReporter.java │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ └── preconditioner │ │ │ │ │ │ ├── DoubleAMG.java │ │ │ │ │ │ ├── DoubleDiagonal.java │ │ │ │ │ │ ├── DoubleICC.java │ │ │ │ │ │ ├── DoubleILU.java │ │ │ │ │ │ ├── DoubleILUT.java │ │ │ │ │ │ ├── DoubleIdentity.java │ │ │ │ │ │ ├── DoublePreconditioner.java │ │ │ │ │ │ ├── DoubleSSOR.java │ │ │ │ │ │ └── package.html │ │ │ │ ├── impl │ │ │ │ │ ├── DelegateDoubleMatrix1D.java │ │ │ │ │ ├── DelegateDoubleMatrix2D.java │ │ │ │ │ ├── DenseColumnDoubleMatrix2D.java │ │ │ │ │ ├── DenseDoubleMatrix1D.java │ │ │ │ │ ├── DenseDoubleMatrix2D.java │ │ │ │ │ ├── DenseDoubleMatrix3D.java │ │ │ │ │ ├── DenseLargeDoubleMatrix2D.java │ │ │ │ │ ├── DenseLargeDoubleMatrix3D.java │ │ │ │ │ ├── DiagonalDoubleMatrix2D.java │ │ │ │ │ ├── SelectedDenseColumnDoubleMatrix2D.java │ │ │ │ │ ├── SelectedDenseDoubleMatrix1D.java │ │ │ │ │ ├── SelectedDenseDoubleMatrix2D.java │ │ │ │ │ ├── SelectedDenseDoubleMatrix3D.java │ │ │ │ │ ├── SelectedSparseDoubleMatrix1D.java │ │ │ │ │ ├── SelectedSparseDoubleMatrix2D.java │ │ │ │ │ ├── SelectedSparseDoubleMatrix3D.java │ │ │ │ │ ├── SparseCCDoubleMatrix2D.java │ │ │ │ │ ├── SparseCCMDoubleMatrix2D.java │ │ │ │ │ ├── SparseDoubleMatrix1D.java │ │ │ │ │ ├── SparseDoubleMatrix2D.java │ │ │ │ │ ├── SparseDoubleMatrix3D.java │ │ │ │ │ ├── SparseRCDoubleMatrix2D.java │ │ │ │ │ ├── SparseRCMDoubleMatrix2D.java │ │ │ │ │ ├── WrapperDoubleMatrix1D.java │ │ │ │ │ ├── WrapperDoubleMatrix2D.java │ │ │ │ │ ├── WrapperDoubleMatrix3D.java │ │ │ │ │ └── package.html │ │ │ │ └── package.html │ │ │ ├── tfcomplex │ │ │ │ ├── FComplexFactory1D.java │ │ │ │ ├── FComplexFactory2D.java │ │ │ │ ├── FComplexFactory3D.java │ │ │ │ ├── FComplexMatrix1D.java │ │ │ │ ├── FComplexMatrix1DProcedure.java │ │ │ │ ├── FComplexMatrix2D.java │ │ │ │ ├── FComplexMatrix2DProcedure.java │ │ │ │ ├── FComplexMatrix3D.java │ │ │ │ ├── algo │ │ │ │ │ ├── FComplexProperty.java │ │ │ │ │ └── package.html │ │ │ │ ├── impl │ │ │ │ │ ├── DelegateFComplexMatrix1D.java │ │ │ │ │ ├── DelegateFComplexMatrix2D.java │ │ │ │ │ ├── DenseColumnFComplexMatrix2D.java │ │ │ │ │ ├── DenseFComplexMatrix1D.java │ │ │ │ │ ├── DenseFComplexMatrix2D.java │ │ │ │ │ ├── DenseFComplexMatrix3D.java │ │ │ │ │ ├── DenseLargeFComplexMatrix2D.java │ │ │ │ │ ├── DenseLargeFComplexMatrix3D.java │ │ │ │ │ ├── DiagonalFComplexMatrix2D.java │ │ │ │ │ ├── SelectedDenseColumnFComplexMatrix2D.java │ │ │ │ │ ├── SelectedDenseFComplexMatrix1D.java │ │ │ │ │ ├── SelectedDenseFComplexMatrix2D.java │ │ │ │ │ ├── SelectedDenseFComplexMatrix3D.java │ │ │ │ │ ├── SelectedSparseFComplexMatrix1D.java │ │ │ │ │ ├── SelectedSparseFComplexMatrix2D.java │ │ │ │ │ ├── SelectedSparseFComplexMatrix3D.java │ │ │ │ │ ├── SparseCCFComplexMatrix2D.java │ │ │ │ │ ├── SparseCCMFComplexMatrix2D.java │ │ │ │ │ ├── SparseFComplexMatrix1D.java │ │ │ │ │ ├── SparseFComplexMatrix2D.java │ │ │ │ │ ├── SparseFComplexMatrix3D.java │ │ │ │ │ ├── SparseRCFComplexMatrix2D.java │ │ │ │ │ ├── SparseRCMFComplexMatrix2D.java │ │ │ │ │ ├── WrapperFComplexMatrix1D.java │ │ │ │ │ ├── WrapperFComplexMatrix2D.java │ │ │ │ │ ├── WrapperFComplexMatrix3D.java │ │ │ │ │ └── package.html │ │ │ │ └── package.html │ │ │ ├── tfloat │ │ │ │ ├── FloatFactory1D.java │ │ │ │ ├── FloatFactory2D.java │ │ │ │ ├── FloatFactory3D.java │ │ │ │ ├── FloatMatrix1D.java │ │ │ │ ├── FloatMatrix1DProcedure.java │ │ │ │ ├── FloatMatrix2D.java │ │ │ │ ├── FloatMatrix2DProcedure.java │ │ │ │ ├── FloatMatrix3D.java │ │ │ │ ├── FloatMatrix3DProcedure.java │ │ │ │ ├── algo │ │ │ │ │ ├── DenseFloatAlgebra.java │ │ │ │ │ ├── FloatBlas.java │ │ │ │ │ ├── FloatFormatter.java │ │ │ │ │ ├── FloatMatrix1DComparator.java │ │ │ │ │ ├── FloatMatrix2DComparator.java │ │ │ │ │ ├── FloatMatrix2DMatrix2DFunction.java │ │ │ │ │ ├── FloatPartitioning.java │ │ │ │ │ ├── FloatProperty.java │ │ │ │ │ ├── FloatSorting.java │ │ │ │ │ ├── FloatStatistic.java │ │ │ │ │ ├── FloatStencil.java │ │ │ │ │ ├── SmpFloatBlas.java │ │ │ │ │ ├── SparseFloatAlgebra.java │ │ │ │ │ ├── decomposition │ │ │ │ │ │ ├── DenseFloatCholeskyDecomposition.java │ │ │ │ │ │ ├── DenseFloatEigenvalueDecomposition.java │ │ │ │ │ │ ├── DenseFloatLUDecomposition.java │ │ │ │ │ │ ├── DenseFloatLUDecompositionQuick.java │ │ │ │ │ │ ├── DenseFloatQRDecomposition.java │ │ │ │ │ │ ├── DenseFloatSingularValueDecomposition.java │ │ │ │ │ │ ├── SparseFloatCholeskyDecomposition.java │ │ │ │ │ │ ├── SparseFloatLUDecomposition.java │ │ │ │ │ │ ├── SparseFloatQRDecomposition.java │ │ │ │ │ │ └── package.html │ │ │ │ │ ├── package.html │ │ │ │ │ └── solver │ │ │ │ │ │ ├── AbstractFloatIterationMonitor.java │ │ │ │ │ │ ├── AbstractFloatIterativeSolver.java │ │ │ │ │ │ ├── CGLSFloatIterationMonitor.java │ │ │ │ │ │ ├── DefaultFloatIterationMonitor.java │ │ │ │ │ │ ├── FloatBiCG.java │ │ │ │ │ │ ├── FloatBiCGstab.java │ │ │ │ │ │ ├── FloatCG.java │ │ │ │ │ │ ├── FloatCGLS.java │ │ │ │ │ │ ├── FloatCGS.java │ │ │ │ │ │ ├── FloatChebyshev.java │ │ │ │ │ │ ├── FloatGMRES.java │ │ │ │ │ │ ├── FloatGivensRotation.java │ │ │ │ │ │ ├── FloatHyBR.java │ │ │ │ │ │ ├── FloatIR.java │ │ │ │ │ │ ├── FloatIterationMonitor.java │ │ │ │ │ │ ├── FloatIterationReporter.java │ │ │ │ │ │ ├── FloatIterativeSolver.java │ │ │ │ │ │ ├── FloatMRNSD.java │ │ │ │ │ │ ├── FloatNotConvergedException.java │ │ │ │ │ │ ├── FloatQMR.java │ │ │ │ │ │ ├── HyBRFloatIterationMonitor.java │ │ │ │ │ │ ├── IterativeSolverFloatNotConvergedException.java │ │ │ │ │ │ ├── MRNSDFloatIterationMonitor.java │ │ │ │ │ │ ├── NoFloatIterationReporter.java │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ └── preconditioner │ │ │ │ │ │ ├── FloatAMG.java │ │ │ │ │ │ ├── FloatDiagonal.java │ │ │ │ │ │ ├── FloatICC.java │ │ │ │ │ │ ├── FloatILU.java │ │ │ │ │ │ ├── FloatILUT.java │ │ │ │ │ │ ├── FloatIdentity.java │ │ │ │ │ │ ├── FloatPreconditioner.java │ │ │ │ │ │ ├── FloatSSOR.java │ │ │ │ │ │ └── package.html │ │ │ │ ├── impl │ │ │ │ │ ├── DelegateFloatMatrix1D.java │ │ │ │ │ ├── DelegateFloatMatrix2D.java │ │ │ │ │ ├── DenseColumnFloatMatrix2D.java │ │ │ │ │ ├── DenseFloatMatrix1D.java │ │ │ │ │ ├── DenseFloatMatrix2D.java │ │ │ │ │ ├── DenseFloatMatrix3D.java │ │ │ │ │ ├── DenseLargeFloatMatrix2D.java │ │ │ │ │ ├── DenseLargeFloatMatrix3D.java │ │ │ │ │ ├── DiagonalFloatMatrix2D.java │ │ │ │ │ ├── SelectedDenseColumnFloatMatrix2D.java │ │ │ │ │ ├── SelectedDenseFloatMatrix1D.java │ │ │ │ │ ├── SelectedDenseFloatMatrix2D.java │ │ │ │ │ ├── SelectedDenseFloatMatrix3D.java │ │ │ │ │ ├── SelectedSparseFloatMatrix1D.java │ │ │ │ │ ├── SelectedSparseFloatMatrix2D.java │ │ │ │ │ ├── SelectedSparseFloatMatrix3D.java │ │ │ │ │ ├── SparseCCFloatMatrix2D.java │ │ │ │ │ ├── SparseCCMFloatMatrix2D.java │ │ │ │ │ ├── SparseFloatMatrix1D.java │ │ │ │ │ ├── SparseFloatMatrix2D.java │ │ │ │ │ ├── SparseFloatMatrix3D.java │ │ │ │ │ ├── SparseRCFloatMatrix2D.java │ │ │ │ │ ├── SparseRCMFloatMatrix2D.java │ │ │ │ │ ├── WrapperFloatMatrix1D.java │ │ │ │ │ ├── WrapperFloatMatrix2D.java │ │ │ │ │ ├── WrapperFloatMatrix3D.java │ │ │ │ │ └── package.html │ │ │ │ └── package.html │ │ │ ├── tint │ │ │ │ ├── IntFactory1D.java │ │ │ │ ├── IntFactory2D.java │ │ │ │ ├── IntFactory3D.java │ │ │ │ ├── IntMatrix1D.java │ │ │ │ ├── IntMatrix1DProcedure.java │ │ │ │ ├── IntMatrix2D.java │ │ │ │ ├── IntMatrix2DProcedure.java │ │ │ │ ├── IntMatrix3D.java │ │ │ │ ├── IntMatrix3DProcedure.java │ │ │ │ ├── algo │ │ │ │ │ ├── IntFormatter.java │ │ │ │ │ ├── IntMatrix1DComparator.java │ │ │ │ │ ├── IntMatrix2DComparator.java │ │ │ │ │ ├── IntProperty.java │ │ │ │ │ ├── IntSorting.java │ │ │ │ │ └── package.html │ │ │ │ ├── impl │ │ │ │ │ ├── DelegateIntMatrix1D.java │ │ │ │ │ ├── DelegateLongMatrix2D.java │ │ │ │ │ ├── DenseColumnIntMatrix2D.java │ │ │ │ │ ├── DenseIntMatrix1D.java │ │ │ │ │ ├── DenseIntMatrix2D.java │ │ │ │ │ ├── DenseIntMatrix3D.java │ │ │ │ │ ├── DenseLargeIntMatrix2D.java │ │ │ │ │ ├── DenseLargeIntMatrix3D.java │ │ │ │ │ ├── DiagonalIntMatrix2D.java │ │ │ │ │ ├── SelectedDenseColumnLongMatrix2D.java │ │ │ │ │ ├── SelectedDenseIntMatrix1D.java │ │ │ │ │ ├── SelectedDenseIntMatrix2D.java │ │ │ │ │ ├── SelectedDenseIntMatrix3D.java │ │ │ │ │ ├── SelectedSparseIntMatrix1D.java │ │ │ │ │ ├── SelectedSparseIntMatrix2D.java │ │ │ │ │ ├── SelectedSparseIntMatrix3D.java │ │ │ │ │ ├── SparseCCIntMatrix2D.java │ │ │ │ │ ├── SparseCCMIntMatrix2D.java │ │ │ │ │ ├── SparseIntMatrix1D.java │ │ │ │ │ ├── SparseIntMatrix2D.java │ │ │ │ │ ├── SparseIntMatrix3D.java │ │ │ │ │ ├── SparseRCIntMatrix2D.java │ │ │ │ │ ├── SparseRCMIntMatrix2D.java │ │ │ │ │ ├── WrapperIntMatrix1D.java │ │ │ │ │ ├── WrapperIntMatrix2D.java │ │ │ │ │ ├── WrapperIntMatrix3D.java │ │ │ │ │ └── package.html │ │ │ │ └── package.html │ │ │ ├── tlong │ │ │ │ ├── LongFactory1D.java │ │ │ │ ├── LongFactory2D.java │ │ │ │ ├── LongFactory3D.java │ │ │ │ ├── LongMatrix1D.java │ │ │ │ ├── LongMatrix1DProcedure.java │ │ │ │ ├── LongMatrix2D.java │ │ │ │ ├── LongMatrix2DProcedure.java │ │ │ │ ├── LongMatrix3D.java │ │ │ │ ├── LongMatrix3DProcedure.java │ │ │ │ ├── algo │ │ │ │ │ ├── LongFormatter.java │ │ │ │ │ ├── LongMatrix1DComparator.java │ │ │ │ │ ├── LongMatrix2DComparator.java │ │ │ │ │ ├── LongProperty.java │ │ │ │ │ ├── LongSorting.java │ │ │ │ │ └── package.html │ │ │ │ ├── impl │ │ │ │ │ ├── DelegateLongMatrix1D.java │ │ │ │ │ ├── DelegateLongMatrix2D.java │ │ │ │ │ ├── DenseColumnLongMatrix2D.java │ │ │ │ │ ├── DenseLargeLongMatrix2D.java │ │ │ │ │ ├── DenseLargeLongMatrix3D.java │ │ │ │ │ ├── DenseLongMatrix1D.java │ │ │ │ │ ├── DenseLongMatrix2D.java │ │ │ │ │ ├── DenseLongMatrix3D.java │ │ │ │ │ ├── DiagonalLongMatrix2D.java │ │ │ │ │ ├── SelectedDenseColumnLongMatrix2D.java │ │ │ │ │ ├── SelectedDenseLongMatrix1D.java │ │ │ │ │ ├── SelectedDenseLongMatrix2D.java │ │ │ │ │ ├── SelectedDenseLongMatrix3D.java │ │ │ │ │ ├── SelectedSparseLongMatrix1D.java │ │ │ │ │ ├── SelectedSparseLongMatrix2D.java │ │ │ │ │ ├── SelectedSparseLongMatrix3D.java │ │ │ │ │ ├── SparseCCLongMatrix2D.java │ │ │ │ │ ├── SparseCCMLongMatrix2D.java │ │ │ │ │ ├── SparseLongMatrix1D.java │ │ │ │ │ ├── SparseLongMatrix2D.java │ │ │ │ │ ├── SparseLongMatrix3D.java │ │ │ │ │ ├── SparseRCLongMatrix2D.java │ │ │ │ │ ├── SparseRCMLongMatrix2D.java │ │ │ │ │ ├── WrapperLongMatrix1D.java │ │ │ │ │ ├── WrapperLongMatrix2D.java │ │ │ │ │ ├── WrapperLongMatrix3D.java │ │ │ │ │ └── package.html │ │ │ │ └── package.html │ │ │ └── tobject │ │ │ │ ├── ObjectFactory1D.java │ │ │ │ ├── ObjectFactory2D.java │ │ │ │ ├── ObjectFactory3D.java │ │ │ │ ├── ObjectMatrix1D.java │ │ │ │ ├── ObjectMatrix1DProcedure.java │ │ │ │ ├── ObjectMatrix2D.java │ │ │ │ ├── ObjectMatrix2DProcedure.java │ │ │ │ ├── ObjectMatrix3D.java │ │ │ │ ├── ObjectMatrix3DProcedure.java │ │ │ │ ├── algo │ │ │ │ ├── ObjectFormatter.java │ │ │ │ ├── ObjectMatrix1DComparator.java │ │ │ │ ├── ObjectMatrix2DComparator.java │ │ │ │ ├── ObjectPartitioning.java │ │ │ │ ├── ObjectSorting.java │ │ │ │ └── package.html │ │ │ │ ├── impl │ │ │ │ ├── DelegateObjectMatrix1D.java │ │ │ │ ├── DelegateObjectMatrix2D.java │ │ │ │ ├── DenseColumnObjectMatrix2D.java │ │ │ │ ├── DenseLargeObjectMatrix2D.java │ │ │ │ ├── DenseLargeObjectMatrix3D.java │ │ │ │ ├── DenseObjectMatrix1D.java │ │ │ │ ├── DenseObjectMatrix2D.java │ │ │ │ ├── DenseObjectMatrix3D.java │ │ │ │ ├── DiagonalObjectMatrix2D.java │ │ │ │ ├── SelectedDenseColumnObjectMatrix2D.java │ │ │ │ ├── SelectedDenseObjectMatrix1D.java │ │ │ │ ├── SelectedDenseObjectMatrix2D.java │ │ │ │ ├── SelectedDenseObjectMatrix3D.java │ │ │ │ ├── SelectedSparseObjectMatrix1D.java │ │ │ │ ├── SelectedSparseObjectMatrix2D.java │ │ │ │ ├── SelectedSparseObjectMatrix3D.java │ │ │ │ ├── SparseCCMObjectMatrix2D.java │ │ │ │ ├── SparseCCObjectMatrix2D.java │ │ │ │ ├── SparseObjectMatrix1D.java │ │ │ │ ├── SparseObjectMatrix2D.java │ │ │ │ ├── SparseObjectMatrix3D.java │ │ │ │ ├── SparseRCMObjectMatrix2D.java │ │ │ │ ├── SparseRCObjectMatrix2D.java │ │ │ │ ├── WrapperObjectMatrix1D.java │ │ │ │ ├── WrapperObjectMatrix2D.java │ │ │ │ ├── WrapperObjectMatrix3D.java │ │ │ │ └── package.html │ │ │ │ └── package.html │ │ └── package.html │ └── jet │ │ ├── math │ │ ├── tdcomplex │ │ │ ├── DComplex.java │ │ │ ├── DComplexFunctions.java │ │ │ ├── DComplexMult.java │ │ │ ├── DComplexPlusMultFirst.java │ │ │ ├── DComplexPlusMultSecond.java │ │ │ └── package.html │ │ ├── tdouble │ │ │ ├── Bessel.java │ │ │ ├── DoubleArithmetic.java │ │ │ ├── DoubleConstants.java │ │ │ ├── DoubleFunctions.java │ │ │ ├── DoubleMult.java │ │ │ ├── DoublePlusMultFirst.java │ │ │ ├── DoublePlusMultSecond.java │ │ │ ├── Polynomial.java │ │ │ └── package.html │ │ ├── tfcomplex │ │ │ ├── FComplex.java │ │ │ ├── FComplexFunctions.java │ │ │ ├── FComplexMult.java │ │ │ ├── FComplexPlusMultFirst.java │ │ │ ├── FComplexPlusMultSecond.java │ │ │ └── package.html │ │ ├── tfloat │ │ │ ├── FloatArithmetic.java │ │ │ ├── FloatConstants.java │ │ │ ├── FloatFunctions.java │ │ │ ├── FloatMult.java │ │ │ ├── FloatPlusMultFirst.java │ │ │ ├── FloatPlusMultSecond.java │ │ │ └── package.html │ │ ├── tint │ │ │ ├── IntFunctions.java │ │ │ ├── IntMult.java │ │ │ ├── IntPlusMultFirst.java │ │ │ ├── IntPlusMultSecond.java │ │ │ └── package.html │ │ └── tlong │ │ │ ├── LongFunctions.java │ │ │ ├── LongMult.java │ │ │ ├── LongPlusMultFirst.java │ │ │ ├── LongPlusMultSecond.java │ │ │ └── package.html │ │ ├── random │ │ ├── tdouble │ │ │ ├── AbstractContinousDoubleDistribution.java │ │ │ ├── AbstractDiscreteDistribution.java │ │ │ ├── AbstractDoubleDistribution.java │ │ │ ├── Beta.java │ │ │ ├── Binomial.java │ │ │ ├── BreitWigner.java │ │ │ ├── BreitWignerMeanSquare.java │ │ │ ├── ChiSquare.java │ │ │ ├── Distributions.java │ │ │ ├── DoubleUniform.java │ │ │ ├── Empirical.java │ │ │ ├── EmpiricalWalker.java │ │ │ ├── Exponential.java │ │ │ ├── ExponentialPower.java │ │ │ ├── Fun.java │ │ │ ├── Gamma.java │ │ │ ├── HyperGeometric.java │ │ │ ├── Hyperbolic.java │ │ │ ├── Logarithmic.java │ │ │ ├── NegativeBinomial.java │ │ │ ├── Normal.java │ │ │ ├── Poisson.java │ │ │ ├── PoissonSlow.java │ │ │ ├── Stack.java │ │ │ ├── StudentT.java │ │ │ ├── VonMises.java │ │ │ ├── Zeta.java │ │ │ ├── engine │ │ │ │ ├── DRand.java │ │ │ │ ├── DoubleMersenneTwister.java │ │ │ │ ├── DoubleRandomEngine.java │ │ │ │ ├── MersenneTwister64.java │ │ │ │ ├── RandomGenerator.java │ │ │ │ ├── RandomSeedGenerator.java │ │ │ │ ├── RandomSeedTable.java │ │ │ │ └── package.html │ │ │ ├── package.html │ │ │ └── sampling │ │ │ │ ├── DoubleRandomSampler.java │ │ │ │ ├── DoubleRandomSamplingAssistant.java │ │ │ │ ├── WeightedDoubleRandomSampler.java │ │ │ │ └── package.html │ │ └── tfloat │ │ │ ├── AbstractContinousFloatDistribution.java │ │ │ ├── AbstractFloatDistribution.java │ │ │ ├── FloatUniform.java │ │ │ ├── engine │ │ │ ├── FRand.java │ │ │ ├── FloatMersenneTwister.java │ │ │ ├── FloatRandomEngine.java │ │ │ └── package.html │ │ │ ├── package.html │ │ │ └── sampling │ │ │ ├── FloatRandomSampler.java │ │ │ ├── FloatRandomSamplingAssistant.java │ │ │ ├── WeightedFloatRandomSampler.java │ │ │ └── package.html │ │ └── stat │ │ ├── Buffer.java │ │ ├── BufferSet.java │ │ ├── Utils.java │ │ ├── package.html │ │ ├── tdouble │ │ ├── DoubleDescriptive.java │ │ ├── Gamma.java │ │ ├── Probability.java │ │ ├── package.html │ │ └── quantile │ │ │ ├── DoubleBuffer.java │ │ │ ├── DoubleBufferSet.java │ │ │ ├── DoubleEquiDepthHistogram.java │ │ │ ├── DoubleQuantileCalc.java │ │ │ ├── DoubleQuantileEstimator.java │ │ │ ├── DoubleQuantileFinder.java │ │ │ ├── DoubleQuantileFinderFactory.java │ │ │ ├── ExactDoubleQuantileFinder.java │ │ │ ├── KnownDoubleQuantileEstimator.java │ │ │ ├── UnknownDoubleQuantileEstimator.java │ │ │ └── package.html │ │ └── tfloat │ │ ├── FloatDescriptive.java │ │ ├── package.html │ │ └── quantile │ │ ├── ExactFloatQuantileFinder.java │ │ ├── FloatBuffer.java │ │ ├── FloatBufferSet.java │ │ ├── FloatEquiDepthHistogram.java │ │ ├── FloatQuantileCalc.java │ │ ├── FloatQuantileEstimator.java │ │ ├── FloatQuantileFinder.java │ │ ├── FloatQuantileFinderFactory.java │ │ ├── KnownFloatQuantileEstimator.java │ │ ├── UnknownFloatQuantileEstimator.java │ │ └── package.html │ ├── edu │ └── emory │ │ └── mathcs │ │ └── utils │ │ ├── ConcurrencyUtils.java │ │ ├── IOUtils.java │ │ ├── MatrixMarketUtils.java │ │ ├── Utils.java │ │ ├── package.html │ │ └── pc │ │ ├── ConcurrencyUtils.java │ │ ├── IOUtils.java │ │ ├── MatrixMarketUtils.java │ │ └── Utils.java │ └── hep │ └── aida │ ├── tdouble │ ├── DoubleIAxis.java │ ├── DoubleIHistogram.java │ ├── DoubleIHistogram1D.java │ ├── DoubleIHistogram2D.java │ ├── DoubleIHistogram3D.java │ ├── bin │ │ ├── AbstractDoubleBin.java │ │ ├── AbstractDoubleBin1D.java │ │ ├── DoubleBinBinFunction1D.java │ │ ├── DoubleBinFunction1D.java │ │ ├── DoubleBinFunctions1D.java │ │ ├── DynamicDoubleBin1D.java │ │ ├── MightyStaticDoubleBin1D.java │ │ ├── QuantileDoubleBin1D.java │ │ ├── StaticDoubleBin1D.java │ │ └── package.html │ ├── doc-files │ │ ├── hist3d.txt │ │ └── simpleaida.png │ ├── package.html │ └── ref │ │ ├── DoubleAbstractHistogram1D.java │ │ ├── DoubleAbstractHistogram2D.java │ │ ├── DoubleAbstractHistogram3D.java │ │ ├── DoubleConverter.java │ │ ├── DoubleFixedAxis.java │ │ ├── DoubleHistogram.java │ │ ├── DoubleHistogram1D.java │ │ ├── DoubleHistogram1DContents.java │ │ ├── DoubleHistogram2D.java │ │ ├── DoubleHistogram3D.java │ │ ├── DoubleVariableAxis.java │ │ ├── Util.java │ │ ├── doc-files │ │ ├── aida1.gif │ │ └── aida2.gif │ │ └── package.html │ └── tfloat │ ├── FloatIAxis.java │ ├── FloatIHistogram.java │ ├── FloatIHistogram1D.java │ ├── FloatIHistogram2D.java │ ├── FloatIHistogram3D.java │ ├── bin │ ├── AbstractFloatBin.java │ ├── AbstractFloatBin1D.java │ ├── DynamicFloatBin1D.java │ ├── FloatBinBinFunction1D.java │ ├── FloatBinFunction1D.java │ ├── FloatBinFunctions1D.java │ ├── MightyStaticFloatBin1D.java │ ├── QuantileFloatBin1D.java │ ├── StaticFloatBin1D.java │ └── package.html │ ├── doc-files │ ├── hist3d.txt │ └── simpleaida.png │ ├── package.html │ └── ref │ ├── FloatAbstractHistogram1D.java │ ├── FloatAbstractHistogram2D.java │ ├── FloatAbstractHistogram3D.java │ ├── FloatConverter.java │ ├── FloatFixedAxis.java │ ├── FloatHistogram.java │ ├── FloatHistogram1D.java │ ├── FloatHistogram1DContents.java │ ├── FloatHistogram2D.java │ ├── FloatHistogram3D.java │ ├── FloatVariableAxis.java │ └── package.html └── test └── java ├── cern ├── colt │ ├── AllTests.java │ ├── TestGenericSorting.java │ └── matrix │ │ ├── TestMatrix2D.java │ │ ├── package.html │ │ ├── tdcomplex │ │ ├── AllDComplexMatrixTests.java │ │ ├── DComplexMatrix1DTest.java │ │ ├── DComplexMatrix2DTest.java │ │ ├── DComplexMatrix3DTest.java │ │ ├── algo │ │ │ ├── TestNormInfinity.java │ │ │ └── decomposition │ │ │ │ ├── SparseDComplexDecompositionTest.java │ │ │ │ ├── TestSparseDComplexCholeskyDecomposition.java │ │ │ │ ├── TestSparseDComplexLUDecomposition.java │ │ │ │ └── TestSparseDComplexQRDecomposition.java │ │ └── impl │ │ │ ├── DenseColumnDComplexMatrix2DTest.java │ │ │ ├── DenseColumnDComplexMatrix2DViewTest.java │ │ │ ├── DenseDComplexMatrix1DTest.java │ │ │ ├── DenseDComplexMatrix1DViewTest.java │ │ │ ├── DenseDComplexMatrix2DTest.java │ │ │ ├── DenseDComplexMatrix2DViewTest.java │ │ │ ├── DenseDComplexMatrix3DTest.java │ │ │ ├── DenseDComplexMatrix3DViewTest.java │ │ │ ├── DiagonalDComplexMatrix2DTest.java │ │ │ ├── DiagonalDComplexMatrix2DViewTest.java │ │ │ ├── LargeDenseDComplexMatrix2DTest.java │ │ │ ├── LargeDenseDComplexMatrix2DViewTest.java │ │ │ ├── LargeDenseDComplexMatrix3DTest.java │ │ │ ├── LargeDenseDComplexMatrix3DViewTest.java │ │ │ ├── SparseCCDComplexMatrix2DTest.java │ │ │ ├── SparseCCDComplexMatrix2DViewTest.java │ │ │ ├── SparseCCMDComplexMatrix2DTest.java │ │ │ ├── SparseCCMDComplexMatrix2DViewTest.java │ │ │ ├── SparseDComplexMatrix1DTest.java │ │ │ ├── SparseDComplexMatrix1DViewTest.java │ │ │ ├── SparseDComplexMatrix2DTest.java │ │ │ ├── SparseDComplexMatrix2DViewTest.java │ │ │ ├── SparseDComplexMatrix3DTest.java │ │ │ ├── SparseDComplexMatrix3DViewTest.java │ │ │ ├── SparseRCDComplexMatrix2DTest.java │ │ │ ├── SparseRCDComplexMatrix2DViewTest.java │ │ │ ├── SparseRCMDComplexMatrix2DTest.java │ │ │ └── SparseRCMDComplexMatrix2DViewTest.java │ │ ├── tdouble │ │ ├── AllDoubleMatrixTests.java │ │ ├── DoubleMatrix1DTest.java │ │ ├── DoubleMatrix2DTest.java │ │ ├── DoubleMatrix3DTest.java │ │ ├── algo │ │ │ ├── TestNormInfinity.java │ │ │ ├── TestQR.java │ │ │ ├── decomposition │ │ │ │ ├── SparseDoubleDecompositionTest.java │ │ │ │ ├── TestCSparseDoubleLUDecomposition.java │ │ │ │ ├── TestDenseDoubleCholeskyDecomposition.java │ │ │ │ ├── TestDenseDoubleQRDecomposition.java │ │ │ │ ├── TestDenseDoubleSVD.java │ │ │ │ ├── TestKLUSparseDoubleLUDecomposition.java │ │ │ │ ├── TestSparseDoubleCholeskyDecomposition.java │ │ │ │ └── TestSparseDoubleQRDecomposition.java │ │ │ └── solver │ │ │ │ ├── AllDoubleMatrixSolverTests.java │ │ │ │ ├── DoubleBiCGAMGTest.java │ │ │ │ ├── DoubleBiCGDiagonalTest.java │ │ │ │ ├── DoubleBiCGICCTest.java │ │ │ │ ├── DoubleBiCGILUTTest.java │ │ │ │ ├── DoubleBiCGILUTest.java │ │ │ │ ├── DoubleBiCGSSORTest.java │ │ │ │ ├── DoubleBiCGTest.java │ │ │ │ ├── DoubleBiCGstabAMGTest.java │ │ │ │ ├── DoubleBiCGstabDiagonalTest.java │ │ │ │ ├── DoubleBiCGstabICCTest.java │ │ │ │ ├── DoubleBiCGstabILUTTest.java │ │ │ │ ├── DoubleBiCGstabILUTest.java │ │ │ │ ├── DoubleBiCGstabSSORTest.java │ │ │ │ ├── DoubleBiCGstabTest.java │ │ │ │ ├── DoubleCGAMGTest.java │ │ │ │ ├── DoubleCGDiagonalTest.java │ │ │ │ ├── DoubleCGICCTest.java │ │ │ │ ├── DoubleCGILUTTest.java │ │ │ │ ├── DoubleCGILUTest.java │ │ │ │ ├── DoubleCGSAMGTest.java │ │ │ │ ├── DoubleCGSDiagonalTest.java │ │ │ │ ├── DoubleCGSICCTest.java │ │ │ │ ├── DoubleCGSILUTTest.java │ │ │ │ ├── DoubleCGSILUTest.java │ │ │ │ ├── DoubleCGSSORTest.java │ │ │ │ ├── DoubleCGSSSORTest.java │ │ │ │ ├── DoubleCGSTest.java │ │ │ │ ├── DoubleCGTest.java │ │ │ │ ├── DoubleChebyshevAMGTest.java │ │ │ │ ├── DoubleChebyshevDiagonalTest.java │ │ │ │ ├── DoubleChebyshevICCTest.java │ │ │ │ ├── DoubleChebyshevILUTTest.java │ │ │ │ ├── DoubleChebyshevILUTest.java │ │ │ │ ├── DoubleChebyshevSSORTest.java │ │ │ │ ├── DoubleChebyshevTest.java │ │ │ │ ├── DoubleGMRESAMGTest.java │ │ │ │ ├── DoubleGMRESDiagonalTest.java │ │ │ │ ├── DoubleGMRESICCTest.java │ │ │ │ ├── DoubleGMRESILUTTest.java │ │ │ │ ├── DoubleGMRESILUTest.java │ │ │ │ ├── DoubleGMRESSSORTest.java │ │ │ │ ├── DoubleGMRESTest.java │ │ │ │ ├── DoubleIRAMGTest.java │ │ │ │ ├── DoubleIRDiagonalTest.java │ │ │ │ ├── DoubleIRICCTest.java │ │ │ │ ├── DoubleIRILUTTest.java │ │ │ │ ├── DoubleIRILUTest.java │ │ │ │ ├── DoubleIRSSORTest.java │ │ │ │ ├── DoubleIRTest.java │ │ │ │ ├── DoubleIterativeSolverTest.java │ │ │ │ ├── DoubleQMRAMGTest.java │ │ │ │ ├── DoubleQMRDiagonalTest.java │ │ │ │ ├── DoubleQMRICCTest.java │ │ │ │ ├── DoubleQMRILUTTest.java │ │ │ │ ├── DoubleQMRILUTest.java │ │ │ │ ├── DoubleQMRSSORTest.java │ │ │ │ └── DoubleQMRTest.java │ │ └── impl │ │ │ ├── DenseColumnDoubleMatrix2DTest.java │ │ │ ├── DenseColumnDoubleMatrix2DViewTest.java │ │ │ ├── DenseDoubleMatrix1DTest.java │ │ │ ├── DenseDoubleMatrix1DViewTest.java │ │ │ ├── DenseDoubleMatrix2DTest.java │ │ │ ├── DenseDoubleMatrix2DViewTest.java │ │ │ ├── DenseDoubleMatrix3DTest.java │ │ │ ├── DenseDoubleMatrix3DViewTest.java │ │ │ ├── DenseLargeDoubleMatrix2DTest.java │ │ │ ├── DenseLargeDoubleMatrix2DViewTest.java │ │ │ ├── DenseLargeDoubleMatrix3DTest.java │ │ │ ├── DenseLargeDoubleMatrix3DViewTest.java │ │ │ ├── DiagonalDoubleMatrix2DTest.java │ │ │ ├── DiagonalDoubleMatrix2DViewTest.java │ │ │ ├── SparseCCDoubleMatrix2DTest.java │ │ │ ├── SparseCCDoubleMatrix2DViewTest.java │ │ │ ├── SparseCCMDoubleMatrix2DTest.java │ │ │ ├── SparseCCMDoubleMatrix2DViewTest.java │ │ │ ├── SparseDoubleMatrix1DTest.java │ │ │ ├── SparseDoubleMatrix1DViewTest.java │ │ │ ├── SparseDoubleMatrix2DTest.java │ │ │ ├── SparseDoubleMatrix2DViewTest.java │ │ │ ├── SparseDoubleMatrix3DTest.java │ │ │ ├── SparseDoubleMatrix3DViewTest.java │ │ │ ├── SparseRCDoubleMatrix2DTest.java │ │ │ ├── SparseRCDoubleMatrix2DViewTest.java │ │ │ ├── SparseRCMDoubleMatrix2DTest.java │ │ │ └── SparseRCMDoubleMatrix2DViewTest.java │ │ ├── tfcomplex │ │ ├── AllFComplexMatrixTests.java │ │ ├── FComplexMatrix1DTest.java │ │ ├── FComplexMatrix2DTest.java │ │ ├── FComplexMatrix3DTest.java │ │ └── impl │ │ │ ├── DenseColumnFComplexMatrix2DTest.java │ │ │ ├── DenseColumnFComplexMatrix2DViewTest.java │ │ │ ├── DenseFComplexMatrix1DTest.java │ │ │ ├── DenseFComplexMatrix1DViewTest.java │ │ │ ├── DenseFComplexMatrix2DTest.java │ │ │ ├── DenseFComplexMatrix2DViewTest.java │ │ │ ├── DenseFComplexMatrix3DTest.java │ │ │ ├── DenseFComplexMatrix3DViewTest.java │ │ │ ├── DiagonalFComplexMatrix2DTest.java │ │ │ ├── DiagonalFComplexMatrix2DViewTest.java │ │ │ ├── LargeDenseFComplexMatrix2DTest.java │ │ │ ├── LargeDenseFComplexMatrix2DViewTest.java │ │ │ ├── LargeDenseFComplexMatrix3DTest.java │ │ │ ├── LargeDenseFComplexMatrix3DViewTest.java │ │ │ ├── SparseCCFComplexMatrix2DTest.java │ │ │ ├── SparseCCFComplexMatrix2DViewTest.java │ │ │ ├── SparseCCMFComplexMatrix2DTest.java │ │ │ ├── SparseCCMFComplexMatrix2DViewTest.java │ │ │ ├── SparseFComplexMatrix1DTest.java │ │ │ ├── SparseFComplexMatrix1DViewTest.java │ │ │ ├── SparseFComplexMatrix2DTest.java │ │ │ ├── SparseFComplexMatrix2DViewTest.java │ │ │ ├── SparseFComplexMatrix3DTest.java │ │ │ ├── SparseFComplexMatrix3DViewTest.java │ │ │ ├── SparseRCFComplexMatrix2DTest.java │ │ │ ├── SparseRCFComplexMatrix2DViewTest.java │ │ │ ├── SparseRCMFComplexMatrix2DTest.java │ │ │ └── SparseRCMFComplexMatrix2DViewTest.java │ │ ├── tfloat │ │ ├── AllFloatMatrixTests.java │ │ ├── FloatMatrix1DTest.java │ │ ├── FloatMatrix2DTest.java │ │ ├── FloatMatrix3DTest.java │ │ ├── algo │ │ │ ├── TestNormInfinity.java │ │ │ ├── TestQR.java │ │ │ └── solver │ │ │ │ ├── AllFloatMatrixSolverTests.java │ │ │ │ ├── FloatBiCGAMGTest.java │ │ │ │ ├── FloatBiCGDiagonalTest.java │ │ │ │ ├── FloatBiCGICCTest.java │ │ │ │ ├── FloatBiCGILUTTest.java │ │ │ │ ├── FloatBiCGILUTest.java │ │ │ │ ├── FloatBiCGSSORTest.java │ │ │ │ ├── FloatBiCGTest.java │ │ │ │ ├── FloatBiCGstabAMGTest.java │ │ │ │ ├── FloatBiCGstabDiagonalTest.java │ │ │ │ ├── FloatBiCGstabICCTest.java │ │ │ │ ├── FloatBiCGstabILUTTest.java │ │ │ │ ├── FloatBiCGstabILUTest.java │ │ │ │ ├── FloatBiCGstabSSORTest.java │ │ │ │ ├── FloatBiCGstabTest.java │ │ │ │ ├── FloatCGAMGTest.java │ │ │ │ ├── FloatCGDiagonalTest.java │ │ │ │ ├── FloatCGICCTest.java │ │ │ │ ├── FloatCGILUTTest.java │ │ │ │ ├── FloatCGILUTest.java │ │ │ │ ├── FloatCGSAMGTest.java │ │ │ │ ├── FloatCGSDiagonalTest.java │ │ │ │ ├── FloatCGSICCTest.java │ │ │ │ ├── FloatCGSILUTTest.java │ │ │ │ ├── FloatCGSILUTest.java │ │ │ │ ├── FloatCGSSORTest.java │ │ │ │ ├── FloatCGSSSORTest.java │ │ │ │ ├── FloatCGSTest.java │ │ │ │ ├── FloatCGTest.java │ │ │ │ ├── FloatChebyshevAMGTest.java │ │ │ │ ├── FloatChebyshevDiagonalTest.java │ │ │ │ ├── FloatChebyshevICCTest.java │ │ │ │ ├── FloatChebyshevILUTTest.java │ │ │ │ ├── FloatChebyshevILUTest.java │ │ │ │ ├── FloatChebyshevSSORTest.java │ │ │ │ ├── FloatChebyshevTest.java │ │ │ │ ├── FloatGMRESAMGTest.java │ │ │ │ ├── FloatGMRESDiagonalTest.java │ │ │ │ ├── FloatGMRESICCTest.java │ │ │ │ ├── FloatGMRESILUTTest.java │ │ │ │ ├── FloatGMRESILUTest.java │ │ │ │ ├── FloatGMRESSSORTest.java │ │ │ │ ├── FloatGMRESTest.java │ │ │ │ ├── FloatIRAMGTest.java │ │ │ │ ├── FloatIRDiagonalTest.java │ │ │ │ ├── FloatIRICCTest.java │ │ │ │ ├── FloatIRILUTTest.java │ │ │ │ ├── FloatIRILUTest.java │ │ │ │ ├── FloatIRSSORTest.java │ │ │ │ ├── FloatIRTest.java │ │ │ │ ├── FloatIterativeSolverTest.java │ │ │ │ ├── FloatQMRAMGTest.java │ │ │ │ ├── FloatQMRDiagonalTest.java │ │ │ │ ├── FloatQMRICCTest.java │ │ │ │ ├── FloatQMRILUTTest.java │ │ │ │ ├── FloatQMRILUTest.java │ │ │ │ ├── FloatQMRSSORTest.java │ │ │ │ └── FloatQMRTest.java │ │ └── impl │ │ │ ├── DenseColumnFloatMatrix2DTest.java │ │ │ ├── DenseColumnFloatMatrix2DViewTest.java │ │ │ ├── DenseFloatMatrix1DTest.java │ │ │ ├── DenseFloatMatrix1DViewTest.java │ │ │ ├── DenseFloatMatrix2DTest.java │ │ │ ├── DenseFloatMatrix2DViewTest.java │ │ │ ├── DenseFloatMatrix3DTest.java │ │ │ ├── DenseFloatMatrix3DViewTest.java │ │ │ ├── DenseLargeFloatMatrix2DTest.java │ │ │ ├── DenseLargeFloatMatrix2DViewTest.java │ │ │ ├── DenseLargeFloatMatrix3DTest.java │ │ │ ├── DenseLargeFloatMatrix3DViewTest.java │ │ │ ├── DiagonalFloatMatrix2DTest.java │ │ │ ├── DiagonalFloatMatrix2DViewTest.java │ │ │ ├── SparseCCFloatMatrix2DTest.java │ │ │ ├── SparseCCFloatMatrix2DViewTest.java │ │ │ ├── SparseCCMFloatMatrix2DTest.java │ │ │ ├── SparseCCMFloatMatrix2DViewTest.java │ │ │ ├── SparseFloatMatrix1DTest.java │ │ │ ├── SparseFloatMatrix1DViewTest.java │ │ │ ├── SparseFloatMatrix2DTest.java │ │ │ ├── SparseFloatMatrix2DViewTest.java │ │ │ ├── SparseFloatMatrix3DTest.java │ │ │ ├── SparseFloatMatrix3DViewTest.java │ │ │ ├── SparseRCFloatMatrix2DTest.java │ │ │ ├── SparseRCFloatMatrix2DViewTest.java │ │ │ ├── SparseRCMFloatMatrix2DTest.java │ │ │ └── SparseRCMFloatMatrix2DViewTest.java │ │ ├── tint │ │ ├── AllIntMatrixTests.java │ │ ├── IntMatrix1DTest.java │ │ ├── IntMatrix2DTest.java │ │ ├── IntMatrix3DTest.java │ │ └── impl │ │ │ ├── DenseColumnIntMatrix2DTest.java │ │ │ ├── DenseColumnIntMatrix2DViewTest.java │ │ │ ├── DenseIntMatrix1DTest.java │ │ │ ├── DenseIntMatrix1DViewTest.java │ │ │ ├── DenseIntMatrix2DTest.java │ │ │ ├── DenseIntMatrix2DViewTest.java │ │ │ ├── DenseIntMatrix3DTest.java │ │ │ ├── DenseIntMatrix3DViewTest.java │ │ │ ├── DenseLargeIntMatrix2DTest.java │ │ │ ├── DenseLargeIntMatrix2DViewTest.java │ │ │ ├── DenseLargeIntMatrix3DTest.java │ │ │ ├── DenseLargeIntMatrix3DViewTest.java │ │ │ ├── DiagonalIntMatrix2DTest.java │ │ │ ├── DiagonalIntMatrix2DViewTest.java │ │ │ ├── SparseCCIntMatrix2DTest.java │ │ │ ├── SparseCCIntMatrix2DViewTest.java │ │ │ ├── SparseCCMIntMatrix2DTest.java │ │ │ ├── SparseCCMIntMatrix2DViewTest.java │ │ │ ├── SparseIntMatrix1DTest.java │ │ │ ├── SparseIntMatrix1DViewTest.java │ │ │ ├── SparseIntMatrix2DTest.java │ │ │ ├── SparseIntMatrix2DViewTest.java │ │ │ ├── SparseIntMatrix3DTest.java │ │ │ ├── SparseIntMatrix3DViewTest.java │ │ │ ├── SparseRCIntMatrix2DTest.java │ │ │ ├── SparseRCIntMatrix2DViewTest.java │ │ │ ├── SparseRCMIntMatrix2DTest.java │ │ │ └── SparseRCMIntMatrix2DViewTest.java │ │ └── tlong │ │ ├── AllLongMatrixTests.java │ │ ├── LongMatrix1DTest.java │ │ ├── LongMatrix2DTest.java │ │ ├── LongMatrix3DTest.java │ │ └── impl │ │ ├── DenseColumnLongMatrix2DTest.java │ │ ├── DenseColumnLongMatrix2DViewTest.java │ │ ├── DenseLargeLongMatrix2DTest.java │ │ ├── DenseLargeLongMatrix2DViewTest.java │ │ ├── DenseLargeLongMatrix3DTest.java │ │ ├── DenseLargeLongMatrix3DViewTest.java │ │ ├── DenseLongMatrix1DTest.java │ │ ├── DenseLongMatrix1DViewTest.java │ │ ├── DenseLongMatrix2DTest.java │ │ ├── DenseLongMatrix2DViewTest.java │ │ ├── DenseLongMatrix3DTest.java │ │ ├── DenseLongMatrix3DViewTest.java │ │ ├── DiagonalLongMatrix2DTest.java │ │ ├── DiagonalLongMatrix2DViewTest.java │ │ ├── SparseCCLongMatrix2DTest.java │ │ ├── SparseCCLongMatrix2DViewTest.java │ │ ├── SparseCCMLongMatrix2DTest.java │ │ ├── SparseCCMLongMatrix2DViewTest.java │ │ ├── SparseLongMatrix1DTest.java │ │ ├── SparseLongMatrix1DViewTest.java │ │ ├── SparseLongMatrix2DTest.java │ │ ├── SparseLongMatrix2DViewTest.java │ │ ├── SparseLongMatrix3DTest.java │ │ ├── SparseLongMatrix3DViewTest.java │ │ ├── SparseRCLongMatrix2DTest.java │ │ ├── SparseRCLongMatrix2DViewTest.java │ │ ├── SparseRCMLongMatrix2DTest.java │ │ └── SparseRCMLongMatrix2DViewTest.java └── jet │ ├── random │ └── tdouble │ │ └── TestNormal.java │ └── stat │ └── quantile │ ├── TestQuantile1.java │ └── TestQuantileFinder.java └── hep └── aida └── ref ├── Test.java └── Test2.java /.gitignore: -------------------------------------------------------------------------------- 1 | /target/* 2 | .project 3 | .classpath 4 | /.settings/* 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: java 2 | -------------------------------------------------------------------------------- /src/benchmark/java/cern/colt/matrix/doc-files/usage_dgemm.txt: -------------------------------------------------------------------------------- 1 | Arguments to be supplied: 2 | {sizes} 3 | where 4 | operation = the operation to benchmark; in this case: dgemm 5 | type = matrix type to be used; e.g. dense, sparse or rowCompressed 6 | cpus = #cpus available; e.g. 1 or 2 or ... 7 | minSecs = #seconds each operation shall at least run; e.g. 2.0 is a good number giving realistic timings 8 | density = the density of the matrices to be benchmarked; e.g. 0.999 is very dense, 0.001 is very sparse 9 | transposeA = false or true 10 | transposeB = false or true 11 | sizes = a list of problem sizes; e.g. 100 200 benchmarks squared 100x100 and 200x200 matrices 12 | -------------------------------------------------------------------------------- /src/benchmark/java/cern/colt/matrix/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Matrix benchmarks. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/benchmark/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGAMGBenchmark.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleAMG; 4 | 5 | /** 6 | * Benchmark of DoubleCG with AMG 7 | */ 8 | public class DoubleCGAMGBenchmark extends DoubleCGBenchmark { 9 | 10 | public DoubleCGAMGBenchmark(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleAMG(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/benchmark/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGBenchmark.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | /** 4 | * Benchmark of DoubleCG 5 | */ 6 | public class DoubleCGBenchmark extends DoubleIterativeSolverBenchmark { 7 | 8 | public DoubleCGBenchmark(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new DoubleCG(x); 14 | M = solver.getPreconditioner(); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/benchmark/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGDiagonalBenchmark.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleDiagonal; 4 | 5 | /** 6 | * Benchmark of DoubleCG with diagonal preconditioning 7 | */ 8 | public class DoubleCGDiagonalBenchmark extends DoubleCGBenchmark { 9 | 10 | public DoubleCGDiagonalBenchmark(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleDiagonal(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/benchmark/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGICCBenchmark.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleICC; 4 | 5 | /** 6 | * Benchmark of DoubleCG with ICC 7 | */ 8 | public class DoubleCGICCBenchmark extends DoubleCGBenchmark { 9 | 10 | public DoubleCGICCBenchmark(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/benchmark/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGILUBenchmark.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILU; 4 | 5 | /** 6 | * Benchmark of DoubleCG with ILU 7 | */ 8 | public class DoubleCGILUBenchmark extends DoubleCGBenchmark { 9 | 10 | public DoubleCGILUBenchmark(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/benchmark/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGILUTBenchmark.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILUT; 4 | 5 | /** 6 | * Benchmark of DoubleCG with ILUT 7 | */ 8 | public class DoubleCGILUTBenchmark extends DoubleCGBenchmark { 9 | 10 | public DoubleCGILUTBenchmark(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/benchmark/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGSSORBenchmark.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleSSOR; 4 | 5 | /** 6 | * Benchmark of DoubleCG with SOR 7 | */ 8 | public class DoubleCGSSORBenchmark extends DoubleCGBenchmark { 9 | 10 | public DoubleCGSSORBenchmark(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | double omega = 1.1; 17 | M = new DoubleSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/benchmark/java/cern/colt/matrix/tdouble/algo/solver/DoubleHyBRBenchmark.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | /** 4 | * Benchmark of DoubleHyBR 5 | */ 6 | public class DoubleHyBRBenchmark extends DoubleIterativeSolverBenchmark { 7 | 8 | public DoubleHyBRBenchmark(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new DoubleHyBR(); 14 | M = solver.getPreconditioner(); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/benchmark/resources/benchmarkSettings/iterativeSolverSettings.txt: -------------------------------------------------------------------------------- 1 | ORDER of Variables: path to matrix file (String); number of repeats (int); maximal number of iterations (int); number of threads (e.g. 1, 2, 4); 2 | D:/ijs.mtx 3 | 1 4 | 100 5 | 1, 2 6 | 7 | -------------------------------------------------------------------------------- /src/benchmark/resources/benchmarkSettings/settings1D.txt: -------------------------------------------------------------------------------- 1 | ORDER of Variables: NTHREADS (e.g. 1, 2, 4); SIZE (int); NITERS (int) 2 | 1, 2 3 | 16000000 4 | 50 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/benchmark/resources/benchmarkSettings/settings2D.txt: -------------------------------------------------------------------------------- 1 | ORDER of Variables: NTHREADS (e.g. 1, 2, 4); ROWS (int); COLS (int); NITERS (int) 2 | 1, 2 3 | 500 4 | 500 5 | 10 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/benchmark/resources/benchmarkSettings/settings3D.txt: -------------------------------------------------------------------------------- 1 | ORDER of Variables: NTHREADS (e.g. 1, 2, 4); SLICES (int); ROWS (int); COLS (int); NITERS (int) 2 | 1, 2 3 | 256 4 | 256 5 | 256 6 | 10 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/buffer/tboolean/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Fixed sized (non resizable) streaming buffers holding boolean elements connected to a target objects to which data is automatically flushed upon buffer overflow. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/buffer/tbyte/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Fixed sized (non resizable) streaming buffers holding byte elements connected to a target objects to which data is automatically flushed upon buffer overflow. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/buffer/tchar/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Fixed sized (non resizable) streaming buffers holding char elements connected to a target objects to which data is automatically flushed upon buffer overflow. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/buffer/tdouble/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Fixed sized (non resizable) streaming buffers holding double elements connected to a target objects to which data is automatically flushed upon buffer overflow. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/buffer/tfloat/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Fixed sized (non resizable) streaming buffers holding float elements connected to a target objects to which data is automatically flushed upon buffer overflow. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/buffer/tint/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Fixed sized (non resizable) streaming buffers holding int elements connected to a target objects to which data is automatically flushed upon buffer overflow. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/buffer/tlong/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Fixed sized (non resizable) streaming buffers holding long elements connected to a target objects to which data is automatically flushed upon buffer overflow. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/buffer/tobject/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Fixed sized (non resizable) streaming buffers holding Object elements connected to a target objects to which data is automatically flushed upon buffer overflow. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/buffer/tshort/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Fixed sized (non resizable) streaming buffers holding short elements connected to a target objects to which data is automatically flushed upon buffer overflow. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tboolean/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Core interfaces for functions, comparisons and procedures on boolean data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tbyte/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Core interfaces for functions, comparisons and procedures on byte data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tchar/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Core interfaces for functions, comparisons and procedures on char data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tdcomplex/DComplexDComplexDComplexFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tdcomplex; 2 | 3 | public interface DComplexDComplexDComplexFunction { 4 | /** 5 | * Applies a function to two complex arguments. 6 | * 7 | * @param x 8 | * the first argument passed to the function. 9 | * @param y 10 | * the second argument passed to the function. 11 | * 12 | * @return the result of the function. 13 | */ 14 | abstract public double[] apply(double[] x, double[] y); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tdcomplex/DComplexDComplexFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tdcomplex; 2 | 3 | public interface DComplexDComplexFunction { 4 | /** 5 | * Applies a function to a complex argument. 6 | * 7 | * @param x 8 | * an argument passed to the function. 9 | * 10 | * @return the result of the function. 11 | */ 12 | abstract public double[] apply(double[] x); 13 | 14 | /** 15 | * Applies a function to a complex argument. 16 | * 17 | * @param re 18 | * real part of an argument passed to the function 19 | * @param im 20 | * imaginary part of an argument passed to the function 21 | * @return the result of the function. 22 | */ 23 | abstract public double[] apply(double re, double im); 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tdcomplex/DComplexDComplexProcedure.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tdcomplex; 2 | 3 | public interface DComplexDComplexProcedure { 4 | abstract public boolean apply(double[] x, double[] y); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tdcomplex/DComplexDComplexRealFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tdcomplex; 2 | 3 | public interface DComplexDComplexRealFunction { 4 | abstract public double apply(double[] x, double[] y); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tdcomplex/DComplexDComplexRealProcedure.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tdcomplex; 2 | 3 | public interface DComplexDComplexRealProcedure { 4 | abstract public boolean apply(double[] x, double[] y, double tol); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tdcomplex/DComplexDComplexRealRealFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tdcomplex; 2 | 3 | public interface DComplexDComplexRealRealFunction { 4 | abstract public double apply(double[] x, double[] y, double tol); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tdcomplex/DComplexRealDComplexFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tdcomplex; 2 | 3 | public interface DComplexRealDComplexFunction { 4 | abstract public double[] apply(double[] x, double y); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tdcomplex/DComplexRealFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tdcomplex; 2 | 3 | public interface DComplexRealFunction { 4 | abstract public double apply(double[] x); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tdcomplex/RealDComplexDComplexFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tdcomplex; 2 | 3 | public interface RealDComplexDComplexFunction { 4 | abstract public double[] apply(double x, double[] y); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tdcomplex/RealDComplexFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tdcomplex; 2 | 3 | public interface RealDComplexFunction { 4 | abstract public double[] apply(double x); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tdcomplex/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Core interfaces for functions, comparisons and procedures on dcomplex data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tdouble/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Core interfaces for functions, comparisons and procedures on double data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tfcomplex/FComplexFComplexFComplexFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tfcomplex; 2 | 3 | public interface FComplexFComplexFComplexFunction { 4 | /** 5 | * Applies a function to two complex arguments. 6 | * 7 | * @param x 8 | * the first argument passed to the function. 9 | * @param y 10 | * the second argument passed to the function. 11 | * 12 | * @return the result of the function. 13 | */ 14 | abstract public float[] apply(float[] x, float[] y); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tfcomplex/FComplexFComplexFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tfcomplex; 2 | 3 | public interface FComplexFComplexFunction { 4 | /** 5 | * Applies a function to a complex argument. 6 | * 7 | * @param x 8 | * an argument passed to the function. 9 | * 10 | * @return the result of the function. 11 | */ 12 | abstract public float[] apply(float[] x); 13 | 14 | /** 15 | * Applies a function to a complex argument. 16 | * 17 | * @param re 18 | * real part of an argument passed to the function 19 | * @param im 20 | * imaginary part of an argument passed to the function 21 | * @return the result of the function. 22 | */ 23 | abstract public float[] apply(float re, float im); 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tfcomplex/FComplexFComplexProcedure.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tfcomplex; 2 | 3 | public interface FComplexFComplexProcedure { 4 | abstract public boolean apply(float[] x, float[] y); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tfcomplex/FComplexFComplexRealFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tfcomplex; 2 | 3 | public interface FComplexFComplexRealFunction { 4 | abstract public float apply(float[] x, float[] y); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tfcomplex/FComplexFComplexRealProcedure.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tfcomplex; 2 | 3 | public interface FComplexFComplexRealProcedure { 4 | abstract public boolean apply(float[] x, float[] y, float tol); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tfcomplex/FComplexFComplexRealRealFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tfcomplex; 2 | 3 | public interface FComplexFComplexRealRealFunction { 4 | abstract public float apply(float[] x, float[] y, float tol); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tfcomplex/FComplexRealFComplexFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tfcomplex; 2 | 3 | public interface FComplexRealFComplexFunction { 4 | abstract public float[] apply(float[] x, float y); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tfcomplex/FComplexRealFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tfcomplex; 2 | 3 | public interface FComplexRealFunction { 4 | abstract public float apply(float[] x); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tfcomplex/RealFComplexFComplexFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tfcomplex; 2 | 3 | public interface RealFComplexFComplexFunction { 4 | abstract public float[] apply(float x, float[] y); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tfcomplex/RealFComplexFunction.java: -------------------------------------------------------------------------------- 1 | package cern.colt.function.tfcomplex; 2 | 3 | public interface RealFComplexFunction { 4 | abstract public float[] apply(float x); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tfcomplex/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Core interfaces for functions, comparisons and procedures on fcomplex data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tfloat/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Core interfaces for functions, comparisons and procedures on float data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tint/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Core interfaces for functions, comparisons and procedures on int data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tlong/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Core interfaces for functions, comparisons and procedures on long data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tobject/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Core interfaces for functions, comparisons and procedures on Object data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/function/tshort/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Core interfaces for functions, comparisons and procedures on short data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/list/tboolean/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Resizable list holding elements of boolean data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/list/tbyte/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Resizable list holding elements of byte data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/list/tchar/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Resizable list holding elements of char data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/list/tdouble/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Resizable list holding elements of double data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/list/tfloat/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Resizable list holding elements of float data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/list/tint/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Resizable list holding elements of int data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/list/tlong/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Resizable list holding elements of long data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/list/tobject/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Resizable list holding elements of Object data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/list/tshort/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Resizable list holding elements of short data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/map/tdouble/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Automatically growing and shrinking map holding elements of double data type. 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/map/tfloat/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Automatically growing and shrinking map holding elements of float data type. 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/map/tint/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Automatically growing and shrinking map holding elements of int data type. 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/map/tlong/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Automatically growing and shrinking map holding elements of long data type. 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/map/tobject/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Automatically growing and shrinking map holding elements of Object data type. 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/doc-files/PerformanceLogFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Untitled Document 4 | 5 | 6 | 7 | 8 | 9 | 10 | <body bgcolor="#FFFFFF"> 11 | 12 | </body> 13 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/doc-files/functionObjects.html: -------------------------------------------------------------------------------- 1 | Function Objects 2 | 3 |

Function Objects

4 | Here are some examples demonstrating how function objects can be used to 5 |
    6 |
  1. transform a matrix A into another matrix B 7 | which is a function of the original matrix A (and optionally yet another matrix 8 | C)
  2. 9 |
  3. aggregate cell values or a function of them
  4. 10 |
  5. generate selection views for cells satisfying 11 | a given condition
  6. 12 |
  7. sort matrix rows or columns into a user specified 13 | order
  8. 14 |
  9. You will most likely use them to do many more powerful things
  10. 15 |
16 | 17 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/doc-files/slice.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwl/ParallelColt/36a75e68abae9ed7ece5426cd96272a9ba328346/src/main/java/cern/colt/matrix/doc-files/slice.gif -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/io/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | I/O operations with matrices and vectors. The formats supported are: 4 |

5 |

11 |

12 |

13 | The Harwell-Boeing 14 | format is not supported. 15 |

16 | 17 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tbit/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Bit vectors and bit matrices. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tdcomplex/algo/decomposition/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Complex matrix decompositions. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tdcomplex/algo/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Algorithms operating on complex matrices. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tdcomplex/impl/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of dcomplex data type. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tdcomplex/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Matrix interfaces and factories holding elements of dcomplex data type. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tdouble/algo/decomposition/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Martrix decompositions. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tdouble/algo/solver/HyBRInnerSolver.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | public enum HyBRInnerSolver { 4 | TIKHONOV, NONE 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tdouble/algo/solver/HyBRRegularizationMethod.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | public enum HyBRRegularizationMethod { 4 | GCV, WGCV, ADAPTWGCV, NONE 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tdouble/algo/solver/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Iterative solvers 4 |
    5 |
  • BiCG - BiConjugate gradients.
  • 6 |
  • BiCGstab - BiConjugate gradients stabilized.
  • 7 |
  • CG - Conjugate gradients.
  • 8 |
  • CGS - Conjugate gradients squared.
  • 9 |
  • Chebyshev - The Chebyshev iteration for symmetrical, positive definite matrices.
  • 10 |
  • GMRES - Generalized minimal residual using restart.
  • 11 |
  • IR - Iterative refinement (Richardson's method).
  • 12 |
  • QMR - Quasi-minimal residual.
  • 13 |
  • HyBR - Hybrid Bidiagonalization Regularization.
  • 14 |
  • MRNSD - Modified Residual Norm Steepest Descent.
  • 15 |
  • CGLS - Conjugate Gradient for Least Squares.
  • 16 |
17 | 18 | 19 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tdouble/algo/solver/preconditioner/DoubleIdentity.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver.preconditioner; 2 | 3 | import cern.colt.matrix.tdouble.DoubleMatrix1D; 4 | import cern.colt.matrix.tdouble.DoubleMatrix2D; 5 | 6 | public class DoubleIdentity implements DoublePreconditioner { 7 | 8 | public DoubleMatrix1D apply(DoubleMatrix1D b, DoubleMatrix1D x) { 9 | if (x == null) { 10 | x = b.like(); 11 | } 12 | 13 | return x.assign(b); 14 | } 15 | 16 | public DoubleMatrix1D transApply(DoubleMatrix1D b, DoubleMatrix1D x) { 17 | if (x == null) { 18 | x = b.like(); 19 | } 20 | 21 | return x.assign(b); 22 | } 23 | 24 | public void setMatrix(DoubleMatrix2D A) { 25 | // nothing to do 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tdouble/algo/solver/preconditioner/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Preconditioners for iterative solvers. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tdouble/impl/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of double data type. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tdouble/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Matrix interfaces and factories holding elements of double data type. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tfcomplex/algo/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Algorithms operating on complex matrices. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tfcomplex/impl/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of fcomplex data type. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tfcomplex/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Matrix interfaces and factories holding elements of fcomplex data type. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tfloat/algo/decomposition/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Martrix decompositions. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tfloat/algo/solver/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Iterative solvers 4 |
    5 |
  • BiCG - BiConjugate gradients.
  • 6 |
  • BiCGstab - BiConjugate gradients stabilized.
  • 7 |
  • CG - Conjugate gradients.
  • 8 |
  • CGS - Conjugate gradients squared.
  • 9 |
  • Chebyshev - The Chebyshev iteration for symmetrical, positive definite matrices.
  • 10 |
  • GMRES - Generalized minimal residual using restart.
  • 11 |
  • IR - Iterative refinement (Richardson's method).
  • 12 |
  • QMR - Quasi-minimal residual.
  • 13 |
  • HyBR - Hybrid Bidiagonalization Regularization.
  • 14 |
  • MRNSD - Modified Residual Norm Steepest Descent.
  • 15 |
  • CGLS - Conjugate Gradient for Least Squares.
  • 16 |
17 | 18 | 19 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tfloat/algo/solver/preconditioner/FloatIdentity.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver.preconditioner; 2 | 3 | import cern.colt.matrix.tfloat.FloatMatrix1D; 4 | import cern.colt.matrix.tfloat.FloatMatrix2D; 5 | 6 | public class FloatIdentity implements FloatPreconditioner { 7 | 8 | public FloatMatrix1D apply(FloatMatrix1D b, FloatMatrix1D x) { 9 | if (x == null) { 10 | x = b.like(); 11 | } 12 | 13 | return x.assign(b); 14 | } 15 | 16 | public FloatMatrix1D transApply(FloatMatrix1D b, FloatMatrix1D x) { 17 | if (x == null) { 18 | x = b.like(); 19 | } 20 | 21 | return x.assign(b); 22 | } 23 | 24 | public void setMatrix(FloatMatrix2D A) { 25 | // nothing to do 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tfloat/algo/solver/preconditioner/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Preconditioners for iterative solvers. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tfloat/impl/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of float data type. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tfloat/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Matrix interfaces and factories holding elements of float data type. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tint/algo/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Algorithms operating on integer matrices. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tint/impl/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of int data type. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tint/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Matrix interfaces and factories holding elements of int data type. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tlong/algo/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Algorithms operating on long integer matrices. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tlong/impl/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of long data type. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tlong/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Matrix interfaces and factories holding elements of long data type. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tobject/algo/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Object matrix algorithms such as print formatting, sorting, partitioning and statistics. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tobject/impl/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of Object data type. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/matrix/tobject/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Matrix interfaces and factories holding elements of Object data type. 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/cern/colt/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/jet/math/tdcomplex/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tools for basic and advanced mathematics: Arithmetics and Function Objects for generic function evaluation operating on dcomplex data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/jet/math/tdouble/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tools for basic and advanced mathematics: Arithmetics and Algebra, Polynomials and Chebyshev series, Bessel and Airy functions, 4 | Function Objects for generic function evaluation, etc. 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/java/cern/jet/math/tfcomplex/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tools for basic and advanced mathematics: Arithmetics and Function Objects for generic function evaluation operating on fcomplex data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/jet/math/tfloat/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tools for basic and advanced mathematics: Arithmetics and Function Objects for generic function evaluation operating on float data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/jet/math/tint/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tools for basic and advanced mathematics: Arithmetics and Function Objects for generic function evaluation operating on int data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/jet/math/tlong/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tools for basic and advanced mathematics: Arithmetics and Function Objects for generic function evaluation operating on long data type. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/jet/random/tdouble/engine/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Engines generating strong uniformly distributed pseudo-random numbers; 4 | Needed by all JET probability distributions since they rely on uniform random numbers to generate random numbers from their own distribution. 5 | Thus, the classes of this package are at the core of computational statistics, simulations, Monte Carlo methods, etc. 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/main/java/cern/jet/random/tdouble/sampling/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Samples (picks) random subsets of data sequences. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/jet/random/tfloat/engine/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Engines generating strong uniformly distributed pseudo-random numbers; 4 | Needed by all JET probability distributions since they rely on uniform random numbers to generate random numbers from their own distribution. 5 | Thus, the classes of this package are at the core of computational statistics, simulations, Monte Carlo methods, etc. 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/main/java/cern/jet/random/tfloat/sampling/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Samples (picks) random subsets of data sequences. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/jet/stat/BufferSet.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999 CERN - European Organization for Nuclear Research. 3 | Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose 4 | is hereby granted without fee, provided that the above copyright notice appear in all copies and 5 | that both that copyright notice and this permission notice appear in supporting documentation. 6 | CERN makes no representations about the suitability of this software for any purpose. 7 | It is provided "as is" without expressed or implied warranty. 8 | */ 9 | package cern.jet.stat; 10 | 11 | /** 12 | * An abstract set of buffers; internally used for computing approximate 13 | * quantiles. 14 | */ 15 | public abstract class BufferSet extends cern.colt.PersistentObject { 16 | 17 | /** 18 | * 19 | */ 20 | private static final long serialVersionUID = 1L; 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/cern/jet/stat/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tools for basic and advanced statistics: Estimators, Gamma functions, Beta functions, Probabilities, Special integrals, etc. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/jet/stat/tdouble/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tools for basic and advanced statistics: Estimators, Gamma functions, Beta functions, Probabilities, Special integrals, etc. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/cern/jet/stat/tfloat/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tools for basic and advanced statistics: Estimators, Gamma functions, Beta functions, Probabilities, Special integrals, etc. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/edu/emory/mathcs/utils/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Utility classes. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/hep/aida/tdouble/bin/DoubleBinBinFunction1D.java: -------------------------------------------------------------------------------- 1 | package hep.aida.tdouble.bin; 2 | 3 | /** 4 | * Interface that represents a function object: a function that takes two bins 5 | * as arguments and returns a single value. 6 | */ 7 | public interface DoubleBinBinFunction1D { 8 | /** 9 | * Applies a function to two bin arguments. 10 | * 11 | * @param x 12 | * the first argument passed to the function. 13 | * @param y 14 | * the second argument passed to the function. 15 | * @return the result of the function. 16 | */ 17 | abstract public double apply(DynamicDoubleBin1D x, DynamicDoubleBin1D y); 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/hep/aida/tdouble/bin/DoubleBinFunction1D.java: -------------------------------------------------------------------------------- 1 | package hep.aida.tdouble.bin; 2 | 3 | /** 4 | * Interface that represents a function object: a function that takes two bins 5 | * as arguments and returns a single value. 6 | */ 7 | public interface DoubleBinFunction1D { 8 | /** 9 | * Applies a function to one bin argument. 10 | * 11 | * @param x 12 | * the argument passed to the function. 13 | * @return the result of the function. 14 | */ 15 | abstract public double apply(DynamicDoubleBin1D x); 16 | 17 | /** 18 | * Returns the name of this function. 19 | * 20 | * @return the name of this function. 21 | */ 22 | abstract public String name(); 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/hep/aida/tdouble/doc-files/simpleaida.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwl/ParallelColt/36a75e68abae9ed7ece5426cd96272a9ba328346/src/main/java/hep/aida/tdouble/doc-files/simpleaida.png -------------------------------------------------------------------------------- /src/main/java/hep/aida/tdouble/ref/DoubleHistogram.java: -------------------------------------------------------------------------------- 1 | package hep.aida.tdouble.ref; 2 | 3 | /** 4 | * Base class for Histogram1D and Histogram2D. 5 | * 6 | * @author Wolfgang Hoschek, Tony Johnson, and others. 7 | * @version 1.0, 23/03/2000 8 | */ 9 | abstract class DoubleHistogram implements hep.aida.tdouble.DoubleIHistogram { 10 | /** 11 | * 12 | */ 13 | private static final long serialVersionUID = 1L; 14 | private String title; 15 | 16 | DoubleHistogram(String title) { 17 | this.title = title; 18 | } 19 | 20 | public String title() { 21 | return title; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/hep/aida/tdouble/ref/doc-files/aida1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwl/ParallelColt/36a75e68abae9ed7ece5426cd96272a9ba328346/src/main/java/hep/aida/tdouble/ref/doc-files/aida1.gif -------------------------------------------------------------------------------- /src/main/java/hep/aida/tdouble/ref/doc-files/aida2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwl/ParallelColt/36a75e68abae9ed7ece5426cd96272a9ba328346/src/main/java/hep/aida/tdouble/ref/doc-files/aida2.gif -------------------------------------------------------------------------------- /src/main/java/hep/aida/tfloat/bin/FloatBinBinFunction1D.java: -------------------------------------------------------------------------------- 1 | package hep.aida.tfloat.bin; 2 | 3 | /** 4 | * Interface that represents a function object: a function that takes two bins 5 | * as arguments and returns a single value. 6 | */ 7 | public interface FloatBinBinFunction1D { 8 | /** 9 | * Applies a function to two bin arguments. 10 | * 11 | * @param x 12 | * the first argument passed to the function. 13 | * @param y 14 | * the second argument passed to the function. 15 | * @return the result of the function. 16 | */ 17 | abstract public float apply(DynamicFloatBin1D x, DynamicFloatBin1D y); 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/hep/aida/tfloat/bin/FloatBinFunction1D.java: -------------------------------------------------------------------------------- 1 | package hep.aida.tfloat.bin; 2 | 3 | /** 4 | * Interface that represents a function object: a function that takes two bins 5 | * as arguments and returns a single value. 6 | */ 7 | public interface FloatBinFunction1D { 8 | /** 9 | * Applies a function to one bin argument. 10 | * 11 | * @param x 12 | * the argument passed to the function. 13 | * @return the result of the function. 14 | */ 15 | abstract public float apply(DynamicFloatBin1D x); 16 | 17 | /** 18 | * Returns the name of this function. 19 | * 20 | * @return the name of this function. 21 | */ 22 | abstract public String name(); 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/hep/aida/tfloat/doc-files/simpleaida.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwl/ParallelColt/36a75e68abae9ed7ece5426cd96272a9ba328346/src/main/java/hep/aida/tfloat/doc-files/simpleaida.png -------------------------------------------------------------------------------- /src/main/java/hep/aida/tfloat/ref/FloatHistogram.java: -------------------------------------------------------------------------------- 1 | package hep.aida.tfloat.ref; 2 | 3 | /** 4 | * Base class for Histogram1D and Histogram2D. 5 | * 6 | * @author Wolfgang Hoschek, Tony Johnson, and others. 7 | * @version 1.0, 23/03/2000 8 | */ 9 | abstract class FloatHistogram implements hep.aida.tfloat.FloatIHistogram { 10 | /** 11 | * 12 | */ 13 | private static final long serialVersionUID = 1L; 14 | private String title; 15 | 16 | FloatHistogram(String title) { 17 | this.title = title; 18 | } 19 | 20 | public String title() { 21 | return title; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Unit tests for matrices 4 | 5 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/algo/TestNormInfinity.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.algo; 2 | 3 | import cern.colt.matrix.tdcomplex.DComplexFactory1D; 4 | import cern.colt.matrix.tdcomplex.DComplexMatrix1D; 5 | 6 | class TestNormInfinity { 7 | 8 | public static void main(String[] args) { 9 | DComplexMatrix1D x1 = DComplexFactory1D.dense.make(new double[] { 3.0, 4.0, 2.0, 0.0 }); 10 | DComplexMatrix1D x2 = DComplexFactory1D.dense.make(new double[] { 1.0, 0.0, -3.0, 4.0 }); 11 | DComplexMatrix1D x3 = DComplexFactory1D.dense.make(new double[] {-1.0, 0.0, -3.0, -4.0 }); 12 | 13 | System.out.println(DenseDComplexAlgebra.DEFAULT.normInfinity(x1)); 14 | System.out.println(DenseDComplexAlgebra.DEFAULT.normInfinity(x2)); 15 | System.out.println(DenseDComplexAlgebra.DEFAULT.normInfinity(x3)); 16 | } 17 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/DenseColumnDComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | public class DenseColumnDComplexMatrix2DViewTest extends DenseColumnDComplexMatrix2DTest { 4 | public DenseColumnDComplexMatrix2DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new DenseColumnDComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 10 | B = new DenseColumnDComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | Bt = new DenseColumnDComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/DenseDComplexMatrix1DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | import cern.colt.matrix.tdcomplex.DComplexMatrix1D; 4 | import cern.colt.matrix.tdcomplex.DComplexMatrix1DTest; 5 | 6 | public class DenseDComplexMatrix1DTest extends DComplexMatrix1DTest { 7 | 8 | public DenseDComplexMatrix1DTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createMatrices() throws Exception { 13 | A = new DenseDComplexMatrix1D(SIZE); 14 | B = new DenseDComplexMatrix1D(SIZE); 15 | } 16 | 17 | public void testFft() { 18 | DComplexMatrix1D Acopy = A.copy(); 19 | ((DenseDComplexMatrix1D) A).fft(); 20 | ((DenseDComplexMatrix1D) A).ifft(true); 21 | for (int i = 0; i < (int) A.size(); i++) { 22 | assertEquals(Acopy.getQuick(i), A.getQuick(i), TOL); 23 | } 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/DenseDComplexMatrix1DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | public class DenseDComplexMatrix1DViewTest extends DenseDComplexMatrix1DTest { 4 | public DenseDComplexMatrix1DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new DenseDComplexMatrix1D(SIZE).viewFlip(); 10 | B = new DenseDComplexMatrix1D(SIZE).viewFlip(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/DenseDComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | public class DenseDComplexMatrix2DViewTest extends DenseDComplexMatrix2DTest { 4 | public DenseDComplexMatrix2DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new DenseDComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 10 | B = new DenseDComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | Bt = new DenseDComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/DenseDComplexMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | public class DenseDComplexMatrix3DViewTest extends DenseDComplexMatrix3DTest { 4 | public DenseDComplexMatrix3DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new DenseDComplexMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 10 | B = new DenseDComplexMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/DiagonalDComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | public class DiagonalDComplexMatrix2DViewTest extends DiagonalDComplexMatrix2DTest { 4 | 5 | public DiagonalDComplexMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | DINDEX = 3; 11 | A = new DiagonalDComplexMatrix2D(NCOLUMNS, NROWS, -DINDEX); 12 | DLENGTH = ((DiagonalDComplexMatrix2D) A).diagonalLength(); 13 | A = A.viewDice(); 14 | B = new DiagonalDComplexMatrix2D(NCOLUMNS, NROWS, -DINDEX).viewDice(); 15 | Bt = new DiagonalDComplexMatrix2D(NROWS, NCOLUMNS, DINDEX).viewDice(); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/LargeDenseDComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | public class LargeDenseDComplexMatrix2DViewTest extends LargeDenseDComplexMatrix2DTest { 4 | public LargeDenseDComplexMatrix2DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new DenseLargeDComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 10 | B = new DenseLargeDComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | Bt = new DenseLargeDComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/LargeDenseDComplexMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | public class LargeDenseDComplexMatrix3DViewTest extends LargeDenseDComplexMatrix3DTest { 4 | public LargeDenseDComplexMatrix3DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new DenseLargeDComplexMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 10 | B = new DenseLargeDComplexMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/SparseCCDComplexMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | import cern.colt.matrix.tdcomplex.DComplexMatrix2DTest; 4 | 5 | public class SparseCCDComplexMatrix2DTest extends DComplexMatrix2DTest { 6 | 7 | public SparseCCDComplexMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseCCDComplexMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseCCDComplexMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseCCDComplexMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/SparseCCDComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | public class SparseCCDComplexMatrix2DViewTest extends SparseCCDComplexMatrix2DTest { 4 | 5 | public SparseCCDComplexMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseCCDComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseCCDComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseCCDComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/SparseCCMDComplexMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | import cern.colt.matrix.tdcomplex.DComplexMatrix2DTest; 4 | 5 | public class SparseCCMDComplexMatrix2DTest extends DComplexMatrix2DTest { 6 | 7 | public SparseCCMDComplexMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseCCMDComplexMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseCCMDComplexMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseCCMDComplexMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/SparseCCMDComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | public class SparseCCMDComplexMatrix2DViewTest extends SparseCCMDComplexMatrix2DTest { 4 | 5 | public SparseCCMDComplexMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseCCMDComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 11 | B = new SparseCCMDComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 12 | Bt = new SparseCCMDComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/SparseDComplexMatrix1DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | import cern.colt.matrix.tdcomplex.DComplexMatrix1DTest; 4 | 5 | public class SparseDComplexMatrix1DTest extends DComplexMatrix1DTest { 6 | 7 | public SparseDComplexMatrix1DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseDComplexMatrix1D(SIZE); 13 | B = new SparseDComplexMatrix1D(SIZE); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/SparseDComplexMatrix1DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | public class SparseDComplexMatrix1DViewTest extends SparseDComplexMatrix1DTest { 4 | public SparseDComplexMatrix1DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new SparseDComplexMatrix1D(SIZE).viewFlip(); 10 | B = new SparseDComplexMatrix1D(SIZE).viewFlip(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/SparseDComplexMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | import cern.colt.matrix.tdcomplex.DComplexMatrix2DTest; 4 | 5 | public class SparseDComplexMatrix2DTest extends DComplexMatrix2DTest { 6 | public SparseDComplexMatrix2DTest(String arg0) { 7 | super(arg0); 8 | } 9 | 10 | protected void createMatrices() throws Exception { 11 | A = new SparseDComplexMatrix2D(NROWS, NCOLUMNS); 12 | B = new SparseDComplexMatrix2D(NROWS, NCOLUMNS); 13 | Bt = new SparseDComplexMatrix2D(NCOLUMNS, NROWS); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/SparseDComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | public class SparseDComplexMatrix2DViewTest extends SparseDComplexMatrix2DTest { 4 | public SparseDComplexMatrix2DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new SparseDComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 10 | B = new SparseDComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | Bt = new SparseDComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/SparseDComplexMatrix3DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | import cern.colt.matrix.tdcomplex.DComplexMatrix3DTest; 4 | 5 | public class SparseDComplexMatrix3DTest extends DComplexMatrix3DTest { 6 | public SparseDComplexMatrix3DTest(String arg0) { 7 | super(arg0); 8 | } 9 | 10 | protected void createMatrices() throws Exception { 11 | A = new SparseDComplexMatrix3D(NSLICES, NROWS, NCOLUMNS); 12 | B = new SparseDComplexMatrix3D(NSLICES, NROWS, NCOLUMNS); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/SparseDComplexMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | public class SparseDComplexMatrix3DViewTest extends SparseDComplexMatrix3DTest { 4 | public SparseDComplexMatrix3DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new SparseDComplexMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 10 | B = new SparseDComplexMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/SparseRCDComplexMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | import cern.colt.matrix.tdcomplex.DComplexMatrix2DTest; 4 | 5 | public class SparseRCDComplexMatrix2DTest extends DComplexMatrix2DTest { 6 | 7 | public SparseRCDComplexMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseRCDComplexMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseRCDComplexMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseRCDComplexMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/SparseRCDComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | public class SparseRCDComplexMatrix2DViewTest extends SparseRCDComplexMatrix2DTest { 4 | 5 | public SparseRCDComplexMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseRCDComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseRCDComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseRCDComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/SparseRCMDComplexMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | import cern.colt.matrix.tdcomplex.DComplexMatrix2DTest; 4 | 5 | public class SparseRCMDComplexMatrix2DTest extends DComplexMatrix2DTest { 6 | 7 | public SparseRCMDComplexMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseRCMDComplexMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseRCMDComplexMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseRCMDComplexMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdcomplex/impl/SparseRCMDComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdcomplex.impl; 2 | 3 | public class SparseRCMDComplexMatrix2DViewTest extends SparseRCMDComplexMatrix2DTest { 4 | 5 | public SparseRCMDComplexMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseRCMDComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 11 | B = new SparseRCMDComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 12 | Bt = new SparseRCMDComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/TestNormInfinity.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo; 2 | 3 | import cern.colt.matrix.tdouble.DoubleFactory1D; 4 | import cern.colt.matrix.tdouble.DoubleMatrix1D; 5 | 6 | class TestNormInfinity { 7 | 8 | public static void main(String[] args) { 9 | DoubleMatrix1D x1 = DoubleFactory1D.dense.make(new double[] { 1.0, 2.0 }); 10 | DoubleMatrix1D x2 = DoubleFactory1D.dense.make(new double[] { 1.0, -2.0 }); 11 | DoubleMatrix1D x3 = DoubleFactory1D.dense.make(new double[] { -1.0, -2.0 }); 12 | 13 | System.out.println(DenseDoubleAlgebra.DEFAULT.normInfinity(x1)); 14 | System.out.println(DenseDoubleAlgebra.DEFAULT.normInfinity(x2)); 15 | System.out.println(DenseDoubleAlgebra.DEFAULT.normInfinity(x3)); 16 | } 17 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleBiCGAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleAMG; 4 | 5 | /** 6 | * Test of DoubleBiCG wit AMG 7 | * 8 | */ 9 | public class DoubleBiCGAMGTest extends DoubleBiCGTest { 10 | 11 | public DoubleBiCGAMGTest(String arg0) { 12 | super(arg0); 13 | } 14 | 15 | protected void createSolver() throws Exception { 16 | super.createSolver(); 17 | M = new DoubleAMG(); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleBiCGDiagonalTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleDiagonal; 4 | 5 | /** 6 | * Test of DoubleBiCG with diagonal preconditioner 7 | */ 8 | public class DoubleBiCGDiagonalTest extends DoubleBiCGTest { 9 | 10 | public DoubleBiCGDiagonalTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleDiagonal(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleBiCGICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleICC; 4 | 5 | /** 6 | * Test of DoubleBiCG with ICC 7 | */ 8 | public class DoubleBiCGICCTest extends DoubleBiCGTest { 9 | 10 | public DoubleBiCGICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleBiCGILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILUT; 4 | 5 | /** 6 | * Test of DoubleBiCG with ILUT 7 | */ 8 | public class DoubleBiCGILUTTest extends DoubleBiCGTest { 9 | 10 | public DoubleBiCGILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleBiCGILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILU; 4 | 5 | /** 6 | * Test of DoubleBiCG with ILU 7 | */ 8 | public class DoubleBiCGILUTest extends DoubleBiCGTest { 9 | 10 | public DoubleBiCGILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleBiCGSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleSSOR; 4 | 5 | /** 6 | * Test of DoubleBiCG with SSOR 7 | */ 8 | public class DoubleBiCGSSORTest extends DoubleBiCGTest { 9 | 10 | public DoubleBiCGSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | double omega = Math.random() + 1; 17 | M = new DoubleSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleBiCGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | /** 4 | * Test of DoubleBiCG 5 | */ 6 | public class DoubleBiCGTest extends DoubleIterativeSolverTest { 7 | 8 | public DoubleBiCGTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new DoubleBiCG(x); 14 | M = solver.getPreconditioner(); //identity preconditioner 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleBiCGstabAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleAMG; 4 | 5 | /** 6 | * Test of DoubleBiCGstab with AMG 7 | */ 8 | public class DoubleBiCGstabAMGTest extends DoubleBiCGstabTest { 9 | 10 | public DoubleBiCGstabAMGTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleAMG(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleBiCGstabICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleICC; 4 | 5 | /** 6 | * Test of DoubleBiCGstab with ICC 7 | */ 8 | public class DoubleBiCGstabICCTest extends DoubleBiCGstabTest { 9 | 10 | public DoubleBiCGstabICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleBiCGstabILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILUT; 4 | 5 | /** 6 | * Test of DoubleBiCGstab with ILUT 7 | */ 8 | public class DoubleBiCGstabILUTTest extends DoubleBiCGstabTest { 9 | 10 | public DoubleBiCGstabILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleBiCGstabILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILU; 4 | 5 | /** 6 | * Test of DoubleBiCGstab with ILU 7 | */ 8 | public class DoubleBiCGstabILUTest extends DoubleBiCGstabTest { 9 | 10 | public DoubleBiCGstabILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleBiCGstabSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleSSOR; 4 | 5 | /** 6 | * Test of DoubleBiCGstab with SSOR 7 | */ 8 | public class DoubleBiCGstabSSORTest extends DoubleBiCGstabTest { 9 | 10 | public DoubleBiCGstabSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | double omega = Math.random() + 1; 17 | M = new DoubleSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleBiCGstabTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | /** 4 | * Test of DoubleBiCGstab 5 | */ 6 | public class DoubleBiCGstabTest extends DoubleIterativeSolverTest { 7 | 8 | public DoubleBiCGstabTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new DoubleBiCGstab(x); 14 | M = solver.getPreconditioner(); //identity preconditioner 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleAMG; 4 | 5 | /** 6 | * Test of DoubleCG with AMG 7 | */ 8 | public class DoubleCGAMGTest extends DoubleCGTest { 9 | 10 | public DoubleCGAMGTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleAMG(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGDiagonalTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleDiagonal; 4 | 5 | /** 6 | * Test of DoubleCG with diagonal preconditioner 7 | */ 8 | public class DoubleCGDiagonalTest extends DoubleCGTest { 9 | 10 | public DoubleCGDiagonalTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleDiagonal(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleICC; 4 | 5 | /** 6 | * Test of DoubleCG with ICC 7 | */ 8 | public class DoubleCGICCTest extends DoubleCGTest { 9 | 10 | public DoubleCGICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILUT; 4 | 5 | /** 6 | * Test of DoubleCG with ILUT 7 | */ 8 | public class DoubleCGILUTTest extends DoubleCGTest { 9 | 10 | public DoubleCGILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILU; 4 | 5 | /** 6 | * Test of DoubleCG with ILU 7 | */ 8 | public class DoubleCGILUTest extends DoubleCGTest { 9 | 10 | public DoubleCGILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGSAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleAMG; 4 | 5 | /** 6 | * Test of DoubleCGS with AMG 7 | */ 8 | public class DoubleCGSAMGTest extends DoubleCGSTest { 9 | 10 | public DoubleCGSAMGTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleAMG(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGSDiagonalTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleDiagonal; 4 | 5 | /** 6 | * Test of DoubleCGS with diagonal preconditioner 7 | */ 8 | public class DoubleCGSDiagonalTest extends DoubleCGSTest { 9 | 10 | public DoubleCGSDiagonalTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleDiagonal(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGSICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleICC; 4 | 5 | /** 6 | * Test of DoubleCGS with ICC 7 | */ 8 | public class DoubleCGSICCTest extends DoubleCGSTest { 9 | 10 | public DoubleCGSICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGSILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILUT; 4 | 5 | /** 6 | * Test of DoubleCGS with ILUT 7 | */ 8 | public class DoubleCGSILUTTest extends DoubleCGSTest { 9 | 10 | public DoubleCGSILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGSILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILU; 4 | 5 | /** 6 | * Test of DoubleCGS with ILU 7 | */ 8 | public class DoubleCGSILUTest extends DoubleCGSTest { 9 | 10 | public DoubleCGSILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleSSOR; 4 | 5 | /** 6 | * Test of DoubleCG with SSOR 7 | */ 8 | public class DoubleCGSSORTest extends DoubleCGTest { 9 | 10 | public DoubleCGSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | double omega = Math.random() + 1; 17 | M = new DoubleSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGSSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleSSOR; 4 | 5 | /** 6 | * Test of DoubleCGS with SSOR 7 | */ 8 | public class DoubleCGSSSORTest extends DoubleCGSTest { 9 | 10 | public DoubleCGSSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | double omega = Math.random() + 1; 17 | M = new DoubleSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGSTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | /** 4 | * Test of DoubleCGS 5 | */ 6 | public class DoubleCGSTest extends DoubleIterativeSolverTest { 7 | 8 | public DoubleCGSTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new DoubleCGS(x); 14 | M = solver.getPreconditioner(); //identity preconditioner 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleCGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | /** 4 | * Test of DoubleCG 5 | */ 6 | public class DoubleCGTest extends DoubleIterativeSolverTest { 7 | 8 | public DoubleCGTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new DoubleCG(x); 14 | M = solver.getPreconditioner(); //identity preconditioner 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleChebyshevAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleAMG; 4 | 5 | /** 6 | * Test of DoubleChebyshev with AMG 7 | */ 8 | public class DoubleChebyshevAMGTest extends DoubleChebyshevTest { 9 | 10 | public DoubleChebyshevAMGTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleAMG(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleChebyshevDiagonalTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleDiagonal; 4 | 5 | /** 6 | * Test of DoubleChebyshev with diagonal preconditioner 7 | */ 8 | public class DoubleChebyshevDiagonalTest extends DoubleChebyshevTest { 9 | 10 | public DoubleChebyshevDiagonalTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleDiagonal(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleChebyshevICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleICC; 4 | 5 | /** 6 | * Test of DoubleChebyshev with ICC 7 | */ 8 | public class DoubleChebyshevICCTest extends DoubleChebyshevTest { 9 | 10 | public DoubleChebyshevICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleChebyshevILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILUT; 4 | 5 | /** 6 | * Test of DoubleChebyshev with ILUT 7 | */ 8 | public class DoubleChebyshevILUTTest extends DoubleChebyshevTest { 9 | 10 | public DoubleChebyshevILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleChebyshevILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILU; 4 | 5 | /** 6 | * Test of DoubleChebyshev with ILU 7 | */ 8 | public class DoubleChebyshevILUTest extends DoubleChebyshevTest { 9 | 10 | public DoubleChebyshevILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleChebyshevSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleSSOR; 4 | 5 | /** 6 | * Test of DoubleChebyshev with SSOR 7 | */ 8 | public class DoubleChebyshevSSORTest extends DoubleChebyshevTest { 9 | 10 | public DoubleChebyshevSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | double omega = Math.random() + 1; 17 | M = new DoubleSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleGMRESAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleAMG; 4 | 5 | /** 6 | * Test of DoubleGMRES with AMG 7 | */ 8 | public class DoubleGMRESAMGTest extends DoubleGMRESTest { 9 | 10 | public DoubleGMRESAMGTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleAMG(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleGMRESDiagonalTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleDiagonal; 4 | 5 | /** 6 | * Test of DoubleGMRES with diagonal preconditioner 7 | */ 8 | public class DoubleGMRESDiagonalTest extends DoubleGMRESTest { 9 | 10 | public DoubleGMRESDiagonalTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleDiagonal(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleGMRESICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleICC; 4 | 5 | /** 6 | * Test of DoubleGMRES with ICC 7 | */ 8 | public class DoubleGMRESICCTest extends DoubleGMRESTest { 9 | 10 | public DoubleGMRESICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleGMRESILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILUT; 4 | 5 | /** 6 | * Test of DoubleGMRES with ILUT 7 | */ 8 | public class DoubleGMRESILUTTest extends DoubleGMRESTest { 9 | 10 | public DoubleGMRESILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleGMRESILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILU; 4 | 5 | /** 6 | * Test of DoubleGMRES with ILU 7 | */ 8 | public class DoubleGMRESILUTest extends DoubleGMRESTest { 9 | 10 | public DoubleGMRESILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleGMRESSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleSSOR; 4 | 5 | /** 6 | * Test of DoubleGMRES with SSOR 7 | */ 8 | public class DoubleGMRESSSORTest extends DoubleGMRESTest { 9 | 10 | public DoubleGMRESSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | double omega = Math.random() + 1; 17 | M = new DoubleSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleGMRESTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | /** 4 | * Test of DoubleGMRES 5 | */ 6 | public class DoubleGMRESTest extends DoubleIterativeSolverTest { 7 | 8 | public DoubleGMRESTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new DoubleGMRES(x); 14 | M = solver.getPreconditioner(); //identity preconditioner 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleIRAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleAMG; 4 | 5 | /** 6 | * Test of DoubleIR with AMG 7 | */ 8 | public class DoubleIRAMGTest extends DoubleIRTest { 9 | 10 | public DoubleIRAMGTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleAMG(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleIRDiagonalTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleDiagonal; 4 | 5 | /** 6 | * Test of DoubleIR with diagonal preconditioner 7 | */ 8 | public class DoubleIRDiagonalTest extends DoubleGMRESTest { 9 | 10 | public DoubleIRDiagonalTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleDiagonal(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleIRICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleICC; 4 | 5 | /** 6 | * Test of DoubleIR with ICC 7 | */ 8 | public class DoubleIRICCTest extends DoubleIRTest { 9 | 10 | public DoubleIRICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleIRILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILUT; 4 | 5 | /** 6 | * Test of DoubleIR with ILUT 7 | */ 8 | public class DoubleIRILUTTest extends DoubleIRTest { 9 | 10 | public DoubleIRILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleIRILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILU; 4 | 5 | /** 6 | * Test of DoubleIR with ILU 7 | */ 8 | public class DoubleIRILUTest extends DoubleIRTest { 9 | 10 | public DoubleIRILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleIRSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleSSOR; 4 | 5 | /** 6 | * Test of DoubleIR with SSOR 7 | */ 8 | public class DoubleIRSSORTest extends DoubleIRTest { 9 | 10 | public DoubleIRSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | double omega = Math.random() + 1; 17 | M = new DoubleSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleIRTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | /** 4 | * Test of DoubleIR 5 | */ 6 | public class DoubleIRTest extends DoubleIterativeSolverTest { 7 | 8 | public DoubleIRTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new DoubleIR(x); 14 | M = solver.getPreconditioner(); //identity preconditioner 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleQMRAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleAMG; 4 | 5 | /** 6 | * Test of DoubleQMR with AMG 7 | */ 8 | public class DoubleQMRAMGTest extends DoubleQMRTest { 9 | 10 | public DoubleQMRAMGTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleAMG(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleQMRDiagonalTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleDiagonal; 4 | 5 | /** 6 | * Test DoubleQMR with diagonal preconditioner 7 | */ 8 | public class DoubleQMRDiagonalTest extends DoubleQMRTest { 9 | 10 | public DoubleQMRDiagonalTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleDiagonal(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleQMRICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleICC; 4 | 5 | /** 6 | * Test of DoubleQMR with ICC 7 | */ 8 | public class DoubleQMRICCTest extends DoubleQMRTest { 9 | 10 | public DoubleQMRICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleQMRILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILUT; 4 | 5 | /** 6 | * Test of DoubleQMR with ILUT 7 | */ 8 | public class DoubleQMRILUTTest extends DoubleQMRTest { 9 | 10 | public DoubleQMRILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleQMRILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILU; 4 | 5 | /** 6 | * Test of DoubleQMR with ILU 7 | */ 8 | public class DoubleQMRILUTest extends DoubleQMRTest { 9 | 10 | public DoubleQMRILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new DoubleILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleQMRSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | import cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleSSOR; 4 | 5 | /** 6 | * Test of DoubleQMR with SSOR 7 | */ 8 | public class DoubleQMRSSORTest extends DoubleQMRTest { 9 | 10 | public DoubleQMRSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | double omega = Math.random() + 1; 17 | M = new DoubleSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/algo/solver/DoubleQMRTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.algo.solver; 2 | 3 | /** 4 | * Test of DoubleQMR 5 | */ 6 | public class DoubleQMRTest extends DoubleIterativeSolverTest { 7 | 8 | public DoubleQMRTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new DoubleQMR(x); 14 | M = solver.getPreconditioner(); //identity preconditioner 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/DenseColumnDoubleMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | public class DenseColumnDoubleMatrix2DViewTest extends DenseColumnDoubleMatrix2DTest { 4 | 5 | public DenseColumnDoubleMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseColumnDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new DenseColumnDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new DenseColumnDoubleMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/DenseDoubleMatrix1DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | public class DenseDoubleMatrix1DViewTest extends DenseDoubleMatrix1DTest { 4 | 5 | public DenseDoubleMatrix1DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseDoubleMatrix1D(SIZE).viewFlip(); 11 | B = new DenseDoubleMatrix1D(SIZE).viewFlip(); 12 | } 13 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/DenseDoubleMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | public class DenseDoubleMatrix2DViewTest extends DenseDoubleMatrix2DTest { 4 | 5 | public DenseDoubleMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new DenseDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new DenseDoubleMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/DenseDoubleMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | public class DenseDoubleMatrix3DViewTest extends DenseDoubleMatrix3DTest { 4 | 5 | public DenseDoubleMatrix3DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseDoubleMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | B = new DenseDoubleMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/DenseLargeDoubleMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | public class DenseLargeDoubleMatrix2DViewTest extends DenseLargeDoubleMatrix2DTest { 4 | 5 | public DenseLargeDoubleMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseLargeDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new DenseLargeDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new DenseLargeDoubleMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/DenseLargeDoubleMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | public class DenseLargeDoubleMatrix3DViewTest extends DenseLargeDoubleMatrix3DTest { 4 | 5 | public DenseLargeDoubleMatrix3DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseLargeDoubleMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | B = new DenseLargeDoubleMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/DiagonalDoubleMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | public class DiagonalDoubleMatrix2DViewTest extends DiagonalDoubleMatrix2DTest { 4 | 5 | public DiagonalDoubleMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | DINDEX = 3; 11 | A = new DiagonalDoubleMatrix2D(NCOLUMNS, NROWS, -DINDEX); 12 | DLENGTH = ((DiagonalDoubleMatrix2D) A).diagonalLength(); 13 | A = A.viewDice(); 14 | B = new DiagonalDoubleMatrix2D(NCOLUMNS, NROWS, -DINDEX).viewDice(); 15 | Bt = new DiagonalDoubleMatrix2D(NROWS, NCOLUMNS, DINDEX).viewDice(); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/SparseCCDoubleMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | public class SparseCCDoubleMatrix2DViewTest extends SparseCCDoubleMatrix2DTest { 4 | 5 | public SparseCCDoubleMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseCCDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseCCDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseCCDoubleMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/SparseCCMDoubleMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | import cern.colt.matrix.tdouble.DoubleMatrix2DTest; 4 | 5 | public class SparseCCMDoubleMatrix2DTest extends DoubleMatrix2DTest { 6 | 7 | public SparseCCMDoubleMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseCCMDoubleMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseCCMDoubleMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseCCMDoubleMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/SparseCCMDoubleMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | public class SparseCCMDoubleMatrix2DViewTest extends SparseCCMDoubleMatrix2DTest { 4 | 5 | public SparseCCMDoubleMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseCCMDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseCCMDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseCCMDoubleMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/SparseDoubleMatrix1DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | import cern.colt.matrix.tdouble.DoubleMatrix1DTest; 4 | 5 | public class SparseDoubleMatrix1DTest extends DoubleMatrix1DTest { 6 | 7 | public SparseDoubleMatrix1DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseDoubleMatrix1D(SIZE); 13 | B = new SparseDoubleMatrix1D(SIZE); 14 | } 15 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/SparseDoubleMatrix1DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | public class SparseDoubleMatrix1DViewTest extends SparseDoubleMatrix1DTest { 4 | 5 | public SparseDoubleMatrix1DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseDoubleMatrix1D(SIZE).viewFlip(); 11 | B = new SparseDoubleMatrix1D(SIZE).viewFlip(); 12 | } 13 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/SparseDoubleMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | public class SparseDoubleMatrix2DViewTest extends SparseDoubleMatrix2DTest { 4 | 5 | public SparseDoubleMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseDoubleMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/SparseDoubleMatrix3DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | import cern.colt.matrix.tdouble.DoubleMatrix3DTest; 4 | 5 | public class SparseDoubleMatrix3DTest extends DoubleMatrix3DTest { 6 | 7 | public SparseDoubleMatrix3DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseDoubleMatrix3D(NSLICES, NROWS, NCOLUMNS); 13 | B = new SparseDoubleMatrix3D(NSLICES, NROWS, NCOLUMNS); 14 | } 15 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/SparseDoubleMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | public class SparseDoubleMatrix3DViewTest extends SparseDoubleMatrix3DTest { 4 | 5 | public SparseDoubleMatrix3DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseDoubleMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | B = new SparseDoubleMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 12 | } 13 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/SparseRCDoubleMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | public class SparseRCDoubleMatrix2DViewTest extends SparseRCDoubleMatrix2DTest { 4 | 5 | public SparseRCDoubleMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseRCDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseRCDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseRCDoubleMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/SparseRCMDoubleMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | import cern.colt.matrix.tdouble.DoubleMatrix2DTest; 4 | 5 | public class SparseRCMDoubleMatrix2DTest extends DoubleMatrix2DTest { 6 | 7 | public SparseRCMDoubleMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseRCMDoubleMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseRCMDoubleMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseRCMDoubleMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tdouble/impl/SparseRCMDoubleMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tdouble.impl; 2 | 3 | public class SparseRCMDoubleMatrix2DViewTest extends SparseRCMDoubleMatrix2DTest { 4 | 5 | public SparseRCMDoubleMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseRCMDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseRCMDoubleMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseRCMDoubleMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/DenseColumnFComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | public class DenseColumnFComplexMatrix2DViewTest extends DenseColumnFComplexMatrix2DTest { 4 | public DenseColumnFComplexMatrix2DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new DenseColumnFComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 10 | B = new DenseColumnFComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | Bt = new DenseColumnFComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/DenseFComplexMatrix1DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | public class DenseFComplexMatrix1DViewTest extends DenseFComplexMatrix1DTest { 4 | public DenseFComplexMatrix1DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new DenseFComplexMatrix1D(SIZE).viewFlip(); 10 | B = new DenseFComplexMatrix1D(SIZE).viewFlip(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/DenseFComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | public class DenseFComplexMatrix2DViewTest extends DenseFComplexMatrix2DTest { 4 | public DenseFComplexMatrix2DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new DenseFComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 10 | B = new DenseFComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | Bt = new DenseFComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/DenseFComplexMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | public class DenseFComplexMatrix3DViewTest extends DenseFComplexMatrix3DTest { 4 | public DenseFComplexMatrix3DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new DenseFComplexMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 10 | B = new DenseFComplexMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/DiagonalFComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | public class DiagonalFComplexMatrix2DViewTest extends DiagonalFComplexMatrix2DTest { 4 | 5 | public DiagonalFComplexMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | DINDEX = 3; 11 | A = new DiagonalFComplexMatrix2D(NCOLUMNS, NROWS, -DINDEX); 12 | DLENGTH = ((DiagonalFComplexMatrix2D) A).diagonalLength(); 13 | A = A.viewDice(); 14 | B = new DiagonalFComplexMatrix2D(NCOLUMNS, NROWS, -DINDEX).viewDice(); 15 | Bt = new DiagonalFComplexMatrix2D(NROWS, NCOLUMNS, DINDEX).viewDice(); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/LargeDenseFComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | public class LargeDenseFComplexMatrix2DViewTest extends LargeDenseFComplexMatrix2DTest { 4 | public LargeDenseFComplexMatrix2DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new DenseLargeFComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 10 | B = new DenseLargeFComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | Bt = new DenseLargeFComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/LargeDenseFComplexMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | public class LargeDenseFComplexMatrix3DViewTest extends LargeDenseFComplexMatrix3DTest { 4 | public LargeDenseFComplexMatrix3DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new DenseLargeFComplexMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 10 | B = new DenseLargeFComplexMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/SparseCCFComplexMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | import cern.colt.matrix.tfcomplex.FComplexMatrix2DTest; 4 | 5 | public class SparseCCFComplexMatrix2DTest extends FComplexMatrix2DTest { 6 | 7 | public SparseCCFComplexMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseCCFComplexMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseCCFComplexMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseCCFComplexMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/SparseCCFComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | public class SparseCCFComplexMatrix2DViewTest extends SparseCCFComplexMatrix2DTest { 4 | 5 | public SparseCCFComplexMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseCCFComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseCCFComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseCCFComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/SparseCCMFComplexMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | import cern.colt.matrix.tfcomplex.FComplexMatrix2DTest; 4 | 5 | public class SparseCCMFComplexMatrix2DTest extends FComplexMatrix2DTest { 6 | 7 | public SparseCCMFComplexMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseCCMFComplexMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseCCMFComplexMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseCCMFComplexMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/SparseCCMFComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | public class SparseCCMFComplexMatrix2DViewTest extends SparseCCMFComplexMatrix2DTest { 4 | 5 | public SparseCCMFComplexMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseCCMFComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 11 | B = new SparseCCMFComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 12 | Bt = new SparseCCMFComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/SparseFComplexMatrix1DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | import cern.colt.matrix.tfcomplex.FComplexMatrix1DTest; 4 | 5 | public class SparseFComplexMatrix1DTest extends FComplexMatrix1DTest { 6 | 7 | public SparseFComplexMatrix1DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseFComplexMatrix1D(SIZE); 13 | B = new SparseFComplexMatrix1D(SIZE); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/SparseFComplexMatrix1DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | public class SparseFComplexMatrix1DViewTest extends SparseFComplexMatrix1DTest { 4 | public SparseFComplexMatrix1DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new SparseFComplexMatrix1D(SIZE).viewFlip(); 10 | B = new SparseFComplexMatrix1D(SIZE).viewFlip(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/SparseFComplexMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | import cern.colt.matrix.tfcomplex.FComplexMatrix2DTest; 4 | 5 | public class SparseFComplexMatrix2DTest extends FComplexMatrix2DTest { 6 | public SparseFComplexMatrix2DTest(String arg0) { 7 | super(arg0); 8 | } 9 | 10 | protected void createMatrices() throws Exception { 11 | A = new SparseFComplexMatrix2D(NROWS, NCOLUMNS); 12 | B = new SparseFComplexMatrix2D(NROWS, NCOLUMNS); 13 | Bt = new SparseFComplexMatrix2D(NCOLUMNS, NROWS); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/SparseFComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | public class SparseFComplexMatrix2DViewTest extends SparseFComplexMatrix2DTest { 4 | public SparseFComplexMatrix2DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new SparseFComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 10 | B = new SparseFComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | Bt = new SparseFComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/SparseFComplexMatrix3DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | import cern.colt.matrix.tfcomplex.FComplexMatrix3DTest; 4 | 5 | public class SparseFComplexMatrix3DTest extends FComplexMatrix3DTest { 6 | public SparseFComplexMatrix3DTest(String arg0) { 7 | super(arg0); 8 | } 9 | 10 | protected void createMatrices() throws Exception { 11 | A = new SparseFComplexMatrix3D(NSLICES, NROWS, NCOLUMNS); 12 | B = new SparseFComplexMatrix3D(NSLICES, NROWS, NCOLUMNS); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/SparseFComplexMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | public class SparseFComplexMatrix3DViewTest extends SparseFComplexMatrix3DTest { 4 | public SparseFComplexMatrix3DViewTest(String arg0) { 5 | super(arg0); 6 | } 7 | 8 | protected void createMatrices() throws Exception { 9 | A = new SparseFComplexMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 10 | B = new SparseFComplexMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/SparseRCFComplexMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | import cern.colt.matrix.tfcomplex.FComplexMatrix2DTest; 4 | 5 | public class SparseRCFComplexMatrix2DTest extends FComplexMatrix2DTest { 6 | 7 | public SparseRCFComplexMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseRCFComplexMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseRCFComplexMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseRCFComplexMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/SparseRCFComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | public class SparseRCFComplexMatrix2DViewTest extends SparseRCFComplexMatrix2DTest { 4 | 5 | public SparseRCFComplexMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseRCFComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseRCFComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseRCFComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/SparseRCMFComplexMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | import cern.colt.matrix.tfcomplex.FComplexMatrix2DTest; 4 | 5 | public class SparseRCMFComplexMatrix2DTest extends FComplexMatrix2DTest { 6 | 7 | public SparseRCMFComplexMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseRCMFComplexMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseRCMFComplexMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseRCMFComplexMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfcomplex/impl/SparseRCMFComplexMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfcomplex.impl; 2 | 3 | public class SparseRCMFComplexMatrix2DViewTest extends SparseRCMFComplexMatrix2DTest { 4 | 5 | public SparseRCMFComplexMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseRCMFComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 11 | B = new SparseRCMFComplexMatrix2D(NROWS, NCOLUMNS).viewDice(); 12 | Bt = new SparseRCMFComplexMatrix2D(NCOLUMNS, NROWS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/TestNormInfinity.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo; 2 | 3 | import cern.colt.matrix.tfloat.FloatFactory1D; 4 | import cern.colt.matrix.tfloat.FloatMatrix1D; 5 | 6 | class TestNormInfinity { 7 | 8 | public static void main(String[] args) { 9 | FloatMatrix1D x1 = FloatFactory1D.dense.make(new float[] { 1.0f, 2.0f }); 10 | FloatMatrix1D x2 = FloatFactory1D.dense.make(new float[] { 1.0f, -2.0f }); 11 | FloatMatrix1D x3 = FloatFactory1D.dense.make(new float[] { -1.0f, -2.0f }); 12 | 13 | System.out.println(DenseFloatAlgebra.DEFAULT.normInfinity(x1)); 14 | System.out.println(DenseFloatAlgebra.DEFAULT.normInfinity(x2)); 15 | System.out.println(DenseFloatAlgebra.DEFAULT.normInfinity(x3)); 16 | } 17 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatBiCGAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatAMG; 4 | 5 | /** 6 | * Test of FloatBiCG wit AMG 7 | * 8 | */ 9 | public class FloatBiCGAMGTest extends FloatBiCGTest { 10 | 11 | public FloatBiCGAMGTest(String arg0) { 12 | super(arg0); 13 | } 14 | 15 | protected void createSolver() throws Exception { 16 | super.createSolver(); 17 | M = new FloatAMG(); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatBiCGDiagonalTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatDiagonal; 4 | 5 | /** 6 | * Test of FloatBiCG with diagonal preconditioner 7 | */ 8 | public class FloatBiCGDiagonalTest extends FloatBiCGTest { 9 | 10 | public FloatBiCGDiagonalTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatDiagonal(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatBiCGICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatICC; 4 | 5 | /** 6 | * Test of FloatBiCG with ICC 7 | */ 8 | public class FloatBiCGICCTest extends FloatBiCGTest { 9 | 10 | public FloatBiCGICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatBiCGILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILUT; 4 | 5 | /** 6 | * Test of FloatBiCG with ILUT 7 | */ 8 | public class FloatBiCGILUTTest extends FloatBiCGTest { 9 | 10 | public FloatBiCGILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatBiCGILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILU; 4 | 5 | /** 6 | * Test of FloatBiCG with ILU 7 | */ 8 | public class FloatBiCGILUTest extends FloatBiCGTest { 9 | 10 | public FloatBiCGILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatBiCGSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatSSOR; 4 | 5 | /** 6 | * Test of FloatBiCG with SSOR 7 | */ 8 | public class FloatBiCGSSORTest extends FloatBiCGTest { 9 | 10 | public FloatBiCGSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | float omega = (float) Math.random() + 1; 17 | M = new FloatSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatBiCGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | /** 4 | * Test of FloatBiCG 5 | */ 6 | public class FloatBiCGTest extends FloatIterativeSolverTest { 7 | 8 | public FloatBiCGTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new FloatBiCG(x); 14 | M = solver.getPreconditioner(); //identity preconditioner 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatBiCGstabAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatAMG; 4 | 5 | /** 6 | * Test of FloatBiCGstab with AMG 7 | */ 8 | public class FloatBiCGstabAMGTest extends FloatBiCGstabTest { 9 | 10 | public FloatBiCGstabAMGTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatAMG(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatBiCGstabICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatICC; 4 | 5 | /** 6 | * Test of FloatBiCGstab with ICC 7 | */ 8 | public class FloatBiCGstabICCTest extends FloatBiCGstabTest { 9 | 10 | public FloatBiCGstabICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatBiCGstabILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILUT; 4 | 5 | /** 6 | * Test of FloatBiCGstab with ILUT 7 | */ 8 | public class FloatBiCGstabILUTTest extends FloatBiCGstabTest { 9 | 10 | public FloatBiCGstabILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatBiCGstabILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILU; 4 | 5 | /** 6 | * Test of FloatBiCGstab with ILU 7 | */ 8 | public class FloatBiCGstabILUTest extends FloatBiCGstabTest { 9 | 10 | public FloatBiCGstabILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatBiCGstabSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatSSOR; 4 | 5 | /** 6 | * Test of FloatBiCGstab with SSOR 7 | */ 8 | public class FloatBiCGstabSSORTest extends FloatBiCGstabTest { 9 | 10 | public FloatBiCGstabSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | float omega = (float) Math.random() + 1; 17 | M = new FloatSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatBiCGstabTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | /** 4 | * Test of FloatBiCGstab 5 | */ 6 | public class FloatBiCGstabTest extends FloatIterativeSolverTest { 7 | 8 | public FloatBiCGstabTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new FloatBiCGstab(x); 14 | M = solver.getPreconditioner(); //identity preconditioner 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatCGAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatAMG; 4 | 5 | /** 6 | * Test of FloatCG with AMG 7 | */ 8 | public class FloatCGAMGTest extends FloatCGTest { 9 | 10 | public FloatCGAMGTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatAMG(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatCGDiagonalTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatDiagonal; 4 | 5 | /** 6 | * Test of FloatCG with diagonal preconditioner 7 | */ 8 | public class FloatCGDiagonalTest extends FloatCGTest { 9 | 10 | public FloatCGDiagonalTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatDiagonal(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatCGICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatICC; 4 | 5 | /** 6 | * Test of FloatCG with ICC 7 | */ 8 | public class FloatCGICCTest extends FloatCGTest { 9 | 10 | public FloatCGICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatCGILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILUT; 4 | 5 | /** 6 | * Test of FloatCG with ILUT 7 | */ 8 | public class FloatCGILUTTest extends FloatCGTest { 9 | 10 | public FloatCGILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatCGILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILU; 4 | 5 | /** 6 | * Test of FloatCG with ILU 7 | */ 8 | public class FloatCGILUTest extends FloatCGTest { 9 | 10 | public FloatCGILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatCGSAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatAMG; 4 | 5 | /** 6 | * Test of FloatCGS with AMG 7 | */ 8 | public class FloatCGSAMGTest extends FloatCGSTest { 9 | 10 | public FloatCGSAMGTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatAMG(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatCGSDiagonalTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatDiagonal; 4 | 5 | /** 6 | * Test of FloatCGS with diagonal preconditioner 7 | */ 8 | public class FloatCGSDiagonalTest extends FloatCGSTest { 9 | 10 | public FloatCGSDiagonalTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatDiagonal(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatCGSICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatICC; 4 | 5 | /** 6 | * Test of FloatCGS with ICC 7 | */ 8 | public class FloatCGSICCTest extends FloatCGSTest { 9 | 10 | public FloatCGSICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatCGSILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILUT; 4 | 5 | /** 6 | * Test of FloatCGS with ILUT 7 | */ 8 | public class FloatCGSILUTTest extends FloatCGSTest { 9 | 10 | public FloatCGSILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatCGSILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILU; 4 | 5 | /** 6 | * Test of FloatCGS with ILU 7 | */ 8 | public class FloatCGSILUTest extends FloatCGSTest { 9 | 10 | public FloatCGSILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatCGSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatSSOR; 4 | 5 | /** 6 | * Test of FloatCG with SSOR 7 | */ 8 | public class FloatCGSSORTest extends FloatCGTest { 9 | 10 | public FloatCGSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | float omega = (float) Math.random() + 1; 17 | M = new FloatSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatCGSSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatSSOR; 4 | 5 | /** 6 | * Test of FloatCGS with SSOR 7 | */ 8 | public class FloatCGSSSORTest extends FloatCGSTest { 9 | 10 | public FloatCGSSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | float omega = (float) Math.random() + 1; 17 | M = new FloatSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatCGSTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | /** 4 | * Test of FloatCGS 5 | */ 6 | public class FloatCGSTest extends FloatIterativeSolverTest { 7 | 8 | public FloatCGSTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new FloatCGS(x); 14 | M = solver.getPreconditioner(); //identity preconditioner 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatCGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | /** 4 | * Test of FloatCG 5 | */ 6 | public class FloatCGTest extends FloatIterativeSolverTest { 7 | 8 | public FloatCGTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new FloatCG(x); 14 | M = solver.getPreconditioner(); //identity preconditioner 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatChebyshevAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatAMG; 4 | 5 | /** 6 | * Test of FloatChebyshev with AMG 7 | */ 8 | public class FloatChebyshevAMGTest extends FloatChebyshevTest { 9 | 10 | public FloatChebyshevAMGTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatAMG(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatChebyshevDiagonalTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatDiagonal; 4 | 5 | /** 6 | * Test of FloatChebyshev with diagonal preconditioner 7 | */ 8 | public class FloatChebyshevDiagonalTest extends FloatChebyshevTest { 9 | 10 | public FloatChebyshevDiagonalTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatDiagonal(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatChebyshevICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatICC; 4 | 5 | /** 6 | * Test of FloatChebyshev with ICC 7 | */ 8 | public class FloatChebyshevICCTest extends FloatChebyshevTest { 9 | 10 | public FloatChebyshevICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatChebyshevILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILUT; 4 | 5 | /** 6 | * Test of FloatChebyshev with ILUT 7 | */ 8 | public class FloatChebyshevILUTTest extends FloatChebyshevTest { 9 | 10 | public FloatChebyshevILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatChebyshevILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILU; 4 | 5 | /** 6 | * Test of FloatChebyshev with ILU 7 | */ 8 | public class FloatChebyshevILUTest extends FloatChebyshevTest { 9 | 10 | public FloatChebyshevILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatChebyshevSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatSSOR; 4 | 5 | /** 6 | * Test of FloatChebyshev with SSOR 7 | */ 8 | public class FloatChebyshevSSORTest extends FloatChebyshevTest { 9 | 10 | public FloatChebyshevSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | float omega = (float) Math.random() + 1; 17 | M = new FloatSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatGMRESAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatAMG; 4 | 5 | /** 6 | * Test of FloatGMRES with AMG 7 | */ 8 | public class FloatGMRESAMGTest extends FloatGMRESTest { 9 | 10 | public FloatGMRESAMGTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatAMG(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatGMRESDiagonalTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatDiagonal; 4 | 5 | /** 6 | * Test of FloatGMRES with diagonal preconditioner 7 | */ 8 | public class FloatGMRESDiagonalTest extends FloatGMRESTest { 9 | 10 | public FloatGMRESDiagonalTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatDiagonal(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatGMRESICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatICC; 4 | 5 | /** 6 | * Test of FloatGMRES with ICC 7 | */ 8 | public class FloatGMRESICCTest extends FloatGMRESTest { 9 | 10 | public FloatGMRESICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatGMRESILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILUT; 4 | 5 | /** 6 | * Test of FloatGMRES with ILUT 7 | */ 8 | public class FloatGMRESILUTTest extends FloatGMRESTest { 9 | 10 | public FloatGMRESILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatGMRESILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILU; 4 | 5 | /** 6 | * Test of FloatGMRES with ILU 7 | */ 8 | public class FloatGMRESILUTest extends FloatGMRESTest { 9 | 10 | public FloatGMRESILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatGMRESSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatSSOR; 4 | 5 | /** 6 | * Test of FloatGMRES with SSOR 7 | */ 8 | public class FloatGMRESSSORTest extends FloatGMRESTest { 9 | 10 | public FloatGMRESSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | float omega = (float) Math.random() + 1; 17 | M = new FloatSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatGMRESTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | /** 4 | * Test of FloatGMRES 5 | */ 6 | public class FloatGMRESTest extends FloatIterativeSolverTest { 7 | 8 | public FloatGMRESTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new FloatGMRES(x); 14 | M = solver.getPreconditioner(); //identity preconditioner 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatIRAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatAMG; 4 | 5 | /** 6 | * Test of FloatIR with AMG 7 | */ 8 | public class FloatIRAMGTest extends FloatIRTest { 9 | 10 | public FloatIRAMGTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatAMG(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatIRDiagonalTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatDiagonal; 4 | 5 | /** 6 | * Test of FloatIR with diagonal preconditioner 7 | */ 8 | public class FloatIRDiagonalTest extends FloatGMRESTest { 9 | 10 | public FloatIRDiagonalTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatDiagonal(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatIRICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatICC; 4 | 5 | /** 6 | * Test of FloatIR with ICC 7 | */ 8 | public class FloatIRICCTest extends FloatIRTest { 9 | 10 | public FloatIRICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatIRILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILUT; 4 | 5 | /** 6 | * Test of FloatIR with ILUT 7 | */ 8 | public class FloatIRILUTTest extends FloatIRTest { 9 | 10 | public FloatIRILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatIRILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILU; 4 | 5 | /** 6 | * Test of FloatIR with ILU 7 | */ 8 | public class FloatIRILUTest extends FloatIRTest { 9 | 10 | public FloatIRILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatIRSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatSSOR; 4 | 5 | /** 6 | * Test of FloatIR with SSOR 7 | */ 8 | public class FloatIRSSORTest extends FloatIRTest { 9 | 10 | public FloatIRSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | float omega = (float) Math.random() + 1; 17 | M = new FloatSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatIRTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | /** 4 | * Test of FloatIR 5 | */ 6 | public class FloatIRTest extends FloatIterativeSolverTest { 7 | 8 | public FloatIRTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new FloatIR(x); 14 | M = solver.getPreconditioner(); //identity preconditioner 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatQMRAMGTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatAMG; 4 | 5 | /** 6 | * Test of FloatQMR with AMG 7 | */ 8 | public class FloatQMRAMGTest extends FloatQMRTest { 9 | 10 | public FloatQMRAMGTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatAMG(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatQMRDiagonalTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatDiagonal; 4 | 5 | /** 6 | * Test FloatQMR with diagonal preconditioner 7 | */ 8 | public class FloatQMRDiagonalTest extends FloatQMRTest { 9 | 10 | public FloatQMRDiagonalTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatDiagonal(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatQMRICCTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatICC; 4 | 5 | /** 6 | * Test of FloatQMR with ICC 7 | */ 8 | public class FloatQMRICCTest extends FloatQMRTest { 9 | 10 | public FloatQMRICCTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatICC(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatQMRILUTTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILUT; 4 | 5 | /** 6 | * Test of FloatQMR with ILUT 7 | */ 8 | public class FloatQMRILUTTest extends FloatQMRTest { 9 | 10 | public FloatQMRILUTTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILUT(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatQMRILUTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatILU; 4 | 5 | /** 6 | * Test of FloatQMR with ILU 7 | */ 8 | public class FloatQMRILUTest extends FloatQMRTest { 9 | 10 | public FloatQMRILUTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | M = new FloatILU(A.rows()); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatQMRSSORTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | import cern.colt.matrix.tfloat.algo.solver.preconditioner.FloatSSOR; 4 | 5 | /** 6 | * Test of FloatQMR with SSOR 7 | */ 8 | public class FloatQMRSSORTest extends FloatQMRTest { 9 | 10 | public FloatQMRSSORTest(String arg0) { 11 | super(arg0); 12 | } 13 | 14 | protected void createSolver() throws Exception { 15 | super.createSolver(); 16 | float omega = (float) Math.random() + 1; 17 | M = new FloatSSOR(A.rows(), true, omega, omega); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/algo/solver/FloatQMRTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.algo.solver; 2 | 3 | /** 4 | * Test of FloatQMR 5 | */ 6 | public class FloatQMRTest extends FloatIterativeSolverTest { 7 | 8 | public FloatQMRTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | protected void createSolver() throws Exception { 13 | solver = new FloatQMR(x); 14 | M = solver.getPreconditioner(); //identity preconditioner 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/DenseColumnFloatMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | public class DenseColumnFloatMatrix2DViewTest extends DenseColumnFloatMatrix2DTest { 4 | 5 | public DenseColumnFloatMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseColumnFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new DenseColumnFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new DenseColumnFloatMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/DenseFloatMatrix1DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | public class DenseFloatMatrix1DViewTest extends DenseFloatMatrix1DTest { 4 | 5 | public DenseFloatMatrix1DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseFloatMatrix1D(SIZE).viewFlip(); 11 | B = new DenseFloatMatrix1D(SIZE).viewFlip(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/DenseFloatMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | public class DenseFloatMatrix2DViewTest extends DenseFloatMatrix2DTest { 4 | 5 | public DenseFloatMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new DenseFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new DenseFloatMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/DenseFloatMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | public class DenseFloatMatrix3DViewTest extends DenseFloatMatrix3DTest { 4 | 5 | public DenseFloatMatrix3DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseFloatMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | B = new DenseFloatMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/DenseLargeFloatMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | public class DenseLargeFloatMatrix2DViewTest extends DenseLargeFloatMatrix2DTest { 4 | 5 | public DenseLargeFloatMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseLargeFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new DenseLargeFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new DenseLargeFloatMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/DenseLargeFloatMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | public class DenseLargeFloatMatrix3DViewTest extends DenseLargeFloatMatrix3DTest { 4 | 5 | public DenseLargeFloatMatrix3DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseLargeFloatMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | B = new DenseLargeFloatMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/DiagonalFloatMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | public class DiagonalFloatMatrix2DViewTest extends DiagonalFloatMatrix2DTest { 4 | 5 | public DiagonalFloatMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | DINDEX = 3; 11 | A = new DiagonalFloatMatrix2D(NCOLUMNS, NROWS, -DINDEX); 12 | DLENGTH = ((DiagonalFloatMatrix2D) A).diagonalLength(); 13 | A = A.viewDice(); 14 | B = new DiagonalFloatMatrix2D(NCOLUMNS, NROWS, -DINDEX).viewDice(); 15 | Bt = new DiagonalFloatMatrix2D(NROWS, NCOLUMNS, DINDEX).viewDice(); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/SparseCCFloatMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | public class SparseCCFloatMatrix2DViewTest extends SparseCCFloatMatrix2DTest { 4 | 5 | public SparseCCFloatMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseCCFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseCCFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseCCFloatMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/SparseCCMFloatMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | import cern.colt.matrix.tfloat.FloatMatrix2DTest; 4 | 5 | public class SparseCCMFloatMatrix2DTest extends FloatMatrix2DTest { 6 | 7 | public SparseCCMFloatMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseCCMFloatMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseCCMFloatMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseCCMFloatMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/SparseCCMFloatMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | public class SparseCCMFloatMatrix2DViewTest extends SparseCCMFloatMatrix2DTest { 4 | 5 | public SparseCCMFloatMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseCCMFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseCCMFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseCCMFloatMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/SparseFloatMatrix1DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | import cern.colt.matrix.tfloat.FloatMatrix1DTest; 4 | 5 | public class SparseFloatMatrix1DTest extends FloatMatrix1DTest { 6 | 7 | public SparseFloatMatrix1DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseFloatMatrix1D(SIZE); 13 | B = new SparseFloatMatrix1D(SIZE); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/SparseFloatMatrix1DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | public class SparseFloatMatrix1DViewTest extends SparseFloatMatrix1DTest { 4 | 5 | public SparseFloatMatrix1DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseFloatMatrix1D(SIZE).viewFlip(); 11 | B = new SparseFloatMatrix1D(SIZE).viewFlip(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/SparseFloatMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | public class SparseFloatMatrix2DViewTest extends SparseFloatMatrix2DTest { 4 | 5 | public SparseFloatMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseFloatMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/SparseFloatMatrix3DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | import cern.colt.matrix.tfloat.FloatMatrix3DTest; 4 | 5 | public class SparseFloatMatrix3DTest extends FloatMatrix3DTest { 6 | 7 | public SparseFloatMatrix3DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseFloatMatrix3D(NSLICES, NROWS, NCOLUMNS); 13 | B = new SparseFloatMatrix3D(NSLICES, NROWS, NCOLUMNS); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/SparseFloatMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | public class SparseFloatMatrix3DViewTest extends SparseFloatMatrix3DTest { 4 | 5 | public SparseFloatMatrix3DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseFloatMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | B = new SparseFloatMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/SparseRCFloatMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | public class SparseRCFloatMatrix2DViewTest extends SparseRCFloatMatrix2DTest { 4 | 5 | public SparseRCFloatMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseRCFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseRCFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseRCFloatMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/SparseRCMFloatMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | import cern.colt.matrix.tfloat.FloatMatrix2DTest; 4 | 5 | public class SparseRCMFloatMatrix2DTest extends FloatMatrix2DTest { 6 | 7 | public SparseRCMFloatMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseRCMFloatMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseRCMFloatMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseRCMFloatMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tfloat/impl/SparseRCMFloatMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tfloat.impl; 2 | 3 | public class SparseRCMFloatMatrix2DViewTest extends SparseRCMFloatMatrix2DTest { 4 | 5 | public SparseRCMFloatMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseRCMFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseRCMFloatMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseRCMFloatMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/DenseColumnIntMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | public class DenseColumnIntMatrix2DViewTest extends DenseColumnIntMatrix2DTest { 4 | 5 | public DenseColumnIntMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseColumnIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new DenseColumnIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new DenseColumnIntMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/DenseIntMatrix1DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | import cern.colt.matrix.tint.IntMatrix1DTest; 4 | 5 | public class DenseIntMatrix1DTest extends IntMatrix1DTest { 6 | 7 | public DenseIntMatrix1DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new DenseIntMatrix1D(SIZE); 13 | B = new DenseIntMatrix1D(SIZE); 14 | } 15 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/DenseIntMatrix1DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | public class DenseIntMatrix1DViewTest extends DenseIntMatrix1DTest { 4 | 5 | public DenseIntMatrix1DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseIntMatrix1D(SIZE).viewFlip(); 11 | B = new DenseIntMatrix1D(SIZE).viewFlip(); 12 | } 13 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/DenseIntMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | public class DenseIntMatrix2DViewTest extends DenseIntMatrix2DTest { 4 | 5 | public DenseIntMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new DenseIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new DenseIntMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/DenseIntMatrix3DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | import cern.colt.matrix.tint.IntMatrix3DTest; 4 | 5 | public class DenseIntMatrix3DTest extends IntMatrix3DTest { 6 | 7 | public DenseIntMatrix3DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new DenseIntMatrix3D(NSLICES, NROWS, NCOLUMNS); 13 | B = new DenseIntMatrix3D(NSLICES, NROWS, NCOLUMNS); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/DenseIntMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | public class DenseIntMatrix3DViewTest extends DenseIntMatrix3DTest { 4 | 5 | public DenseIntMatrix3DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseIntMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | B = new DenseIntMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/DenseLargeIntMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | import cern.colt.matrix.tint.IntMatrix2DTest; 4 | 5 | public class DenseLargeIntMatrix2DTest extends IntMatrix2DTest { 6 | 7 | public DenseLargeIntMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new DenseLargeIntMatrix2D(NROWS, NCOLUMNS); 13 | B = new DenseLargeIntMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new DenseLargeIntMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/DenseLargeIntMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | public class DenseLargeIntMatrix2DViewTest extends DenseLargeIntMatrix2DTest { 4 | 5 | public DenseLargeIntMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseLargeIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new DenseLargeIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new DenseLargeIntMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/DenseLargeIntMatrix3DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | import cern.colt.matrix.tint.IntMatrix3DTest; 4 | 5 | public class DenseLargeIntMatrix3DTest extends IntMatrix3DTest { 6 | 7 | public DenseLargeIntMatrix3DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new DenseLargeIntMatrix3D(NSLICES, NROWS, NCOLUMNS); 13 | B = new DenseLargeIntMatrix3D(NSLICES, NROWS, NCOLUMNS); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/DenseLargeIntMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | public class DenseLargeIntMatrix3DViewTest extends DenseLargeIntMatrix3DTest { 4 | 5 | public DenseLargeIntMatrix3DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseLargeIntMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | B = new DenseLargeIntMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/DiagonalIntMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | public class DiagonalIntMatrix2DViewTest extends DiagonalIntMatrix2DTest { 4 | 5 | public DiagonalIntMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | DINDEX = 3; 11 | A = new DiagonalIntMatrix2D(NCOLUMNS, NROWS, -DINDEX); 12 | DLENGTH = ((DiagonalIntMatrix2D) A).diagonalLength(); 13 | A = A.viewDice(); 14 | B = new DiagonalIntMatrix2D(NCOLUMNS, NROWS, -DINDEX).viewDice(); 15 | Bt = new DiagonalIntMatrix2D(NROWS, NCOLUMNS, DINDEX).viewDice(); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/SparseCCIntMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | public class SparseCCIntMatrix2DViewTest extends SparseCCIntMatrix2DTest { 4 | 5 | public SparseCCIntMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseCCIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseCCIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseCCIntMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/SparseCCMIntMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | import cern.colt.matrix.tint.IntMatrix2DTest; 4 | 5 | public class SparseCCMIntMatrix2DTest extends IntMatrix2DTest { 6 | 7 | public SparseCCMIntMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseCCMIntMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseCCMIntMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseCCMIntMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/SparseCCMIntMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | public class SparseCCMIntMatrix2DViewTest extends SparseCCMIntMatrix2DTest { 4 | 5 | public SparseCCMIntMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseCCMIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseCCMIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseCCMIntMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/SparseIntMatrix1DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | import cern.colt.matrix.tint.IntMatrix1DTest; 4 | 5 | public class SparseIntMatrix1DTest extends IntMatrix1DTest { 6 | 7 | public SparseIntMatrix1DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseIntMatrix1D(SIZE); 13 | B = new SparseIntMatrix1D(SIZE); 14 | } 15 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/SparseIntMatrix1DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | public class SparseIntMatrix1DViewTest extends SparseIntMatrix1DTest { 4 | 5 | public SparseIntMatrix1DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseIntMatrix1D(SIZE).viewFlip(); 11 | B = new SparseIntMatrix1D(SIZE).viewFlip(); 12 | } 13 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/SparseIntMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | public class SparseIntMatrix2DViewTest extends SparseIntMatrix2DTest { 4 | 5 | public SparseIntMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseIntMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/SparseIntMatrix3DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | import cern.colt.matrix.tint.IntMatrix3DTest; 4 | 5 | public class SparseIntMatrix3DTest extends IntMatrix3DTest { 6 | 7 | public SparseIntMatrix3DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseIntMatrix3D(NSLICES, NROWS, NCOLUMNS); 13 | B = new SparseIntMatrix3D(NSLICES, NROWS, NCOLUMNS); 14 | } 15 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/SparseIntMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | public class SparseIntMatrix3DViewTest extends SparseIntMatrix3DTest { 4 | 5 | public SparseIntMatrix3DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseIntMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | B = new SparseIntMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 12 | } 13 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/SparseRCIntMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | public class SparseRCIntMatrix2DViewTest extends SparseRCIntMatrix2DTest { 4 | 5 | public SparseRCIntMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseRCIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseRCIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseRCIntMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/SparseRCMIntMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | import cern.colt.matrix.tint.IntMatrix2DTest; 4 | 5 | public class SparseRCMIntMatrix2DTest extends IntMatrix2DTest { 6 | 7 | public SparseRCMIntMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseRCMIntMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseRCMIntMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseRCMIntMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tint/impl/SparseRCMIntMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tint.impl; 2 | 3 | public class SparseRCMIntMatrix2DViewTest extends SparseRCMIntMatrix2DTest { 4 | 5 | public SparseRCMIntMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseRCMIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseRCMIntMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseRCMIntMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/DenseColumnLongMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | public class DenseColumnLongMatrix2DViewTest extends DenseColumnLongMatrix2DTest { 4 | 5 | public DenseColumnLongMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseColumnLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new DenseColumnLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new DenseColumnLongMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/DenseLargeLongMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | import cern.colt.matrix.tlong.LongMatrix2DTest; 4 | 5 | public class DenseLargeLongMatrix2DTest extends LongMatrix2DTest { 6 | 7 | public DenseLargeLongMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new DenseLargeLongMatrix2D(NROWS, NCOLUMNS); 13 | B = new DenseLargeLongMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new DenseLargeLongMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/DenseLargeLongMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | public class DenseLargeLongMatrix2DViewTest extends DenseLargeLongMatrix2DTest { 4 | 5 | public DenseLargeLongMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseLargeLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new DenseLargeLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new DenseLargeLongMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/DenseLargeLongMatrix3DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | import cern.colt.matrix.tlong.LongMatrix3DTest; 4 | 5 | public class DenseLargeLongMatrix3DTest extends LongMatrix3DTest { 6 | 7 | public DenseLargeLongMatrix3DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new DenseLargeLongMatrix3D(NSLICES, NROWS, NCOLUMNS); 13 | B = new DenseLargeLongMatrix3D(NSLICES, NROWS, NCOLUMNS); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/DenseLargeLongMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | public class DenseLargeLongMatrix3DViewTest extends DenseLargeLongMatrix3DTest { 4 | 5 | public DenseLargeLongMatrix3DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseLargeLongMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | B = new DenseLargeLongMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/DenseLongMatrix1DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | import cern.colt.matrix.tlong.LongMatrix1DTest; 4 | 5 | public class DenseLongMatrix1DTest extends LongMatrix1DTest { 6 | 7 | public DenseLongMatrix1DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new DenseLongMatrix1D(SIZE); 13 | B = new DenseLongMatrix1D(SIZE); 14 | } 15 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/DenseLongMatrix1DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | public class DenseLongMatrix1DViewTest extends DenseLongMatrix1DTest { 4 | 5 | public DenseLongMatrix1DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseLongMatrix1D(SIZE).viewFlip(); 11 | B = new DenseLongMatrix1D(SIZE).viewFlip(); 12 | } 13 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/DenseLongMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | public class DenseLongMatrix2DViewTest extends DenseLongMatrix2DTest { 4 | 5 | public DenseLongMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new DenseLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new DenseLongMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/DenseLongMatrix3DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | import cern.colt.matrix.tlong.LongMatrix3DTest; 4 | 5 | public class DenseLongMatrix3DTest extends LongMatrix3DTest { 6 | 7 | public DenseLongMatrix3DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new DenseLongMatrix3D(NSLICES, NROWS, NCOLUMNS); 13 | B = new DenseLongMatrix3D(NSLICES, NROWS, NCOLUMNS); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/DenseLongMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | public class DenseLongMatrix3DViewTest extends DenseLongMatrix3DTest { 4 | 5 | public DenseLongMatrix3DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new DenseLongMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | B = new DenseLongMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/DiagonalLongMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | public class DiagonalLongMatrix2DViewTest extends DiagonalLongMatrix2DTest { 4 | 5 | public DiagonalLongMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | DINDEX = 3; 11 | A = new DiagonalLongMatrix2D(NCOLUMNS, NROWS, -DINDEX); 12 | DLENGTH = ((DiagonalLongMatrix2D) A).diagonalLength(); 13 | A = A.viewDice(); 14 | B = new DiagonalLongMatrix2D(NCOLUMNS, NROWS, -DINDEX).viewDice(); 15 | Bt = new DiagonalLongMatrix2D(NROWS, NCOLUMNS, DINDEX).viewDice(); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/SparseCCLongMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | public class SparseCCLongMatrix2DViewTest extends SparseCCLongMatrix2DTest { 4 | 5 | public SparseCCLongMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseCCLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseCCLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseCCLongMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/SparseCCMLongMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | import cern.colt.matrix.tlong.LongMatrix2DTest; 4 | 5 | public class SparseCCMLongMatrix2DTest extends LongMatrix2DTest { 6 | 7 | public SparseCCMLongMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseCCMLongMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseCCMLongMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseCCMLongMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/SparseCCMLongMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | public class SparseCCMLongMatrix2DViewTest extends SparseCCMLongMatrix2DTest { 4 | 5 | public SparseCCMLongMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseCCMLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseCCMLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseCCMLongMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/SparseLongMatrix1DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | import cern.colt.matrix.tlong.LongMatrix1DTest; 4 | 5 | public class SparseLongMatrix1DTest extends LongMatrix1DTest { 6 | 7 | public SparseLongMatrix1DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseLongMatrix1D(SIZE); 13 | B = new SparseLongMatrix1D(SIZE); 14 | } 15 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/SparseLongMatrix1DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | public class SparseLongMatrix1DViewTest extends SparseLongMatrix1DTest { 4 | 5 | public SparseLongMatrix1DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseLongMatrix1D(SIZE).viewFlip(); 11 | B = new SparseLongMatrix1D(SIZE).viewFlip(); 12 | } 13 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/SparseLongMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | public class SparseLongMatrix2DViewTest extends SparseLongMatrix2DTest { 4 | 5 | public SparseLongMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseLongMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/SparseLongMatrix3DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | import cern.colt.matrix.tlong.LongMatrix3DTest; 4 | 5 | public class SparseLongMatrix3DTest extends LongMatrix3DTest { 6 | 7 | public SparseLongMatrix3DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseLongMatrix3D(NSLICES, NROWS, NCOLUMNS); 13 | B = new SparseLongMatrix3D(NSLICES, NROWS, NCOLUMNS); 14 | } 15 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/SparseLongMatrix3DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | public class SparseLongMatrix3DViewTest extends SparseLongMatrix3DTest { 4 | 5 | public SparseLongMatrix3DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseLongMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 11 | B = new SparseLongMatrix3D(NCOLUMNS, NROWS, NSLICES).viewDice(2, 1, 0); 12 | } 13 | } -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/SparseRCLongMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | public class SparseRCLongMatrix2DViewTest extends SparseRCLongMatrix2DTest { 4 | 5 | public SparseRCLongMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseRCLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseRCLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseRCLongMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/SparseRCMLongMatrix2DTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | import cern.colt.matrix.tlong.LongMatrix2DTest; 4 | 5 | public class SparseRCMLongMatrix2DTest extends LongMatrix2DTest { 6 | 7 | public SparseRCMLongMatrix2DTest(String arg0) { 8 | super(arg0); 9 | } 10 | 11 | protected void createMatrices() throws Exception { 12 | A = new SparseRCMLongMatrix2D(NROWS, NCOLUMNS); 13 | B = new SparseRCMLongMatrix2D(NROWS, NCOLUMNS); 14 | Bt = new SparseRCMLongMatrix2D(NCOLUMNS, NROWS); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/test/java/cern/colt/matrix/tlong/impl/SparseRCMLongMatrix2DViewTest.java: -------------------------------------------------------------------------------- 1 | package cern.colt.matrix.tlong.impl; 2 | 3 | public class SparseRCMLongMatrix2DViewTest extends SparseRCMLongMatrix2DTest { 4 | 5 | public SparseRCMLongMatrix2DViewTest(String arg0) { 6 | super(arg0); 7 | } 8 | 9 | protected void createMatrices() throws Exception { 10 | A = new SparseRCMLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 11 | B = new SparseRCMLongMatrix2D(NCOLUMNS, NROWS).viewDice(); 12 | Bt = new SparseRCMLongMatrix2D(NROWS, NCOLUMNS).viewDice(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/test/java/cern/jet/random/tdouble/TestNormal.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this template, choose Tools | Templates 3 | * and open the template in the editor. 4 | */ 5 | 6 | package cern.jet.random.tdouble; 7 | 8 | /** 9 | * 10 | * @author vvasuki 11 | */ 12 | public class TestNormal { 13 | public static void main(String[] argv) { 14 | Normal normal = new Normal(0.0, 1.0, Normal.makeDefaultGenerator()); 15 | double x1 = normal.nextDouble(0, 0); 16 | double x2 = normal.nextDouble(0, 1); 17 | System.out.println(x1); 18 | System.out.println(x2); 19 | } 20 | 21 | } 22 | --------------------------------------------------------------------------------