Searched refs:setConstant (Results 1 - 25 of 32) sorted by relevance

12

/external/eigen/doc/snippets/
H A DMatrix_setConstant_int.cpp2 v.setConstant(3, 5);
H A DMatrix_setConstant_int_int.cpp2 m.setConstant(3, 3, 5);
/external/ceres-solver/internal/ceres/
H A Dresidual_block_test.cc67 jacobian.setConstant(k);
121 VectorRef(residuals, 3).setConstant(0.0);
127 jacobian_rx.setConstant(-1.0);
128 jacobian_ry.setConstant(-1.0);
129 jacobian_rz.setConstant(-1.0);
149 VectorRef(residuals, 3).setConstant(0.0);
150 jacobian_rx.setConstant(-1.0);
151 jacobian_ry.setConstant(-1.0);
152 jacobian_rz.setConstant(-1.0);
193 jacobian.col(j).setConstant(
[all...]
H A Devaluator_test.cc85 jacobian.col(j).setConstant(kFactor * (j + 1));
125 residuals.setConstant(-2000);
128 gradient.setConstant(-3000);
186 sparse_matrix->num_nonzeros()).setConstant(value);
/external/eigen/test/
H A Dbandmatrix.cpp29 m.diagonal().setConstant(123);
30 dm1.diagonal().setConstant(123);
33 m.diagonal(i).setConstant(static_cast<RealScalar>(i));
34 dm1.diagonal(i).setConstant(static_cast<RealScalar>(i));
38 m.diagonal(-i).setConstant(-static_cast<RealScalar>(i));
39 dm1.diagonal(-i).setConstant(-static_cast<RealScalar>(i));
46 m.col(i).setConstant(static_cast<RealScalar>(i+1));
47 dm1.col(i).setConstant(static_cast<RealScalar>(i+1));
H A Dcwiseop.cpp71 VERIFY_IS_APPROX(m4.setConstant(s1), m3);
72 VERIFY_IS_APPROX(m4.setConstant(rows,cols,s1), m3);
80 VERIFY_IS_APPROX(v3.setConstant(rows, s1), VectorType::Constant(rows,s1));
/external/eigen/bench/
H A Dvdw_new.cpp46 interactions1.setConstant(2.4);
47 interactions2.setConstant(rab);
/external/eigen/Eigen/src/Core/
H A DCwiseNullaryOp.h317 /** Alias for setConstant(): sets all coefficients in this expression to \a value.
319 * \sa setConstant(), Constant(), class CwiseNullaryOp
324 setConstant(value);
329 * \sa fill(), setConstant(Index,const Scalar&), setConstant(Index,Index,const Scalar&), setZero(), setOnes(), Constant(), class CwiseNullaryOp, setZero(), setOnes()
332 EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::setConstant(const Scalar& value) function in class:Eigen::DenseBase
344 * \sa MatrixBase::setConstant(const Scalar&), setConstant(Index,Index,const Scalar&), class CwiseNullaryOp, MatrixBase::Constant(const Scalar&)
348 PlainObjectBase<Derived>::setConstant(Index size, const Scalar& value) function in class:Eigen::PlainObjectBase
351 return setConstant(valu
367 PlainObjectBase<Derived>::setConstant(Index rows, Index cols, const Scalar& value) function in class:Eigen::PlainObjectBase
[all...]
H A DTriangularMatrix.h210 void fill(const Scalar& value) { setConstant(value); }
211 /** \sa MatrixBase::setConstant() */
212 TriangularView& setConstant(const Scalar& value) function in class:Eigen::TriangularView
215 TriangularView& setZero() { return setConstant(Scalar(0)); }
217 TriangularView& setOnes() { return setConstant(Scalar(1)); }
H A DPlainObjectBase.h519 using Base::setConstant;
520 Derived& setConstant(Index size, const Scalar& value);
521 Derived& setConstant(Index rows, Index cols, const Scalar& value);
H A DDenseBase.h342 Derived& setConstant(const Scalar& value);
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DAlignedBox.h61 m_min.setConstant( (std::numeric_limits<Scalar>::max)());
62 m_max.setConstant(-(std::numeric_limits<Scalar>::max)());
H A DScaling.h55 explicit inline Scaling(const Scalar& s) { m_coeffs.setConstant(s); }
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
H A DCamera.java327 worldPlane[i].setConstant(cam.worldPlane[i].getConstant());
1227 worldPlane[LEFT_PLANE].setConstant(location.dot(leftPlaneNormal));
1236 worldPlane[RIGHT_PLANE].setConstant(location.dot(rightPlaneNormal));
1245 worldPlane[BOTTOM_PLANE].setConstant(location.dot(bottomPlaneNormal));
1254 worldPlane[TOP_PLANE].setConstant(location.dot(topPlaneNormal));
1257 worldPlane[LEFT_PLANE].setConstant(worldPlane[LEFT_PLANE].getConstant() + frustumLeft);
1258 worldPlane[RIGHT_PLANE].setConstant(worldPlane[RIGHT_PLANE].getConstant() - frustumRight);
1259 worldPlane[TOP_PLANE].setConstant(worldPlane[TOP_PLANE].getConstant() - frustumTop);
1260 worldPlane[BOTTOM_PLANE].setConstant(worldPlane[BOTTOM_PLANE].getConstant() + frustumBottom);
1266 worldPlane[FAR_PLANE].setConstant(
[all...]
/external/eigen/test/eigen2/
H A Deigen2_cwiseop.cpp64 VERIFY_IS_APPROX(m4.setConstant(s1), m3);
65 VERIFY_IS_APPROX(m4.setConstant(rows,cols,s1), m3);
73 VERIFY_IS_APPROX(v3.setConstant(rows, s1), VectorType::Constant(rows,s1));
/external/llvm/include/llvm/IR/
H A DGlobalVariable.h158 void setConstant(bool Val) { isConstantGlobal = Val; } function in class:llvm::GlobalVariable
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/
H A DSimpleWaterProcessor.java383 this.plane.setConstant(plane.getConstant());
400 reflectionClipPlane.setConstant(reflectionClipPlane.getConstant() + reflectionClippingOffset);
402 refractionClipPlane.setConstant(refractionClipPlane.getConstant() + refractionClippingOffset);
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DPlane.java127 * <code>setConstant</code> sets the constant value that helps define the
133 public void setConstant(float constant) { method in class:Plane
/external/eigen/Eigen/src/Geometry/
H A DAlignedBox.h96 m_min.setConstant( ScalarTraits::highest() );
97 m_max.setConstant( ScalarTraits::lowest() );
/external/eigen/unsupported/test/
H A DNonLinearOptimization.cpp171 x.setConstant(n, 1.);
200 x.setConstant(n, 1.);
285 x.setConstant(n, -1.);
317 x.setConstant(n, -1.);
323 solver.diag.setConstant(n, 1.);
374 x.setConstant(n, -1.);
401 x.setConstant(n, -1.);
408 solver.diag.setConstant(n, 1.);
476 x.setConstant(n, 1.);
505 x.setConstant(
[all...]
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
H A DHybridNonLinearSolver.h136 diag.setConstant(n, 1.);
371 diag.setConstant(n, 1.);
/external/eigen/Eigen/src/Eigenvalues/
H A DRealSchur.h370 shiftInfo.setConstant(Scalar(0.964));
/external/clang/lib/CodeGen/
H A DCGDecl.cpp242 GV->setConstant(false);
276 GV->setConstant(CGM.isTypeConstant(D.getType(), true));
H A DCodeGenModule.cpp1543 GV->setConstant(isTypeConstant(D->getType(), false));
1808 GV->setConstant(!NeedsGlobalCtor && !NeedsGlobalDtor &&
1819 GV->setConstant(false);
/external/llvm/lib/Linker/
H A DLinkModules.cpp772 DGVar->setConstant(true);

Completed in 626 milliseconds

12