Home
last modified time | relevance | path

Searched refs:nz_ (Results 1 – 25 of 269) sorted by relevance

1234567891011

/dports/math/fxt/fxt/src/comb/
H A Dsetpart-ck-rgs.h50 nz_ = new ulong[n_]; in setpart_ck_rgs()
60 delete [] nz_; in ~setpart_ck_rgs()
71 for (ulong k=0; k<n_; ++k) nz_[k] = 0; in first()
94 nz_[m_] = j; // make sure the scan stops in next()
96 while ( nz_[k] < ma ) ++k; in next()
97 ulong a1 = nz_[k]; in next()
101 nz_[m_] = j; in next()
124 ulong nzi = nz_[i]; in make_setpart_rgs()
164 if ( nz_[m] != aj ) return false; in OK()
174 if ( nz_[i] == aj ) break; in OK()
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bvxm/grid/
H A Dbvxm_voxel_slab_base.h14 inline unsigned nz() const {return nz_;} in nz()
15 inline unsigned size() const {return nx_*ny_*nz_;} in size()
20 bvxm_voxel_slab_base() : nx_(0),ny_(0),nz_(0) {} in bvxm_voxel_slab_base()
21 bvxm_voxel_slab_base(unsigned nx, unsigned ny, unsigned nz) : nx_(nx), ny_(ny), nz_(nz) {} in bvxm_voxel_slab_base()
25 unsigned nz_; variable
H A Dbvxm_voxel_slab.hxx49 nz_ == rhs.nz_; in operator ==()
66 if ((nx_ == nx) && (ny_ == ny) && (nz_ == nz)) { in set_size()
74 nz_ = nz; in set_size()
H A Dbvxm_voxel_storage_disk.h28 : nx_(grid_size.x()), ny_(grid_size.y()), nz_(grid_size.z()), nobservations_(0) {} in bvxm_voxel_storage_header()
30 : nx_(nx),ny_(ny),nz_(nz),nobservations_(0) {} in bvxm_voxel_storage_header()
35 unsigned nz_; variable
/dports/science/R-cran-som/som/src/tnt/
H A Dfcscmat.h55 int nz_; // number of nonzeros variable
64 : val_(S.val_), rowind_(S.rowind_), colptr_(S.colptr_), nz_(S.nz_), in Fortran_Sparse_Col_Matrix()
69 colptr_(N+1, c), nz_(nz), m_(M), n_(N) {}; in Fortran_Sparse_Col_Matrix()
74 colptr_(N+1, c), nz_(nz), m_(M), n_(N) {}; in Fortran_Sparse_Col_Matrix()
78 : val_(nz, val), rowind_(nz, r), colptr_(N+1, c), nz_(nz), in Fortran_Sparse_Col_Matrix()
108 Subscript num_nonzeros() const {return nz_;}; in num_nonzeros()
119 nz_ = C.nz_;
/dports/math/R-cran-geepack/geepack/inst/include/tnt/
H A Dfcscmat.h55 int nz_; // number of nonzeros variable
64 : val_(S.val_), rowind_(S.rowind_), colptr_(S.colptr_), nz_(S.nz_), in Fortran_Sparse_Col_Matrix()
69 colptr_(N+1, c), nz_(nz), m_(M), n_(N) {}; in Fortran_Sparse_Col_Matrix()
74 colptr_(N+1, c), nz_(nz), m_(M), n_(N) {}; in Fortran_Sparse_Col_Matrix()
78 : val_(nz, val), rowind_(nz, r), colptr_(N+1, c), nz_(nz), in Fortran_Sparse_Col_Matrix()
108 Subscript num_nonzeros() const {return nz_;}; in num_nonzeros()
119 nz_ = C.nz_;
/dports/science/qmcpack/qmcpack-3.11.0/src/QMCTools/
H A DFftContainer.h20 int nx_, ny_, nz_; variable
36 int getNz() const { return nz_; } in getNz()
38 int getIndex(int x, int y, int z) const { return z + y * nz_ + x * ny_ * nz_; } in getIndex()
69 nz_ = nz; in FftContainer()
70 fullSize = nx_ * ny_ * nz_; in FftContainer()
73 plan_ = fftw_plan_dft_3d(nx_, ny_, nz_, rspace, kspace, -1, FFTW_ESTIMATE); in FftContainer()
/dports/math/fxt/fxt/src/ds/
H A Darray3d.h34 ulong nx_, ny_, nz_; // dimensions variable
48 nz_ = nz;
49 num_elem_ = nx_ * ny_ * nz_;
64 const ulong na = ny_ * nz_; // number of cells in each array2d
80 ulong num_z() const { return nz_; } in num_z()
105 if ( z >= nz_ ) return true; in is_off()
/dports/finance/quantlib/QuantLib-1.20/ql/experimental/credit/
H A Donefactorstudentcopula.cpp31 density_ (nm), cumulative_ (nz), nz_(nz), nm_(nm) { in OneFactorStudentCopula()
37 scaleZ_ = std::sqrt (Real (nz_ - 2) / nz_); in OneFactorStudentCopula()
68 return CumulativeStudentDistribution(nz_)(y / scaleZ_); in cumulativeYintegral()
73 StudentDistribution dz (nz_); in cumulativeYintegral()
114 cumulative_(nz), nz_(nz) { in OneFactorGaussianStudentCopula()
119 scaleZ_ = std::sqrt (Real (nz_ - 2) / nz_); in OneFactorGaussianStudentCopula()
150 return CumulativeStudentDistribution(nz_)(y / scaleZ_); in cumulativeYintegral()
155 StudentDistribution dz (nz_); in cumulativeYintegral()
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/example/poisson-inversion/
H A Dexample_02.cpp79 uint nz_; member in Objective_PoissonInversion
107 nu_ = nz_-1; in Objective_PoissonInversion()
149 Bd[nu_-1] -= u1_*d[nz_-1]/hu_; in apply_linearized_control_operator()
157 Bd.resize(nz_,0.0); in apply_transposed_linearized_control_operator()
162 else if ( i == nz_-1 ) { in apply_transposed_linearized_control_operator()
190 u[nu_-1] = z[nz_-1]/hu_ * u1_; in solve_state_equation()
287 H_.shape(nz_,nz_); in update()
310 if ( cnt == nz_-1 ) { in update()
333 for (uint i=0; i<nz_;i++) { in value()
431 for (uint i=0; i < nz_; i++) { in hessVec_true()
[all …]
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/src/zoo/testproblems/
H A DROL_PoissonInversion.hpp78 uint nz_; member in ROL::ZOO::Objective_PoissonInversion
112 for (uint i = 0; i < nz_; i++) { in reg_value()
120 if ( i < nz_-1 ) { in reg_value()
139 for (uint i = 0; i < nz_; i++) { in reg_gradient()
148 for (uint i = 0; i < nz_; i++) { in reg_gradient()
153 else if ( i == nz_-1 ) { in reg_gradient()
197 else if ( i == nz_-1 ) { in reg_hessVec()
299 for (uint i = 0; i < nz_; i++) { in apply_transposed_linearized_control_operator()
303 else if ( i == nz_-1 ) { in apply_transposed_linearized_control_operator()
321 for (uint i = 0; i < nz_; i++) { in apply_transposed_linearized_control_operator_2()
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bpgl/icam/
H A Dicam_cylinder_map.h39 icam_cylinder_map(): n_theta_(0), nz_(0),origin_(vgl_point_3d<double>()), in icam_cylinder_map()
44 n_theta_(n_theta), nz_(nz), origin_(pt), radius_(radius), in n_theta_()
70 unsigned nz_; variable
H A Dicam_cylinder_map.cxx60 cyl_map_.set_size(n_theta_, nz_, 3); in map_cylinder()
64 double dz = height/nz_; in map_cylinder()
66 for(unsigned iz = 0; iz<nz_; ++iz){ in map_cylinder()
131 double dz = height/nz_; in render_map()
133 for (unsigned int iz = 0; iz<nz_; ++iz) in render_map()
181 if(iz < (nz_-1)) in render_map()
/dports/math/casadi/casadi-3.5.5/casadi/core/
H A Dsetnonzeros_impl.hpp75 const std::vector<casadi_int>& nz) : SetNonzeros<Add>(y, x), nz_(nz) { in SetNonzerosVector()
79 for (vector<casadi_int>::reverse_iterator i=nz_.rbegin(); i!=nz_.rend(); ++i) { in SetNonzerosVector()
558 for (vector<casadi_int>::const_iterator k=this->nz_.begin(); k!=this->nz_.end(); ++k, ++idata) { in eval_gen()
649 for (vector<casadi_int>::const_iterator k=this->nz_.begin(); k!=this->nz_.end(); ++k, ++a) { in sp_forward()
664 for (vector<casadi_int>::const_iterator k=this->nz_.begin(); k!=this->nz_.end(); ++k, ++a) { in sp_reverse()
791 if (this->nz_.size()!=n->nz_.size()) return false; in is_equal()
792 if (!std::equal(this->nz_.begin(), this->nz_.end(), n->nz_.begin())) return false; in is_equal()
844 std::string ind = g.constant(this->nz_); in generate()
852 << "+" << this->nz_.size() << "; ++cii, ++ss)" in generate()
902 s.pack("SetNonzerosVector::nonzeros", nz_); in serialize_body()
[all …]
H A Dgetnonzeros.cpp78 for (auto&& k : nz_) { in eval_gen()
136 for (auto&& k : nz_) *r++ = k>=0 ? a[k] : 0; in sp_forward()
144 for (auto&& k : nz_) { in sp_reverse()
199 ss << arg.at(0) << nz_; in disp()
479 string ind = g.constant(nz_); in generate()
487 << "; cii!=" << ind << "+" << nz_.size() in generate()
538 if (this->nz_.size()!=n->nz_.size()) return false; in is_equal()
539 if (!std::equal(this->nz_.begin(), this->nz_.end(), n->nz_.begin())) return false; in is_equal()
580 s.pack("GetNonzerosVector::nonzeros", nz_); in serialize_body()
589 s.unpack("GetNonzerosVector::nonzeros", nz_); in GetNonzerosVector()
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/example/PDE-OPT/TOOLS/
H A Dmeshmanager.hpp941 int nz_; member in MeshManager_Brick
967 numCells_ = nx_ * ny_ * nz_; in MeshManager_Brick()
969 numEdges_ = ((nx_+1)*ny_ + (ny_+1)*nx_)*(nz_+1) + (nx_+1)*(ny_+1)*nz_; in MeshManager_Brick()
1023 Real dz = height_ / nz_; in computeNodes()
1026 for (int k=0; k<=nz_; ++k) { in computeNodes()
1051 for (int k=0; k<nz_; ++k) { in computeCellToNodeMap()
1084 for (int k=0; k<nz_; ++k) { in computeCellToEdgeMap()
1126 for (int j=0; j<nz_; ++j) { in computeSideSets()
1131 for (int j=0; j<nz_; ++j) { in computeSideSets()
1136 for (int j=0; j<nz_; ++j) { in computeSideSets()
[all …]
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/gfortran.dg/
H A Dwhole_file_27.f90150 Integer :: err_act, info, nz_ local
162 nz_ = nz
164 nz_ = max(7*m,7*n,1)
166 if (nz_ < 0) then
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gfortran.dg/
H A Dwhole_file_27.f90150 Integer :: err_act, info, nz_ local
162 nz_ = nz
164 nz_ = max(7*m,7*n,1)
166 if (nz_ < 0) then
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/gfortran.dg/
H A Dwhole_file_27.f90150 Integer :: err_act, info, nz_ local
162 nz_ = nz
164 nz_ = max(7*m,7*n,1)
166 if (nz_ < 0) then
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gfortran.dg/
H A Dwhole_file_27.f90150 Integer :: err_act, info, nz_ local
162 nz_ = nz
164 nz_ = max(7*m,7*n,1)
166 if (nz_ < 0) then
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gfortran.dg/
H A Dwhole_file_27.f90150 Integer :: err_act, info, nz_ local
162 nz_ = nz
164 nz_ = max(7*m,7*n,1)
166 if (nz_ < 0) then
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gfortran.dg/
H A Dwhole_file_27.f90150 Integer :: err_act, info, nz_ local
162 nz_ = nz
164 nz_ = max(7*m,7*n,1)
166 if (nz_ < 0) then
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gfortran.dg/
H A Dwhole_file_27.f90150 Integer :: err_act, info, nz_ local
162 nz_ = nz
164 nz_ = max(7*m,7*n,1)
166 if (nz_ < 0) then
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/gfortran.dg/
H A Dwhole_file_27.f90150 Integer :: err_act, info, nz_ local
162 nz_ = nz
164 nz_ = max(7*m,7*n,1)
166 if (nz_ < 0) then
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gfortran.dg/
H A Dwhole_file_27.f90150 Integer :: err_act, info, nz_ local
162 nz_ = nz
164 nz_ = max(7*m,7*n,1)
166 if (nz_ < 0) then

1234567891011