Home
last modified time | relevance | path

Searched refs:num_col (Results 1 – 25 of 412) sorted by relevance

12345678910>>...17

/dports/math/highs/HiGHS-cfe064e/check/
H A DAvgas.cpp196 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 Dmathutils_Matrix.c375 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 Dmathutils_Matrix.h37 (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 DHornSchunck.py45 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 DAnandan.py70 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 DHornSchunck.py45 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 DAnandan.py70 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 DHornSchunck.py45 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 DAnandan.py70 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 DHornSchunck.py45 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 DAnandan.py70 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 Dunittest_inputsplit.cc18 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 Dunittest_parser.cc60 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 Dunittest_inputsplit.cc18 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 Dunittest_parser.cc60 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 DDiagMatrix.cc205 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 DMatrixLinear.cc63 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 DMatrix.cc208 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 DGenMatrix.cc38 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 Dspin_susceptibility.F9042 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 Dtest_with_modin.py30 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 Dtest_with_modin.py30 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 DIpxWrapper.h33 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 DIpxWrapper.h33 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 DpsMatDisplay.c201 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;

12345678910>>...17