Home
last modified time | relevance | path

Searched refs:normed (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/dports/science/py-scipy/scipy-1.7.1/scipy/sparse/csgraph/tests/
H A Dtest_graph_laplacian.py12 def _explicit_laplacian(x, normed=False): argument
19 if normed:
27 def _check_symmetric_graph_laplacian(mat, normed): argument
37 laplacian = csgraph.laplacian(mat, normed=normed)
39 if not normed:
43 csgraph.laplacian(sp_mat, normed=normed).todense())
46 _explicit_laplacian(mat, normed=normed))
68 for normed in True, False:
85 L = csgraph.laplacian(adj, normed=normed, return_diag=False,
88 L, d = csgraph.laplacian(adj, normed=normed, return_diag=True,
[all …]
/dports/math/vtk9/VTK-9.1.0/Common/DataModel/Testing/Cxx/
H A DTestVector.cxx101 vtkVector3d normed = normy.Normalized(); in TestVector() local
102 double dotted = normy.Dot(normed); in TestVector()
105 cerr << "The dot product of " << normy << " and " << normed << " was " << dotted in TestVector()
109 if (!normed.Compare(vtkVector3d(0.267261, 0.534522, 0.801784), 0.0001)) in TestVector()
111 cerr << "Error vtkVector3d::Normalized() failed: " << normed << endl; in TestVector()
115 if (!normy.Compare(normed, 0.0001)) in TestVector()
129 if (!vtkMathUtilities::FuzzyCompare(normy.Dot(normed), 1.0, 0.0001)) in TestVector()
131 cerr << "The dot product of " << normy << " and " << normed << " was " << normy.Dot(normed) in TestVector()
136 if (!normy.Cross(normed).Compare(vtkVector3d(0, 0, 0), 0.0001)) in TestVector()
138 cerr << normy << " cross " << normed << " expected to be 0, got " << normy.Cross(normed) in TestVector()
[all …]
/dports/math/vtk8/VTK-8.2.0/Common/DataModel/Testing/Cxx/
H A DTestVector.cxx102 vtkVector3d normed = normy.Normalized(); in TestVector() local
103 double dotted = normy.Dot(normed); in TestVector()
110 if (!normed.Compare(vtkVector3d(0.267261, 0.534522, 0.801784), 0.0001)) in TestVector()
112 cerr << "Error vtkVector3d::Normalized() failed: " << normed << endl; in TestVector()
116 if (!normy.Compare(normed, 0.0001)) in TestVector()
132 if (!vtkMathUtilities::FuzzyCompare(normy.Dot(normed), 1.0, 0.0001)) in TestVector()
135 << normy.Dot(normed) << ", expected 1.0." << endl; in TestVector()
139 if (!normy.Cross(normed).Compare(vtkVector3d(0, 0, 0), 0.0001)) in TestVector()
141 cerr << normy << " cross " << normed << " expected to be 0, got " in TestVector()
142 << normy.Cross(normed) << endl; in TestVector()
[all …]
/dports/math/vtk6/VTK-6.2.0/Common/DataModel/Testing/Cxx/
H A DTestVector.cxx102 vtkVector3d normed = normy.Normalized(); in TestVector() local
103 double dotted = normy.Dot(normed); in TestVector()
110 if (!normed.Compare(vtkVector3d(0.267261, 0.534522, 0.801784), 0.0001)) in TestVector()
112 cerr << "Error vtkVector3d::Normalized() failed: " << normed << endl; in TestVector()
116 if (!normy.Compare(normed, 0.0001)) in TestVector()
132 if (!vtkMathUtilities::FuzzyCompare(normy.Dot(normed), 1.0, 0.0001)) in TestVector()
135 << normy.Dot(normed) << ", expected 1.0." << endl; in TestVector()
139 if (!normy.Cross(normed).Compare(vtkVector3d(0, 0, 0), 0.0001)) in TestVector()
141 cerr << normy << " cross " << normed << " expected to be 0, got " in TestVector()
142 << normy.Cross(normed) << endl; in TestVector()
[all …]
/dports/games/xsc/xsc-1.6/
H A Dtrig.h74 float normed = degree; in normalize() local
76 while (normed < 0.0) { in normalize()
77 normed += 360.0; in normalize()
80 while (normed >= 360.0) { in normalize()
81 normed -= 360.0; in normalize()
84 return normed; in normalize()
/dports/science/py-scipy/scipy-1.7.1/scipy/sparse/csgraph/
H A D_laplacian.py16 def laplacian(csgraph, normed=False, return_diag=False, use_out_degree=False): argument
70 if normed and (np.issubdtype(csgraph.dtype, np.signedinteger)
76 lap, d = create_lap(csgraph, normed=normed, axis=degree_axis)
86 def _laplacian_sparse(graph, normed=False, axis=0): argument
94 if normed:
112 def _laplacian_dense(graph, normed=False, axis=0): argument
116 if normed:
/dports/graphics/tesseract/tesseract-5.0.0/unittest/
H A Ddenorm_test.cc30 TPOINT normed; in ExpectCorrectTransform() local
32 denorm.LocalNormTransform(src, &normed); in ExpectCorrectTransform()
34 denorm.NormTransform(nullptr, src, &normed); in ExpectCorrectTransform()
36 EXPECT_EQ(result.x, normed.x); in ExpectCorrectTransform()
37 EXPECT_EQ(result.y, normed.y); in ExpectCorrectTransform()
41 denorm.LocalDenormTransform(normed, &denormed); in ExpectCorrectTransform()
43 denorm.DenormTransform(nullptr, normed, &denormed); in ExpectCorrectTransform()
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/sandbox/distributions/
H A Dmv_measures.py30 def mutualinfo_kde(y, x, normed=True): argument
46 if normed:
52 def mutualinfo_kde_2sample(y, x, normed=True): argument
68 if normed:
74 def mutualinfo_binned(y, x, bins, normed=True): argument
133 if normed:
168 print('mutualinfo_kde ', mutualinfo_kde(y,x, normed=False))
170 mutualinfo_binned(y, x, 5, normed=True)
175 mutualinfo_binned(y, x, 'auto', normed=True)
185 mutualinfo_binned(y, x, (by,bx), normed=True)
/dports/math/py-keras/Keras-2.4.3/tests/keras/
H A Dconstraints_test.py36 normed = norm_instance(K.variable(array))
37 assert(np.all(K.eval(normed) < m))
53 normed = non_neg_instance(K.variable(get_example_array()))
54 assert(np.all(np.min(K.eval(normed), axis=1) == 0.))
71 normed = norm_instance(K.variable(array))
72 value = K.eval(normed)
/dports/science/py-scipy/scipy-1.7.1/benchmarks/benchmarks/
H A Dsparse_csgraph.py19 def setup(self, n, format, normed): argument
29 def time_laplacian(self, n, format, normed): argument
30 laplacian(self.A, normed=normed)
/dports/math/py-chaospy/chaospy-4.3.3/chaospy/expansion/
H A Dchebyshev.py11 normed=False, argument
48 if normed:
59 normed=False, argument
96 if normed:
H A Dfrontend.py22 normed=False, argument
100 order, dist=dist, normed=normed, graded=graded, reverse=reverse,
H A Dgram_schmidt.py9 def gram_schmidt(order, dist, normed=False, graded=True, reverse=True, argument
82 norms.append(1. if normed else norms_)
83 basis[idx] = basis[idx]/numpy.sqrt(norms_) if normed else basis[idx]
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/feature/tests/
H A Dtest_texture.py136 result = graycomatrix(self.image, [10], [0], 4, normed=True)
143 normed=True, symmetric=True)
153 normed=True, symmetric=True)
160 normed=True, symmetric=True)
167 normed=True, symmetric=True)
170 normed=True, symmetric=True)
183 normed=True, symmetric=True)
199 result = graycomatrix(self.image, [1], [0, 6], 4, normed=True,
205 result = graycomatrix(self.image, [1], [0, 4], 4, normed=True,
211 result = graycomatrix(self.image, [1, 2], [0], 4, normed=True,
[all …]
/dports/science/plumed/plumed2-2.7.2/src/adjmat/
H A DClusterWithSurface.cpp85 …void getInputData( const unsigned& ind, const bool& normed, const multicolvar::AtomValuePack& myat…
87 …MultiValue& getInputDerivatives( const unsigned& ind, const bool& normed, const multicolvar::AtomV…
141 void ClusterWithSurface::getInputData( const unsigned& ind, const bool& normed, const multicolvar::… in getInputData() argument
142 myclusters->getInputData( ind, normed, myatoms, orient0 ); in getInputData()
145 MultiValue& ClusterWithSurface::getInputDerivatives( const unsigned& ind, const bool& normed, const… in getInputDerivatives() argument
146 return myclusters->getInputDerivatives( ind, normed, myatoms ); in getInputDerivatives()
/dports/graphics/tesseract/tesseract-5.0.0/src/training/
H A Dunicharset_extractor.cpp50 for (const std::string &normed : normalized) { in AddStringsToUnicharset() local
52 if (normed.empty() || IsUTF8Whitespace(normed.c_str())) { in AddStringsToUnicharset()
55 unicharset->unichar_insert(normed.c_str()); in AddStringsToUnicharset()
/dports/science/plumed/plumed2-2.7.2/src/vesselbase/
H A DStoreDataVessel.cpp103 void StoreDataVessel::retrieveSequentialValue( const unsigned& jelem, const bool& normed, std::vect… in retrieveSequentialValue() argument
107 if( normed && values.size()>2 ) getAction()->normalizeVector( values ); in retrieveSequentialValue()
110 void StoreDataVessel::retrieveValueWithIndex( const unsigned& myelem, const bool& normed, std::vect… in retrieveValueWithIndex() argument
113 retrieveSequentialValue( jelem, normed, values ); in retrieveValueWithIndex()
121 void StoreDataVessel::retrieveDerivatives( const unsigned& myelem, const bool& normed, MultiValue& … in retrieveDerivatives() argument
127 if( normed ) getAction()->normalizeVectorDerivatives( myvals ); in retrieveDerivatives()
139 if( normed ) getAction()->normalizeVectorDerivatives( myvals ); in retrieveDerivatives()
/dports/textproc/py-gensim/gensim-4.0.1/gensim/models/
H A Dcallbacks.py313 annotation=False, normed=True, logger=None, viz_env=None, title=None): argument
345 self.normed = normed
372 self.diagonal, self.annotation, self.normed
380 annotation=False, normed=True, logger=None, viz_env=None, title=None): argument
412 self.normed = normed
440 self.diagonal, self.annotation, self.normed
/dports/devel/mercurial/mercurial-6.0/mercurial/cext/
H A Dcharencode.c268 PyObject *normed; in make_file_foldmap() local
270 normed = _asciitransform(k, table, in make_file_foldmap()
273 normed = PyObject_CallFunctionObjArgs( in make_file_foldmap()
277 if (normed == NULL) { in make_file_foldmap()
280 if (PyDict_SetItem(file_foldmap, normed, k) == -1) { in make_file_foldmap()
281 Py_DECREF(normed); in make_file_foldmap()
284 Py_DECREF(normed); in make_file_foldmap()
/dports/net/py-trio/trio-0.19.0/trio/
H A D_socket.py542 (*_, normed), *_ = gai_res
546 normed = list(normed)
547 assert len(normed) == 4
549 normed[2] = address[2]
551 normed[3] = address[3]
552 normed = tuple(normed)
553 return normed
/dports/math/py-numpy/numpy-1.20.3/numpy/lib/
H A Dhistograms.py673 a, bins=None, range=None, normed=None, weights=None, density=None): argument
678 def histogram(a, bins=10, range=None, normed=None, weights=None, argument
895 if normed is not None:
901 normed = None
906 elif normed:
922 if normed is not None:
931 def _histogramdd_dispatcher(sample, bins=None, range=None, normed=None, argument
943 def histogramdd(sample, bins=10, range=None, normed=None, weights=None, argument
1107 if normed is None:
1112 density = normed
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/face/src/
H A Dlbph_faces.cpp271 histc_(const Mat& src, int minVal=0, int maxVal=255, bool normed=false) in histc_() argument
282 if(normed) { in histc_()
288 static Mat histc(InputArray _src, int minVal, int maxVal, bool normed) in histc() argument
293 return histc_(Mat_<float>(src), minVal, maxVal, normed); in histc()
296 return histc_(src, minVal, maxVal, normed); in histc()
299 return histc_(Mat_<float>(src), minVal, maxVal, normed); in histc()
302 return histc_(src, minVal, maxVal, normed); in histc()
305 return histc_(Mat_<float>(src), minVal, maxVal, normed); in histc()
308 return histc_(src, minVal, maxVal, normed); in histc()
/dports/science/elmerfem/elmerfem-release-9.0/elmerice/examples/Inverse_Methods/DATA/
H A DPlotHist.py26 plt.hist(du , bins=25, normed=True, alpha=0.6, color='g')
32 plt.hist(u , bins=25, normed=True, alpha=0.6, color='g')
44 plt.hist(v , bins=25, normed=True, alpha=0.6, color='g')
/dports/science/elmerfem/elmerfem-release-9.0/elmerice/examples/Inverse_Methods/SCRIPTS/
H A DPlotHist.py44 plt.hist(du , bins=25, normed=True, alpha=0.6, color='g')
50 plt.hist(u , bins=25, normed=True, alpha=0.6, color='g')
62 plt.hist(v , bins=25, normed=True, alpha=0.6, color='g')
/dports/devel/py-weblib/weblib-0.1.30/weblib/
H A Dw3lib_encoding.py91 normed = encodings.normalize_encoding(encoding).lower()
92 return encodings.aliases.aliases.get(normed, normed)

12345678910>>...14