Home
last modified time | relevance | path

Searched refs:testMatrix (Results 1 – 25 of 112) sorted by relevance

12345

/dports/math/linbox/linbox-1.6.3/tests/
H A Dtest-blas-matrix.C93 pass = pass && testMatrix<Matrix>(F,m,n); in main()
107 pass = pass && testMatrix<Matrix>(F,m,n); in main()
120 pass = pass && testMatrix<Matrix>(F,m,n); in main()
134 pass = pass && testMatrix<Matrix>(F,m,n); in main()
147 pass = pass && testMatrix<Matrix>(F,m,n); in main()
160 pass = pass && testMatrix<Matrix>(F,m,n); in main()
173 pass = pass && testMatrix<Matrix>(F,m,n); in main()
186 pass = pass && testMatrix<Matrix>(F,m,n); in main()
199 pass = pass && testMatrix<Matrix>(F,m,n); in main()
212 pass = pass && testMatrix<Matrix>(F,m,n); in main()
[all …]
H A Dtest-zero-one.C71 Matrix testMatrix(afield, rows, cols, n, n, 3*n - 2); in main()
75 Matrix testMatrix(afield, rows, cols, n, n, n); in main()
79 Matrix testMatrix(afield); in main()
81 testMatrix.read(mat_in); in main()
82 …std::cout << testMatrix.rowdim() << " " << testMatrix.coldim() << " " << testMatrix.nnz() << std::… in main()
88 pass = pass && testBlackboxNoRW(testMatrix); in main()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/tests/gl_tests/gles1/
H A DMatrixLoadTest.cpp37 angle::Mat4 testMatrix(0.0f, 4.0f, 8.0f, 12.0f, 1.0f, 5.0f, 9.0f, 10.0f, 2.0f, 6.0f, 10.0f, in TEST_P() local
42 glLoadMatrixf(testMatrix.data()); in TEST_P()
48 EXPECT_EQ(testMatrix, outputMatrix); in TEST_P()
56 angle::Mat4 testMatrix(0.0f, 4.0f, 8.0f, 12.0f, 1.0f, 5.0f, 9.0f, 10.0f, 2.0f, 6.0f, 10.0f, in TEST_P() local
61 glLoadMatrixf(testMatrix.data()); in TEST_P()
67 EXPECT_EQ(testMatrix, outputMatrix); in TEST_P()
79 angle::Mat4 testMatrix(0.0f, 4.0f, 8.0f, 12.0f, 1.0f, 5.0f, 9.0f, 10.0f, 2.0f, 6.0f, 10.0f, in TEST_P() local
98 glLoadMatrixf(testMatrix.data()); in TEST_P()
101 EXPECT_EQ(testMatrix, outputMatrix); in TEST_P()
H A DMatrixBuiltinsTest.cpp42 angle::Mat4 testMatrix = angle::Mat4::Rotate(angle, angle::Vector3(x, y, z)); in TEST_P() local
51 EXPECT_TRUE(testMatrix.nearlyEqual(0.00001f, outputMatrix)); in TEST_P()
61 angle::Mat4 testMatrix = angle::Mat4::Translate(angle::Vector3(x, y, z)); in TEST_P() local
72 EXPECT_TRUE(testMatrix.nearlyEqual(0.00001f, outputMatrix)); in TEST_P()
82 angle::Mat4 testMatrix = angle::Mat4::Scale(angle::Vector3(x, y, z)); in TEST_P() local
93 EXPECT_TRUE(testMatrix.nearlyEqual(0.00001f, outputMatrix)); in TEST_P()
107 angle::Mat4 testMatrix = angle::Mat4::Frustum(l, r, b, t, n, f); in TEST_P() local
116 EXPECT_TRUE(testMatrix.nearlyEqual(0.00001f, outputMatrix)); in TEST_P()
129 angle::Mat4 testMatrix = angle::Mat4::Ortho(l, r, b, t, n, f); in TEST_P() local
138 EXPECT_TRUE(testMatrix.nearlyEqual(0.00001f, outputMatrix)); in TEST_P()
H A DMatrixMultTest.cpp37 angle::Mat4 testMatrix; in TEST_P() local
40 glMultMatrixf(testMatrix.data()); in TEST_P()
54 angle::Mat4 testMatrix = angle::Mat4::Translate(angle::Vector3(1.0f, 0.0f, 0.0f)); in TEST_P() local
58 glMultMatrixf(testMatrix.data()); in TEST_P()
61 glMultMatrixf(testMatrix.data()); in TEST_P()
/dports/science/simbody/simbody-Simbody-3.7/SimTKcommon/tests/
H A DTestVectorMath.cpp125 testMatrix<Matrix,2,3>(abs(matrix), expectedMat); in main()
126 testMatrix<Mat<2,3>,2,3>(abs(mat), expectedMat); in main()
139 testMatrix<Matrix,2,3>(exp(matrix), expectedMat); in main()
140 testMatrix<Mat<2,3>,2,3>(exp(mat), expectedMat); in main()
152 testMatrix<Matrix,2,3>(log(matrix), expectedMat); in main()
153 testMatrix<Mat<2,3>,2,3>(log(mat), expectedMat); in main()
166 testMatrix<Mat<2,3>,2,3>(sqrt(mat), expectedMat); in main()
178 testMatrix<Matrix,2,3>(sin(matrix), expectedMat); in main()
179 testMatrix<Mat<2,3>,2,3>(sin(mat), expectedMat); in main()
192 testMatrix<Mat<2,3>,2,3>(cos(mat), expectedMat); in main()
[all …]
H A DTestBigMatrix.cpp137 testMatrix<Matrix,2,3>(minit, Mat23(5.25, 5.25, 5.25, in main()
142 testMatrix<Matrix_<Vec2>,3,2>(mvinit, Mat<3,2,Vec2>(v12,v12, in main()
150 testMatrix<Matrix,2,2>(m, Mat22(1, 2, 3, 4)); in main()
152 testMatrix<Matrix,2,2>(m, Mat22(4, 2, 3, 7)); in main()
154 testMatrix<Matrix,2,2>(m, Mat22(1, 2, 3, 4)); in main()
155 testMatrix<Matrix,2,2>(m-1, Mat22(0, 2, 3, 3)); in main()
156 testMatrix<Matrix,2,2>(m+1, Mat22(2, 2, 3, 5)); in main()
157 testMatrix<Matrix,2,2>(1-m, Mat22(0, -2, -3, -3)); in main()
158 testMatrix<Matrix,2,2>(1+m, Mat22(2, 2, 3, 5)); in main()
182 testMatrix<Matrix,2,3>(mm, Mat23(1,2,3,7,8,9)); in main()
[all …]
/dports/math/dune-istl/dune-istl-fffb544a61d2c65a0d2fc7c751f36909f06be8f5/dune/istl/test/
H A Dmatrixtest.cc51 testMatrix(matrix, x, y); in testSuperMatrix()
317 testMatrix(matrixScalar, x, y); in main()
383 testMatrix(bcrsMatrix, x, y); in main()
404 testMatrix(bcrsMatrix, x, y); in main()
473 testMatrix(bdMatrix, x, y); in main()
477 testMatrix(bdMatrix2, x, y); in main()
488 testMatrix(bdMatrix2, x, y); in main()
666 testMatrix(fMatrix, fvX, fvY); in main()
689 testMatrix(dMatrix1, fvX, fvY); in main()
692 testMatrix(dMatrix2, fvX, fvY); in main()
[all …]
/dports/misc/openmvg/openMVG-2.0/src/openMVG/numeric/
H A Dnumeric_test.cpp44 Mat3 testMatrix = Mat3::Identity(); in TEST() local
45 std::cout << testMatrix; in TEST()
50 Mat3 testMatrix, expected; in TEST() local
56 testMatrix.setIdentity(); in TEST()
57 std::cout << std::endl << testMatrix; in TEST()
59 EXPECT_MATRIX_NEAR( expected, testMatrix, 1e-8); in TEST()
/dports/multimedia/lms/lms-3.25.2/src/test/som/
H A DSomTest.cpp33 Matrix<int> testMatrix {2, 2, 123}; in main() local
34 assert((testMatrix[{0,0}] == 123)); in main()
35 assert((testMatrix[{0,1}] == 123)); in main()
36 assert((testMatrix[{1,0}] == 123)); in main()
37 assert((testMatrix[{1,1}] == 123)); in main()
/dports/math/Imath/Imath-3.1.4/src/ImathTest/
H A DtestExtractSHRT.cpp39 testMatrix (const M33f M) in testMatrix() function
164 testMatrix (M); in testRandomAngles33()
180 testMatrix (M); in testAngles33()
196 testMatrix (M); in testAngles33()
200 testMatrix (const M44f M) in testMatrix() function
328 testMatrix (M); in testRandomAngles44()
345 testMatrix (M); in testAngles44()
361 testMatrix (M); in testAngles44()
H A DtestExtractEuler.cpp52 testMatrix (const M44f M, in testMatrix() function
124 testMatrix (M, matrixEulerMatrix, order); in testRandomAngles()
139 testMatrix (M, matrixEulerMatrix, order); in testAngles()
155 testMatrix (M, matrixEulerMatrix, order); in testAngles()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/cortexproject/cortex/pkg/querier/queryrange/
H A Dpromql_test.go347 if testMatrix {
568 return &testMatrix{
580 type testMatrix struct { struct
584 func (m *testMatrix) Copy() *testMatrix { argument
589 func (m testMatrix) Next() bool { return len(m.series) != 0 } argument
591 func (m *testMatrix) At() storage.Series { argument
597 func (m *testMatrix) Err() error { return nil } argument
599 func (m *testMatrix) Warnings() storage.Warnings { return nil } argument
620 func (m *testMatrix) Close() error { return nil } argument
660 func splitByShard(shardIndex, shardTotal int, testMatrices *testMatrix) *testMatrix { argument
[all …]
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Cnc/FileFormats/
H A DHvaReader.cs37 var testMatrix = new float[16]; in HvaReader()
51 Array.Copy(Transforms, 16 * (LimbCount * j + i), testMatrix, 0, 16); in HvaReader()
52 if (Util.MatrixInverse(testMatrix) == null) in HvaReader()
/dports/biology/hyphy/hyphy-2.5.33/tests/hbltests/UnitTests/HBLCommands/
H A Dfscanf_fprintf.bf27 fscanf(tempFilePathString, Matrix, testMatrix);
31 …assert(testMatrix == matrix1, "fscanf and fprintf Matrix from and to files did not work as expecte…
37 fscanf(tempFilePathMatrix, Matrix, testMatrix);
38 …assert(testMatrix == matrix1, "fscanf and fprintf Matrix from and to files did not work as expecte…
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Core/Transform/test/
H A DitkAffineTransformTest.cxx141 if( !testMatrix( matrix2, matrix2Truth ) || in itkAffineTransformTest()
188 if( !testMatrix( affInv2->GetMatrix(), matrix2Truth, 7 ) || in itkAffineTransformTest()
232 if( !testMatrix( aff2->GetMatrix(), matrix2Truth ) || in itkAffineTransformTest()
254 if( !testMatrix( aff2->GetMatrix(), matrix2Truth ) || in itkAffineTransformTest()
273 if( !testMatrix( aff2->GetMatrix(), matrix2Truth ) || in itkAffineTransformTest()
295 if( !testMatrix( aff2->GetMatrix(), matrix2Truth ) || in itkAffineTransformTest()
335 if( !testMatrix( aff2->GetMatrix(), matrix2Truth ) || in itkAffineTransformTest()
355 if( !testMatrix( aff2->GetMatrix(), matrix2Truth ) || in itkAffineTransformTest()
518 if( !testMatrix( aff3->GetMatrix(), matrix3Truth, 30 ) ) in itkAffineTransformTest()
544 if( !testMatrix( inv3->GetMatrix(), matrix3Truth, 40 ) ) in itkAffineTransformTest()
[all …]
H A DitkTransformCloneTest.cxx23 bool testMatrix( const TMatrix & m1, const TMatrix & m2 ) in testMatrix() function
92 if(!testMatrix(cloneMatrix,affineXfrm->GetMatrix())) in itkTransformCloneTest()
131 if(!testMatrix(originalXfrm->GetMatrix(),cloneXfrm->GetMatrix())) in itkTransformCloneTest()
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Tests/OgreMain/include/
H A DDualQuaternionTests.h37 CPPUNIT_TEST(testMatrix);
48 void testMatrix();
/dports/security/vault/vault-1.8.2/vendor/github.com/aerospike/aerospike-client-go/internal/lua/
H A Dlua_aerospike_test.go31 testMatrix := map[string]interface{}{
48 for source := range testMatrix {
H A Dlua_map_test.go31 testMatrix := map[string]interface{}{
64 for source, expected := range testMatrix {
H A Dlua_list_test.go31 testMatrix := map[string]interface{}{
98 for source, expected := range testMatrix {
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests.css.swt/tkuiTestsToRefactor/swt/test/org/akrogen/tkui/css/swt/examples/chat/
H A DChatWithMatrixStyle.java26 ChatWithMatrixStyle testMatrix = new ChatWithMatrixStyle(); in main() local
28 testMatrix.display(); in main()
/dports/math/dune-common/dune-common-df65b1282ea89ad40d2cb6565983f7e633ccce31/dune/common/test/
H A Deigenvaluestest.cc98 FieldMatrix<field_type,dim,dim> testMatrix; in testSymmetricFieldMatrix() local
101 testMatrix[j][k] = testMatrix[k][j] = ((int)(M_PI*j*k*i))%100 - 1; in testSymmetricFieldMatrix()
105 FMatrixHelp::eigenValuesVectors(testMatrix, eigenValues, eigenVectors); in testSymmetricFieldMatrix()
139 testMatrix.mv(eigenVectors[j], Av); in testSymmetricFieldMatrix()
/dports/math/libmesh/libmesh-1.6.2/contrib/eigen/3.2.9/unsupported/test/
H A Dmatrix_function.cpp161 void testMatrix(const MatrixType& A) in testMatrix() function
178 testMatrix(MatrixType::Random(size, size).eval()); in testMatrixType()
179 testMatrix(randomMatrixWithRealEivals<MatrixType>(size)); in testMatrixType()
180 testMatrix(randomMatrixWithImagEivals<MatrixType>::run(size)); in testMatrixType()
/dports/math/libsemigroups/libsemigroups-1.3.7/extern/eigen-3.3.7/unsupported/test/
H A Dmatrix_function.cpp158 void testMatrix(const MatrixType& A) in testMatrix() function
174 testMatrix(MatrixType::Random(size, size).eval()); in testMatrixType()
175 testMatrix(randomMatrixWithRealEivals<MatrixType>(size)); in testMatrixType()
176 testMatrix(randomMatrixWithImagEivals<MatrixType>::run(size)); in testMatrixType()

12345