HomeSort by relevance Sort by last modified time
    Searched full:norm (Results 26 - 50 of 1009) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/eigen/doc/snippets/
RealQZ_compute.cpp 13 << "\n|A-QSZ|: " << (A-qz.matrixQ()*qz.matrixS()*qz.matrixZ()).norm()
14 << ", |B-QTZ|: " << (B-qz.matrixQ()*qz.matrixT()*qz.matrixZ()).norm()
15 << "\n|QQ* - I|: " << (qz.matrixQ()*qz.matrixQ().adjoint() - MatrixXf::Identity(4,4)).norm()
16 << ", |ZZ* - I|: " << (qz.matrixZ()*qz.matrixZ().adjoint() - MatrixXf::Identity(4,4)).norm()
  /external/libcxx/test/std/numerics/complex.number/cmplx.over/
norm.pass.cpp 14 // norm(T x);
26 static_assert((std::is_same<decltype(std::norm(x)), double>::value), "");
27 assert(std::norm(x) == norm(std::complex<double>(x, 0)));
34 static_assert((std::is_same<decltype(std::norm(x)), T>::value), "");
35 assert(std::norm(x) == norm(std::complex<T>(x, 0)));
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
NormFilter.java 28 * Filter to calculate the 2-norm of the inputs. i.e. sqrt(x^2 + y^2)
45 .addOutputPort("norm", Signature.PORT_REQUIRED, floatT)
56 float norm = (float) Math.hypot(xValue, yValue); local
57 if (mLogVerbose) Log.v(TAG, "Norm = " + norm);
58 OutputPort outPort = getConnectedOutputPort("norm");
60 outFrame.setValue(norm);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/cmplx.over/
norm.pass.cpp 14 // norm(T x);
26 static_assert((std::is_same<decltype(std::norm(x)), double>::value), "");
27 assert(std::norm(x) == norm(std::complex<double>(x, 0)));
34 static_assert((std::is_same<decltype(std::norm(x)), T>::value), "");
35 assert(std::norm(x) == norm(std::complex<T>(x, 0)));
  /external/mesa3d/src/mesa/tnl/
t_vb_texgen.c 107 const GLfloat *norm = normal->start; local
110 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) {
114 two_nu = 2.0F * DOT3(norm,u);
115 fx = f[i][0] = u[0] - norm[0] * two_nu;
116 fy = f[i][1] = u[1] - norm[1] * two_nu;
117 fz = f[i][2] = u[2] - norm[2] * two_nu;
135 GLfloat *norm = normal->start; local
138 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) {
143 two_nu = 2.0F * DOT3(norm,u);
144 fx = f[i][0] = u[0] - norm[0] * two_nu
184 GLfloat *norm = normal->start; local
210 GLfloat *norm = normal->start; local
284 const GLfloat *norm = normal->start; local
389 const GLfloat *norm = normal->start; local
422 const GLfloat *norm = normal->start; local
451 const GLfloat *norm = normal->start; local
    [all...]
  /external/vulkan-validation-layers/libs/glm/gtx/
norm.hpp 24 /// @file glm/gtx/norm.hpp
36 /// <glm/gtx/norm.hpp> need to be included to use these functionalities.
81 //! Returns the L1 norm between x and y.
88 //! Returns the L1 norm of v.
94 //! Returns the L2 norm between x and y.
101 //! Returns the L2 norm of v.
107 //! Returns the L norm between x and y.
115 //! Returns the L norm of v.
125 #include "norm.inl"
  /external/eigen/Eigen/src/Eigenvalues/
MatrixBaseEigenvalues.h 98 /** \brief Computes the L2 operator norm
99 * \returns Operator norm of the matrix.
102 * This function computes the L2 operator norm of a matrix, which is also
103 * known as the spectral norm. The norm of a matrix \f$ A \f$ is defined to be
105 * where the maximum is over all vectors and the norm on the right is the
106 * Euclidean vector norm. The norm equals the largest singular value, which is
111 * by SelfAdjointView::eigenvalues(), to compute the operator norm of a
136 /** \brief Computes the L2 operator norm
    [all...]
  /external/eigen/test/
householder.cpp 45 VERIFY_IS_APPROX(v1.norm(), v2.norm());
46 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(v1.tail(rows-1).norm(), v1.norm());
50 VERIFY_IS_APPROX(v1.norm(), v2.norm());
61 VERIFY_IS_APPROX(m1.norm(), m2.norm());
62 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(m1.block(1,0,rows-1,cols).norm(), m1.norm());
    [all...]
stable_norm.cpp 46 && "the stable norm algorithm cannot be guaranteed on this computer");
72 VERIFY_IS_MUCH_SMALLER_THAN(vzero.norm(), static_cast<RealScalar>(1));
73 VERIFY_IS_APPROX(vrand.stableNorm(), vrand.norm());
74 VERIFY_IS_APPROX(vrand.blueNorm(), vrand.norm());
75 VERIFY_IS_APPROX(vrand.hypotNorm(), vrand.norm());
85 VERIFY_IS_NOT_APPROX(sqrt(copy(vbig.squaredNorm())), abs(sqrt(size)*big)); // here the default norm must fail
92 VERIFY_IS_NOT_APPROX(sqrt(copy(vsmall.squaredNorm())), abs(sqrt(size)*small)); // here the default norm must fail
98 VERIFY_IS_APPROX(vrand.colwise().stableNorm(), vrand.colwise().norm());
99 VERIFY_IS_APPROX(vrand.colwise().blueNorm(), vrand.colwise().norm());
100 VERIFY_IS_APPROX(vrand.colwise().hypotNorm(), vrand.colwise().norm());
    [all...]
adjoint.cpp 33 RealScalar ref = NumTraits<Scalar>::IsInteger ? RealScalar(0) : (std::max)((s1 * v1 + s2 * v2).norm(),v3.norm());
37 VERIFY_IS_APPROX(v1.squaredNorm(), v1.norm() * v1.norm());
39 VERIFY_IS_APPROX(v1, v1.norm() * v1.normalized());
42 VERIFY_IS_APPROX(v1, v1.norm() * v3);
44 VERIFY_IS_APPROX(v3.norm(), RealScalar(1));
47 ref = NumTraits<Scalar>::IsInteger ? 0 : (std::max)((std::max)(v1.norm(),v2.norm()),(std::max)((square * v2).norm(),(square.adjoint() * v1).norm()))
    [all...]
  /frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
VectorUtil.java 39 public static double norm(double[] a) { method in class:VectorUtil
53 double norm = norm(a); local
54 a[0] /= norm;
55 a[1] /= norm;
56 a[2] /= norm;
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/ia64/
operand-or.s 10 fclass.m p3, p4 = f4, @nat|@qnan|@snan|@pos|@neg|@unorm|@norm
11 fclass.m p3, p4 = f4, @nat|@qnan|@snan|@pos|@neg|@unorm|@norm|@inf
  /external/svox/pico/lib/
picosig2.c 1006 picoos_int32 *norm; local
    [all...]
  /external/icu/icu4c/source/tools/gennorm2/
n2builder.cpp 98 struct Norm {
177 normMem=utm_open("gennorm2 normalization structs", 10000, 0x110100, sizeof(Norm));
178 norms=allocNorm(); // unused Norm struct at index 0
212 Norm *Normalizer2DataBuilder::allocNorm() {
213 Norm *p=(Norm *)utm_alloc(normMem);
214 norms=(Norm *)utm_getStart(normMem); // in case it got reallocated
218 /* get an existing Norm unit */
219 Norm *Normalizer2DataBuilder::getNorm(UChar32 c) {
227 const Norm &Normalizer2DataBuilder::getNormRef(UChar32 c) const
450 Norm &norm=norms[value]; local
1058 const Norm &norm=norms[i]; local
    [all...]
  /external/vulkan-validation-layers/loader/
CMakeLists.txt 43 # setup two Cmake targets (loader-norm and loader-opt) for the different compilation flags
48 add_library(loader-norm OBJECT ${NORMAL_LOADER_SRCS} dirent_on_windows.c)
49 target_compile_options(loader-norm PUBLIC "$<$<CONFIG:DEBUG>:${LOCAL_C_FLAGS_DBG}>")
52 add_library(vulkan-${MAJOR} SHARED $<TARGET_OBJECTS:loader-opt> $<TARGET_OBJECTS:loader-norm> ${CMAKE_CURRENT_BINARY_DIR}/vulkan-${MAJOR}.def)
54 add_library(VKstatic.${MAJOR} STATIC $<TARGET_OBJECTS:loader-opt> $<TARGET_OBJECTS:loader-norm>)
  /external/skia/tools/
sk_tool_utils.cpp 240 static inline void norm_to_rgb(SkBitmap* bm, int x, int y, const SkVector3& norm) {
241 SkASSERT(SkScalarNearlyEqual(norm.length(), 1.0f));
242 unsigned char r = static_cast<unsigned char>((0.5f * norm.fX + 0.5f) * 255);
243 unsigned char g = static_cast<unsigned char>((-0.5f * norm.fY + 0.5f) * 255);
244 unsigned char b = static_cast<unsigned char>((0.5f * norm.fZ + 0.5f) * 255);
253 SkVector3 norm; local
257 norm.fX = (x + 0.5f - center.fX) / halfSize.fX;
258 norm.fY = (y + 0.5f - center.fY) / halfSize.fY;
260 SkScalar tmp = norm.fX * norm.fX + norm.fY * norm.fY
279 SkPoint3 norm; local
319 SkPoint3 norm; local
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
autocorr.c 40 Word32 i, norm, shift; local
70 norm = norm_l(L_sum);
71 shift = 4 - (norm >> 1);
98 norm = norm_l(L_sum);
99 L_sum = (L_sum << norm);
119 L_sum1 = L_sum1<<norm;
120 L_sum = L_sum<<norm;
  /external/eigen/Eigen/src/Core/
Dot.h 58 * \sa squaredNorm(), norm()
104 //---------- implementation of L2 norm and related functions ----------
106 /** \returns, for vectors, the squared \em l2 norm of \c *this, and for matrices the Frobenius norm.
110 * \sa dot(), norm()
118 /** \returns, for vectors, the \em l2 norm of \c *this, and for matrices the Frobenius norm.
125 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real MatrixBase<Derived>::norm() const function in class:Eigen::MatrixBase
131 /** \returns an expression of the quotient of *this by its own norm.
135 * \sa norm(), normalize(
    [all...]
Fuzzy.h 85 * For matrices, the comparison is done using the Hilbert-Schmidt norm (aka Frobenius norm
86 * L2 norm).
106 /** \returns \c true if the norm of \c *this is much smaller than \a other,
113 * For matrices, the comparison is done using the Hilbert-Schmidt norm. For this reason,
114 * the value of the reference scalar \a other should come from the Hilbert-Schmidt norm
128 /** \returns \c true if the norm of \c *this is much smaller than the norm of \a other,
134 * For matrices, the comparison is done using the Hilbert-Schmidt norm.
  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
BaseCluster.java 189 double norm = 0; local
191 norm += mCenter[i] * mCenter[i];
193 norm = Math.sqrt(norm);
195 mCenter[i] /= norm;
203 double norm = 0; local
206 norm += mCenter[i] * mCenter[i];
208 norm = Math.sqrt(norm);
210 mCenter[i] /= norm;
    [all...]
  /external/eigen/bench/spbench/
sp_solver.cpp 60 // cout << " norm of A " << mat1.norm() << endl; ;
69 // std::cout<< "NORM " << mat1.squaredNorm()<< endl;
116 double tempNorm = tmp2.norm()/b.norm();
117 cout << "Relative norm of the computed solution : " << tempNorm <<"\n";
  /external/libcxx/test/std/numerics/complex.number/complex.value.ops/
norm.pass.cpp 14 // norm(const complex<T>& x);
26 assert(norm(z) == 25);
34 double r = norm(x[i]);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.value.ops/
norm.pass.cpp 14 // norm(const complex<T>& x);
26 assert(norm(z) == 25);
34 double r = norm(x[i]);
  /external/icu/icu4c/source/test/intltest/
tstnrapi.cpp 26 Normalizer norm(iter, UNORM_NFC);
27 if(norm.next()!=0xe4) {
32 Normalizer copy(norm);
74 norm.setIndexOnly(3);
75 if(norm.current()!=0x4e3d) {
134 norm.setMode(UNORM_NONE);
135 if(norm.first()!=0x61 || norm.next()!=0x308 || norm.last()!=0x2f800) {
  /external/libxml2/test/c14n/1-1-without-comments/
example-4.xml 7 <norm attr=' &apos; &#x20;&#13;&#xa;&#9; &apos; '/>

Completed in 4010 milliseconds

12 3 4 5 6 7 8 91011>>