/dports/math/highs/HiGHS-cfe064e/check/ |
H A D | Avgas.cpp | 196 colCost[num_col] = 0; in col() 197 colLower[num_col] = 0; in col() 198 colUpper[num_col] = 1; in col() 214 colCost[num_col] = -2; in col() 215 colLower[num_col] = 0; in col() 216 colUpper[num_col] = 1; in col() 232 colCost[num_col] = -1; in col() 233 colLower[num_col] = 0; in col() 234 colUpper[num_col] = 1; in col() 251 colCost[num_col] = -3; in col() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/python/mathutils/ |
H A D | mathutils_Matrix.c | 375 if (num_col >= 2 && num_col <= 4) { in Matrix_new() 1325 self->num_col = 4; in Matrix_resize_4x4() 1337 if ((self->num_row == num_row) && (self->num_col == num_col)) { in Matrix_to_NxN() 1341 if ((self->num_col < num_col) || (self->num_row < num_row)) { in Matrix_to_NxN() 1344 const int col_len_src = min_ii(num_col, self->num_col); in Matrix_to_NxN() 1831 if (self->num_col != mat2->num_col || self->num_row != mat2->num_row) { in Matrix_lerp() 2443 if (mat1->num_col != mat2->num_col || mat1->num_row != mat2->num_row) { in Matrix_add() 3188 if (num_col < 2 || num_col > 4 || num_row < 2 || num_row > 4) { in Matrix_CreatePyObject() 3206 self->num_col = num_col; in Matrix_CreatePyObject() 3241 if (num_col < 2 || num_col > 4 || num_row < 2 || num_row > 4) { in Matrix_CreatePyObject_wrap() [all …]
|
H A D | mathutils_Matrix.h | 37 (BLI_assert(_row < (_mat)->num_row && _col < (_mat)->num_col)) 53 ushort num_col; member 64 const ushort num_col, 68 const ushort num_col, 73 const unsigned short num_col, 79 const ushort num_col,
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libvpx/source/libvpx/tools/3D-Reconstruction/MotionEST/ |
H A D | HornSchunck.py | 45 cur_I = np.zeros((self.num_row, self.num_col)) 49 for j in xrange(self.num_col): 63 Ix = np.zeros((self.num_row, self.num_col)) 64 Iy = np.zeros((self.num_row, self.num_col)) 65 It = np.zeros((self.num_row, self.num_col)) 68 for j in xrange(self.num_col - 1): 122 for j in xrange(self.num_col): 152 N = 2 * self.num_row * self.num_col 155 for j in xrange(self.num_col): 157 u_idx = i * 2 * self.num_col + 2 * j [all …]
|
H A D | Anandan.py | 70 c_max = np.zeros((self.num_row, self.num_col)) 71 c_min = np.zeros((self.num_row, self.num_col)) 72 e_max = np.zeros((self.num_row, self.num_col, 2)) 73 e_min = np.zeros((self.num_row, self.num_col, 2)) 75 for c in xrange(self.num_col): 120 mvs = np.zeros((self.num_row, self.num_col, 2)) 121 min_ssds = np.zeros((self.num_row, self.num_col)) 123 for c in xrange(self.num_col): 157 sm_uvs = np.zeros((self.num_row, self.num_col, 2)) 163 for c in xrange(self.num_col): [all …]
|
/dports/multimedia/libvpx/libvpx-1.11.0/tools/3D-Reconstruction/MotionEST/ |
H A D | HornSchunck.py | 45 cur_I = np.zeros((self.num_row, self.num_col)) 49 for j in xrange(self.num_col): 63 Ix = np.zeros((self.num_row, self.num_col)) 64 Iy = np.zeros((self.num_row, self.num_col)) 65 It = np.zeros((self.num_row, self.num_col)) 68 for j in xrange(self.num_col - 1): 122 for j in xrange(self.num_col): 152 N = 2 * self.num_row * self.num_col 155 for j in xrange(self.num_col): 157 u_idx = i * 2 * self.num_col + 2 * j [all …]
|
H A D | Anandan.py | 70 c_max = np.zeros((self.num_row, self.num_col)) 71 c_min = np.zeros((self.num_row, self.num_col)) 72 e_max = np.zeros((self.num_row, self.num_col, 2)) 73 e_min = np.zeros((self.num_row, self.num_col, 2)) 75 for c in xrange(self.num_col): 120 mvs = np.zeros((self.num_row, self.num_col, 2)) 121 min_ssds = np.zeros((self.num_row, self.num_col)) 123 for c in xrange(self.num_col): 157 sm_uvs = np.zeros((self.num_row, self.num_col, 2)) 163 for c in xrange(self.num_col): [all …]
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/third_party/libvpx/source/libvpx/tools/3D-Reconstruction/MotionEST/ |
H A D | HornSchunck.py | 45 cur_I = np.zeros((self.num_row, self.num_col)) 49 for j in xrange(self.num_col): 63 Ix = np.zeros((self.num_row, self.num_col)) 64 Iy = np.zeros((self.num_row, self.num_col)) 65 It = np.zeros((self.num_row, self.num_col)) 68 for j in xrange(self.num_col - 1): 122 for j in xrange(self.num_col): 152 N = 2 * self.num_row * self.num_col 155 for j in xrange(self.num_col): 157 u_idx = i * 2 * self.num_col + 2 * j [all …]
|
H A D | Anandan.py | 70 c_max = np.zeros((self.num_row, self.num_col)) 71 c_min = np.zeros((self.num_row, self.num_col)) 72 e_max = np.zeros((self.num_row, self.num_col, 2)) 73 e_min = np.zeros((self.num_row, self.num_col, 2)) 75 for c in xrange(self.num_col): 120 mvs = np.zeros((self.num_row, self.num_col, 2)) 121 min_ssds = np.zeros((self.num_row, self.num_col)) 123 for c in xrange(self.num_col): 157 sm_uvs = np.zeros((self.num_row, self.num_col, 2)) 163 for c in xrange(self.num_col): [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libvpx/source/libvpx/tools/3D-Reconstruction/MotionEST/ |
H A D | HornSchunck.py | 45 cur_I = np.zeros((self.num_row, self.num_col)) 49 for j in xrange(self.num_col): 63 Ix = np.zeros((self.num_row, self.num_col)) 64 Iy = np.zeros((self.num_row, self.num_col)) 65 It = np.zeros((self.num_row, self.num_col)) 68 for j in xrange(self.num_col - 1): 122 for j in xrange(self.num_col): 152 N = 2 * self.num_row * self.num_col 155 for j in xrange(self.num_col): 157 u_idx = i * 2 * self.num_col + 2 * j [all …]
|
H A D | Anandan.py | 70 c_max = np.zeros((self.num_row, self.num_col)) 71 c_min = np.zeros((self.num_row, self.num_col)) 72 e_max = np.zeros((self.num_row, self.num_col, 2)) 73 e_min = np.zeros((self.num_row, self.num_col, 2)) 75 for c in xrange(self.num_col): 120 mvs = np.zeros((self.num_row, self.num_col, 2)) 121 min_ssds = np.zeros((self.num_row, self.num_col)) 123 for c in xrange(self.num_col): 157 sm_uvs = np.zeros((self.num_row, self.num_col, 2)) 163 for c in xrange(self.num_col): [all …]
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/3rdparty/dmlc-core/test/unittest/ |
H A D | unittest_inputsplit.cc | 18 size_t num_col = 0; in CountDimensions() local 24 num_col = std::max(num_col, static_cast<size_t>(index + 1)); in CountDimensions() 28 *out_num_col = num_col; in CountDimensions() 40 size_t num_row, num_col; in TEST() local 65 ASSERT_EQ(num_col, 4U); in TEST() 85 size_t num_row, num_col; in TEST() local 88 ASSERT_EQ(num_col, 125); in TEST() 93 size_t num_row, num_col; in TEST() local 113 ASSERT_EQ(num_col, 125U); in TEST() 139 size_t num_row, num_col; in TEST() local [all …]
|
H A D | unittest_parser.cc | 60 size_t num_col = 0; in CountDimensions() local 63 num_col = std::max(num_col, static_cast<size_t>(index + 1)); in CountDimensions() 66 *out_num_col = num_col; in CountDimensions() 309 CHECK_EQ(num_col, 9U); in TEST() 331 CHECK_EQ(num_col, 3U); in TEST() 353 CHECK_EQ(num_col, 2U); in TEST() 376 CHECK_EQ(num_col, 2U); in TEST() 399 CHECK_EQ(num_col, 3U); in TEST() 423 CHECK_EQ(num_col, 3U); in TEST() 448 CHECK_EQ(num_col, 2U); in TEST() [all …]
|
/dports/devel/dmlc-core/dmlc-core-0.3-123-gb3a4c71/test/unittest/ |
H A D | unittest_inputsplit.cc | 18 size_t num_col = 0; in CountDimensions() local 24 num_col = std::max(num_col, static_cast<size_t>(index + 1)); in CountDimensions() 28 *out_num_col = num_col; in CountDimensions() 40 size_t num_row, num_col; in TEST() local 65 ASSERT_EQ(num_col, 4U); in TEST() 85 size_t num_row, num_col; in TEST() local 88 ASSERT_EQ(num_col, 125); in TEST() 93 size_t num_row, num_col; in TEST() local 113 ASSERT_EQ(num_col, 125U); in TEST() 139 size_t num_row, num_col; in TEST() local [all …]
|
H A D | unittest_parser.cc | 60 size_t num_col = 0; in CountDimensions() local 63 num_col = std::max(num_col, static_cast<size_t>(index + 1)); in CountDimensions() 66 *out_num_col = num_col; in CountDimensions() 311 CHECK_EQ(num_col, 9U); in TEST() 333 CHECK_EQ(num_col, 3U); in TEST() 355 CHECK_EQ(num_col, 2U); in TEST() 378 CHECK_EQ(num_col, 2U); in TEST() 401 CHECK_EQ(num_col, 3U); in TEST() 425 CHECK_EQ(num_col, 3U); in TEST() 450 CHECK_EQ(num_col, 2U); in TEST() [all …]
|
/dports/science/clhep/2.4.1.0/CLHEP/Matrix/src/ |
H A D | DiagMatrix.cc | 205 hm1.num_col(),hm2.num_col(),+); 219 hm1.num_col(),hm2.num_col(),+); 276 hm1.num_col(),hm2.num_col(),-); 289 hm1.num_col(),hm2.num_col(),-); 456 CHK_DIM_2(num_row(),hm2.num_row(),num_col(),hm2.num_col(),+=); in operator +=() 469 CHK_DIM_2(num_row(),hm2.num_row(),num_col(),hm2.num_col(),+=); in operator +=() 481 CHK_DIM_2(num_row(),hm2.num_row(),num_col(),hm2.num_col(),+=); in operator +=() 488 CHK_DIM_2(num_row(),hm2.num_row(),num_col(),hm2.num_col(),-=); in operator -=() 501 CHK_DIM_2(num_row(),hm2.num_row(),num_col(),hm2.num_col(),+=); in operator -=() 513 CHK_DIM_2(num_row(),hm2.num_row(),num_col(),hm2.num_col(),-=); in operator -=() [all …]
|
H A D | MatrixLinear.cc | 63 int n = R.num_col(); in back_solve() 89 int n = R.num_col(); in back_solve() 91 int nc = b->num_col(); in back_solve() 124 int n = A->num_col(); in col_givens() 160 int n = a->num_col(); in col_house() 161 int nv = v.num_col(); in col_house() 372 int n = a.num_col(); in house() 714 int n = Q.num_col(); in qr_solve() 739 HepMatrix b2(Q.num_col(),b.num_col(),0); in qr_solve() 859 if (a->num_col()>2) in tridiagonal() [all …]
|
H A D | Matrix.cc | 208 int nc = num_col(); 224 col <1 || col+hm1.num_col()-1 > num_col() ) in sub() 227 int nc = num_col(); in sub() 245 return mret(hm1.num_row() + hm2.num_row(), hm1.num_col() + hm2.num_col(), 250 HepMatrix mret(hm1.num_row() + hm2.num_row(), hm1.num_col() + hm2.num_col(), 287 CHK_DIM_2(hm1.num_row(),hm2.num_row(), hm1.num_col(),hm2.num_col(),+); 305 hm1.num_col(),hm2.num_col(),-); 394 CHK_DIM_2(num_row(),hm2.num_row(),num_col(),hm2.num_col(),+=); in operator +=() 401 CHK_DIM_2(num_row(),hm2.num_row(),num_col(),hm2.num_col(),-=); in operator -=() 496 if (num_col()!=num_row()) in dfinv_matrix() [all …]
|
H A D | GenMatrix.cc | 38 for(int c=1;c<=hm.num_col();c++) { in norm_infinity() 48 for(int c=1;c<=hm.num_col();c++) { in norm1() 58 HepSymMatrix A(hm.num_col(),0); in norm() 81 if(o.num_row()!=num_row() || o.num_col()!=num_col()) return false; in operator ==() 83 for (int k2=1; k2<=num_col(); k2++) in operator ==()
|
/dports/science/octopus/octopus-10.5/src/utils/ |
H A D | spin_susceptibility.F90 | 42 integer :: in_file, out_file, ii, jj, kk, ierr, ib, num_col, num_col_cart variable 99 num_col = 8 100 SAFE_ALLOCATE(magnetization(1:time_steps, 1:num_col, 1:kick%nqvec)) 182 SAFE_ALLOCATE(ftreal(1:energy_steps, num_col)) 183 SAFE_ALLOCATE(ftimag(1:energy_steps, num_col)) 185 call batch_init(vecpotb, 1, 1, num_col, magnetization(:, :, iq)) 186 call batch_init(ftrealb, 1, 1, num_col, ftreal) 187 call batch_init(ftimagb, 1, 1, num_col, ftimag) 205 ASSERT(abs(anint(num_col*M_HALF) - num_col*M_HALF) <= M_EPSILON) 206 SAFE_ALLOCATE(chi(1:energy_steps, 1:num_col/2)) [all …]
|
/dports/misc/py-xgboost/xgboost-1.5.1/tests/python/ |
H A D | test_with_modin.py | 30 assert dm.num_col() == 3 40 assert dm.num_col() == 3 54 assert dm.num_col() == 3 62 assert dm.num_col() == 3 80 assert dm.num_col() == 4 87 assert dm.num_col() == 2 111 assert dm.num_col() == 6 131 assert dm.num_col() == 2 144 assert data.num_col() == kCols
|
/dports/misc/xgboost/xgboost-1.5.1/tests/python/ |
H A D | test_with_modin.py | 30 assert dm.num_col() == 3 40 assert dm.num_col() == 3 54 assert dm.num_col() == 3 62 assert dm.num_col() == 3 80 assert dm.num_col() == 4 87 assert dm.num_col() == 2 111 assert dm.num_col() == 6 131 assert dm.num_col() == 2 144 assert data.num_col() == kCols
|
/dports/math/highs/HiGHS-cfe064e/src/ipm/ |
H A D | IpxWrapper.h | 33 num_col = lp.numCol_; in fillInIpxData() 102 num_col += num_slack; in fillInIpxData() 104 std::vector<int> sizes(num_col, 0); in fillInIpxData() 115 Ap.resize(num_col + 1); in fillInIpxData() 146 col_lb.resize(num_col); in fillInIpxData() 147 col_ub.resize(num_col); in fillInIpxData() 165 obj.resize(num_col); in fillInIpxData() 576 ipx::Int num_col, num_row; in solveLpIpx() local 585 (int)num_row, (int)num_col, (int)Ap[num_col]); in solveLpIpx() 717 std::vector<double> x(num_col); in solveLpIpx() [all …]
|
/dports/science/py-scipy/scipy-1.7.1/scipy/optimize/_highs/src/ipm/ |
H A D | IpxWrapper.h | 33 num_col = lp.numCol_; in fillInIpxData() 102 num_col += num_slack; in fillInIpxData() 104 std::vector<int> sizes(num_col, 0); in fillInIpxData() 115 Ap.resize(num_col + 1); in fillInIpxData() 146 col_lb.resize(num_col); in fillInIpxData() 147 col_ub.resize(num_col); in fillInIpxData() 165 obj.resize(num_col); in fillInIpxData() 576 ipx::Int num_col, num_row; in solveLpIpx() local 585 (int)num_row, (int)num_col, (int)Ap[num_col]); in solveLpIpx() 713 std::vector<double> x(num_col); in solveLpIpx() [all …]
|
/dports/science/fastcap/fastcap-2.0wr/src/ |
H A D | psMatDisplay.c | 201 void dump_ps_mat(filename, row, col, num_row, num_col, argv, argc, type) in dump_ps_mat() argument 203 int row, col, num_row, num_col, type, argc; 221 cols = num_col; 230 if(num_col <= (int)ASIZEC && num_row <= (int)ASIZER) { 232 blk_size_x = IMAGEX/(double)num_col; 235 num_alias_c = num_col; 246 if(num_col > (int)ASIZEC) { 250 alias_size_c = (int) ceil((double)(num_col+1)/ASIZEC); 266 num_alias_c = (int) ceil((double)num_col/(double)alias_size); 267 else num_alias_c = num_col;
|