Home
last modified time | relevance | path

Searched refs:Ones (Results 1 – 25 of 100) sorted by relevance

1234

/external/eigen/test/
Dproduct_extra.cpp319 r = v * RowVectorXd::Ones(n); in bug_1308()
321 r = VectorXd::Ones(n) * v.transpose(); in bug_1308()
324 Matrix4d ones44 = Matrix4d::Ones(); in bug_1308()
325 Matrix4d m44 = Matrix4d::Ones() * Matrix4d::Ones(); in bug_1308()
327 VERIFY_IS_APPROX(m44.noalias()=ones44*Matrix4d::Ones(), Matrix4d::Constant(4)); in bug_1308()
328 VERIFY_IS_APPROX(m44.noalias()=ones44.transpose()*Matrix4d::Ones(), Matrix4d::Constant(4)); in bug_1308()
329 VERIFY_IS_APPROX(m44.noalias()=Matrix4d::Ones()*ones44, Matrix4d::Constant(4)); in bug_1308()
330 VERIFY_IS_APPROX(m44.noalias()=Matrix4d::Ones()*ones44.transpose(), Matrix4d::Constant(4)); in bug_1308()
333 RMatrix4d r44 = Matrix4d::Ones() * Matrix4d::Ones(); in bug_1308()
335 VERIFY_IS_APPROX(r44.noalias()=ones44*Matrix4d::Ones(), Matrix4d::Constant(4)); in bug_1308()
[all …]
Dmiscmatrices.cpp24 VERIFY_IS_APPROX(MatrixType::Ones(rows,cols)(r,c), static_cast<Scalar>(1)); in miscMatrices()
25 MatrixType m1 = MatrixType::Ones(rows,cols); in miscMatrices()
34 square.diagonal() = VectorType::Ones(rows); in miscMatrices()
Dmapped_matrix.cpp78 VERIFY_IS_EQUAL(map1, MatrixType::Ones(rows,cols)); in map_class_matrix()
79 VERIFY_IS_EQUAL(map2, MatrixType::Ones(rows,cols)); in map_class_matrix()
80 VERIFY_IS_EQUAL(map3, MatrixType::Ones(rows,cols)); in map_class_matrix()
105 VERIFY_IS_EQUAL(map4, MatrixType::Ones(rows,cols)); in map_class_matrix()
Dadjoint.cpp193 c = 1.0 * MatrixXd::Ones(10,10) + c; in test_adjoint()
194 c = MatrixXd::Ones(10,10) * 1.0 + c; in test_adjoint()
195 c = c + MatrixXd::Ones(10,10) .cwiseProduct( MatrixXd::Zero(10,10) ); in test_adjoint()
196 c = MatrixXd::Ones(10,10) * MatrixXd::Zero(10,10); in test_adjoint()
/external/eigen/Eigen/src/Core/
DConditionEstimator.h22 .select(Vector::Ones(v.size()), v.cwiseQuotient(v_abs)); in run()
31 .select(-Vector::Ones(v.size()), Vector::Ones(v.size()));
75 Vector v = dec.solve(Vector::Ones(n) / Scalar(n));
/external/eigen/doc/snippets/
DMatrixBase_ones.cpp1 cout << Matrix2d::Ones() << endl;
2 cout << 6 * RowVector4i::Ones() << endl;
DMatrixBase_ones_int.cpp1 cout << 6 * RowVectorXi::Ones(4) << endl;
2 cout << VectorXf::Ones(2) << endl;
DMatrixBase_ones_int_int.cpp1 cout << MatrixXi::Ones(2,3) << endl;
DMatrixBase_operatorNorm.cpp1 MatrixXd ones = MatrixXd::Ones(3,3);
DSelfAdjointView_operatorNorm.cpp1 MatrixXd ones = MatrixXd::Ones(3,3);
DMatrixBase_eigenvalues.cpp1 MatrixXd ones = MatrixXd::Ones(3,3);
DEigenSolver_eigenvalues.cpp1 MatrixXd ones = MatrixXd::Ones(3,3);
DComplexEigenSolver_eigenvalues.cpp1 MatrixXcf ones = MatrixXcf::Ones(3,3);
DSelfAdjointEigenSolver_eigenvalues.cpp1 MatrixXd ones = MatrixXd::Ones(3,3);
DSelfAdjointEigenSolver_eigenvectors.cpp1 MatrixXd ones = MatrixXd::Ones(3,3);
/external/eigen/bench/
DbenchmarkXcwise.cpp23 VECTYPE I = VECTYPE::Ones(VECSIZE); in main()
31 m = VECTYPE::Ones(VECSIZE) + 0.00005 * (m.cwise().square() + m/4); in main()
Dbenchmark.cpp24 Matrix<SCALAR,MATSIZE,MATSIZE> I = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones(); in main()
34 m = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones() + 0.00005 * (m + (m*m)); in main()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.initializers.-ones.pbtxt1 path: "tensorflow.initializers.Ones"
3 is_instance: "<class \'tensorflow.python.ops.init_ops_v2.Ones\'>"
Dtensorflow.keras.initializers.-ones.pbtxt1 path: "tensorflow.keras.initializers.Ones"
3 is_instance: "<class \'tensorflow.python.ops.init_ops_v2.Ones\'>"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.initializers.-ones.pbtxt1 path: "tensorflow.keras.initializers.Ones"
3 is_instance: "<class \'tensorflow.python.ops.init_ops.Ones\'>"
/external/tensorflow/tensorflow/python/keras/
Dinitializers.py40 from tensorflow.python.ops.init_ops import Ones
57 from tensorflow.python.ops.init_ops_v2 import Ones as OnesV2
144 one = ones = Ones
Dops.py32 init_ops.Ones)
63 init_ops_v2.Ones)
/external/u-boot/arch/x86/include/asm/acpi/
Dglobutil.asl53 Return (Ones)
63 Return (Ones)
/external/tensorflow/tensorflow/core/kernels/
Dmatrix_solve_ls_op_impl.h114 (Scalar(l2_regularizer) * Matrix::Ones(cols, 1)).asDiagonal(); in ComputeMatrix()
135 (Scalar(l2_regularizer) * Matrix::Ones(rows, 1)).asDiagonal(); in ComputeMatrix()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h499 unsigned Ones = countTrailingOnesSlowCase(); in isMask() local
500 return (numBits == Ones) && in isMask()
501 ((Ones + countLeadingZerosSlowCase()) == BitWidth); in isMask()
510 unsigned Ones = countTrailingOnesSlowCase(); in isMask() local
511 return (Ones > 0) && ((Ones + countLeadingZerosSlowCase()) == BitWidth); in isMask()
519 unsigned Ones = countPopulationSlowCase(); in isShiftedMask() local
521 return (Ones + LeadZ + countTrailingZeros()) == BitWidth; in isShiftedMask()

1234