Home
last modified time | relevance | path

Searched refs:setConstant (Results 1 – 25 of 49) sorted by relevance

12

/external/eigen/test/
Dbandmatrix.cpp28 m.diagonal().setConstant(123); in bandmatrix()
29 dm1.diagonal().setConstant(123); in bandmatrix()
32 m.diagonal(i).setConstant(static_cast<RealScalar>(i)); in bandmatrix()
33 dm1.diagonal(i).setConstant(static_cast<RealScalar>(i)); in bandmatrix()
37 m.diagonal(-i).setConstant(-static_cast<RealScalar>(i)); in bandmatrix()
38 dm1.diagonal(-i).setConstant(-static_cast<RealScalar>(i)); in bandmatrix()
45 m.col(i).setConstant(static_cast<RealScalar>(i+1)); in bandmatrix()
46 dm1.col(i).setConstant(static_cast<RealScalar>(i+1)); in bandmatrix()
/external/eigen/Eigen/src/Core/
DCwiseNullaryOp.h317 setConstant(val);
325 EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::setConstant(const Scalar& val)
341 PlainObjectBase<Derived>::setConstant(Index size, const Scalar& val)
344 return setConstant(val);
360 PlainObjectBase<Derived>::setConstant(Index rows, Index cols, const Scalar& val)
363 return setConstant(val);
501 return setConstant(Scalar(0));
518 return setConstant(Scalar(0));
536 return setConstant(Scalar(0));
627 return setConstant(Scalar(1));
[all …]
DPlainObjectBase.h648 using Base::setConstant;
649 EIGEN_DEVICE_FUNC Derived& setConstant(Index size, const Scalar& val);
650 EIGEN_DEVICE_FUNC Derived& setConstant(Index rows, Index cols, const Scalar& val);
853 Base::setConstant(val0);
867 Base::setConstant(val0);
DTriangularMatrix.h390 void fill(const Scalar& value) { setConstant(value); }
393 TriangularViewType& setConstant(const Scalar& value)
397 TriangularViewType& setZero() { return setConstant(Scalar(0)); }
400 TriangularViewType& setOnes() { return setConstant(Scalar(1)); }
DArrayBase.h117 { Base::setConstant(value); return derived(); }
DArray.h92 Base::setConstant(value);
/external/eigen/bench/
Dvdw_new.cpp46 interactions1.setConstant(2.4); in main()
47 interactions2.setConstant(rab); in main()
/external/eigen/Eigen/src/MetisSupport/
DMetisSupport.h38 visited.setConstant(-1); in get_symmetrized_graph()
69 visited.setConstant(-1); in get_symmetrized_graph()
/external/eigen/doc/snippets/
DMatrix_setConstant_int.cpp2 v.setConstant(3, 5);
DMatrix_setConstant_int_int.cpp2 m.setConstant(3, 3, 5);
/external/eigen/unsupported/test/
DNonLinearOptimization.cpp174 x.setConstant(n, 1.); in testLmder1()
203 x.setConstant(n, 1.); in testLmder()
288 x.setConstant(n, -1.); in testHybrj1()
320 x.setConstant(n, -1.); in testHybrj()
326 solver.diag.setConstant(n, 1.); in testHybrj()
377 x.setConstant(n, -1.); in testHybrd1()
404 x.setConstant(n, -1.); in testHybrd()
411 solver.diag.setConstant(n, 1.); in testHybrd()
479 x.setConstant(n, 1.); in testLmstr1()
508 x.setConstant(n, 1.); in testLmstr()
[all …]
Dcxx11_tensor_io.cpp92 tensor.setConstant(std::string("foo")); in test_output_string()
Dcxx11_tensor_of_strings.cpp137 a.setConstant(std::string("foo")); in test_initialization()
Dlevenberg_marquardt.cpp72 x.setConstant(n, 1.); in testLmder1()
101 x.setConstant(n, 1.); in testLmder()
174 x.setConstant(n, 1.); in testLmdif1()
204 x.setConstant(n, 1.); in testLmdif()
/external/eigen/Eigen/src/SparseCore/
DSparseColEtree.h74 firstRowElt.setConstant(nc);
189 first_kid.setConstant(-1); in treePostorder()
/external/eigen/Eigen/src/SparseLU/
DSparseLU.h558 repfnz.setConstant(-1); in factorize()
559 panel_lsub.setConstant(-1); in factorize()
579 m_perm_r.indices().setConstant(-1); in factorize()
580 marker.setConstant(-1); in factorize()
583 m_glu.supno(0) = emptyIdxLU; m_glu.xsup.setConstant(0); in factorize()
DSparseLU_relax_snode.h52 relax_end.setConstant(emptyIdxLU); in relax_snode()
DSparseLU_heap_relax_snode.h66 relax_end.setConstant(emptyIdxLU); in heap_relax_snode()
/external/llvm/include/llvm/IR/
DGlobalVariable.h141 void setConstant(bool Val) { isConstantGlobal = Val; } in setConstant() function
/external/swiftshader/third_party/LLVM/include/llvm/
DGlobalVariable.h135 void setConstant(bool Val) { isConstantGlobal = Val; } in setConstant() function
/external/eigen/Eigen/src/Geometry/
DAlignedBox.h101 m_min.setConstant( ScalarTraits::highest() ); in setEmpty()
102 m_max.setConstant( ScalarTraits::lowest() ); in setEmpty()
/external/eigen/Eigen/src/Eigenvalues/
DGeneralizedEigenSolver.h328 v.setConstant(Scalar(0.0)); in compute()
356 m_eivec.col(i).imag().setConstant(0); in compute()
/external/llvm/lib/CodeGen/
DLowerEmuTLS.cpp142 EmuTlsTmplVar->setConstant(true); in addEmuTlsVar()
/external/llvm/lib/Linker/
DLinkModules.cpp365 DGVar->setConstant(false); in linkIfNeeded()
366 SGVar->setConstant(false); in linkIfNeeded()
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
DHybridNonLinearSolver.h136 diag.setConstant(n, 1.); in hybrj1()
373 diag.setConstant(n, 1.); in hybrd1()

12