Home
last modified time | relevance | path

Searched refs:row_weight (Results 1 – 6 of 6) sorted by relevance

/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/base/simple_classes/lanczos/
H A Dlanczos_spmatrix.cc44 row_weight = new index_list(rows); in lanczos_sparse_matrix()
45 row_weight->clear(); in lanczos_sparse_matrix()
116 row_weight = new index_list(rows); in lanczos_sparse_matrix()
158 delete row_weight; in ~lanczos_sparse_matrix()
313 row_weight->clear(); in calculate_weight()
319 if (row_weight->get(index) == 0) { in calculate_weight()
320 row_weight->put(index, -static_cast<long>(i)-1); in calculate_weight()
324 if (row_weight->get(index) < 0) { in calculate_weight()
325 row_weight->put(index, 2); in calculate_weight()
329 row_weight->put(index, row_weight->get(index)+1); in calculate_weight()
H A Dprocess.cc56 long index = matrix.row_weight->get(i); in process()
73 if (matrix.row_weight->get(i) == 0) in process()
87 if (matrix.row_weight->get(i) == 0) { in process()
99 if (matrix.row_weight->get(i) == 0) in process()
164 if (matrix.row_weight->get(i) == 0) in process()
166 if (matrix.row_weight->get(i) < 0) in process()
168 i, -matrix.row_weight->get(i)-1); in process()
/dports/graphics/gmt/gmt-6.3.0/src/
H A Dgrdfilter_mt.c331 double row_weight, col_weight, dy_half = 0.0, dx, y, lat, lat_s, lat_n, s2 = 0.0; in init_area_weights() local
351 row_weight = sind (lat_n) - sind (lat_s); in init_area_weights()
356 row_weight = 1.0 - cosd (0.5 * A->header->inc[GMT_Y]); in init_area_weights()
358 row_weight = 2.0 * cosd (lat) * s2; in init_area_weights()
363row_weight = (A->header->registration == GMT_GRID_NODE_REG && (row == 0 || row == (A->header->n_ro… in init_area_weights()
364 row_weight *= A->header->inc[GMT_Y]; in init_area_weights()
369 A->data[ij] = (gmt_grdfloat)(row_weight * col_weight); in init_area_weights()
H A Dgmt_stat.c2777 …double lat, area, f, row_weight, col_weight = 1.0, R2 = pow (0.001 * GMT->current.proj.mean_radius… in gmtstat_get_geo_cellarea() local
2788 row_weight = 1.0 - cosd (f * G->header->inc[GMT_Y]); in gmtstat_get_geo_cellarea()
2791 G->data[node] = (gmt_grdfloat)(row_weight * col_weight * area); in gmtstat_get_geo_cellarea()
2796 row_weight = 1.0 - cosd (f * G->header->inc[GMT_Y]); in gmtstat_get_geo_cellarea()
2799 G->data[node] = (gmt_grdfloat)(row_weight * col_weight * area); in gmtstat_get_geo_cellarea()
2808 row_weight = cosd (lat); in gmtstat_get_geo_cellarea()
2811 G->data[node] = (gmt_grdfloat)(row_weight * col_weight * area); in gmtstat_get_geo_cellarea()
2820 …double row_weight = 1.0, col_weight = 1.0, area = G->header->inc[GMT_X] * G->header->inc[GMT_Y]; /… in gmtstat_get_cart_cellarea() local
2823 …if (G->header->registration == GMT_GRID_NODE_REG) row_weight = (row == 0 || row == last_row) ? 0.5… in gmtstat_get_cart_cellarea()
2826 G->data[node] = (gmt_grdfloat)(row_weight * col_weight * area); in gmtstat_get_cart_cellarea()
H A Dgrdfilter.c538 double row_weight, col_weight, dy_half = 0.0, dx, y, lat, lat_s, lat_n, s2 = 0.0, f; in init_area_weights() local
558 row_weight = sind (lat_n) - sind (lat_s); in init_area_weights()
562 row_weight = 1.0 - cosd (f * A->header->inc[GMT_Y]); in init_area_weights()
565 row_weight = 2.0 * cosd (lat) * s2; in init_area_weights()
570row_weight = (A->header->registration == GMT_GRID_NODE_REG && (row == 0 || row == (A->header->n_ro… in init_area_weights()
571 row_weight *= A->header->inc[GMT_Y]; in init_area_weights()
576 A->data[ij] = (gmt_grdfloat)(row_weight * col_weight); in init_area_weights()
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/base/include/LiDIA/
H A Dlanczos.h437 index_list *row_weight; variable