Home
last modified time | relevance | path

Searched refs:vecprod (Results 1 – 25 of 46) sorted by relevance

12

/dports/math/pari/pari-2.13.3/src/functions/linear_algebra/
H A Dvecprod1 Function: vecprod
3 C-Name: vecprod
5 Help: vecprod(v): return the product of the components of the vector v.
9 ? vecprod([1,2,3])
11 ? vecprod([])
/dports/math/py-cvxpy/cvxpy-1.1.17/cvxpy/cvxcore/src/
H A DLinOpOperations.cpp356 tripletList.reserve(vecprod(arg.get_shape())); in get_vstack_mat()
378 Matrix coeff(vecprod(lin.get_shape()), vecprod(arg.get_shape())); in get_vstack_mat()
395 tripletList.reserve(vecprod(lin.get_shape())); in get_hstack_mat()
414 Matrix coeff(vecprod(lin.get_shape()), vecprod(arg.get_shape())); in get_hstack_mat()
634 Matrix coeffs(vecprod(lin.get_shape()), in get_index_mat()
921 int num_entries = vecprod(lin.get_shape()); in get_promote_mat()
939 int n = vecprod(lin.get_shape()); in get_reshape_mat()
982 int n = vecprod(lin.get_shape()); in get_neg_mat()
1024 int size = vecprod(lin.get_args()[0]->get_shape()); in get_sum_entries_mat()
1039 int n = vecprod(lin.get_shape()); in get_sum_coefficients()
[all …]
H A Dcvxcore.cpp98 result += vecprod(constraints[i]->get_shape()); in get_total_constraint_length()
120 offset_end = offset_start + vecprod(constr.get_shape()); in get_total_constraint_length()
171 vert_offset += vecprod(constraint->get_shape()); in build_matrix()
H A DUtils.hpp35 int vecprod(const std::vector<int> &vec);
H A DUtils.cpp6 int vecprod(const std::vector<int> &vec) { in vecprod() function
/dports/math/p5-Math-Prime-Util/Math-Prime-Util-0.73/t/
H A D26-vec.t120 is( vecprod(@vals), $exp, "vecprod(@vals) = $exp" );
126 push @prod, vecprod(1 .. $f);
H A D51-randfactor.t21 is( vecprod(@$factors), $n, "product of factors = n");
H A D80-pp.t341 *vecprod = \&Math::Prime::Util::PP::vecprod;
790 is(vecprod(15, 30, 45), 20250, "vecprod(15,30,45)");
791 …is(vecprod(4294966296,4294965296,4294964296), "79228051833847139970490254336", "vecprod(2^32-1000,…
/dports/math/kig/kig-21.12.3/objects/
H A Dintersection_types.cc59 const double vecprod = degline.dir().y * line.dir().x - degline.dir().x * line.dir().y; in calc() local
65 if (side*vecprod < 0) in calc()
534 const double vecprod = degline.dir().y * line.dir().x - degline.dir().x * line.dir().y; in calc() local
535 if (side*vecprod > 0) in calc()
608 const double vecprod = degline.dir().y * line.dir().x - degline.dir().x * line.dir().y; in calc() local
614 if (side*vecprod < 0) in calc()
H A Dpolygon_imp.cc816 double vecprod = side.x*prevside.y - side.y*prevside.x; in windingNumber() local
817 int steeringdir = ( vecprod > 0 ) ? 1 : -1; in windingNumber()
818 if ( vecprod == 0.0 || side.y*prevside.y > 0 ) in windingNumber()
893 double vecprod = side.x*prevside.y - side.y*prevside.x; in isMonotoneSteering() local
894 int steeringdir = ( vecprod > 0 ) ? 1 : -1; in isMonotoneSteering()
895 if ( vecprod == 0.0 ) in isMonotoneSteering()
/dports/math/osqp/osqp-0.6.2/tests/lin_alg/
H A Dtest_lin_alg.h29 c_float norm_inf, vecprod; // normInf; in test_vec_operations() local
73 vecprod = vec_prod(data->test_vec_ops_v1, in test_vec_operations()
77 c_absval(vecprod - data->test_vec_ops_vec_prod) < TESTS_TOL); in test_vec_operations()
/dports/math/pari/pari-2.13.3/src/functions/elliptic_curves/
H A Delltamagawa16 ? vecprod(%) \\ since e.disc > 0 the factor at infinity is 2
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/tools/
H A Dtrajana.f90434 CALL vecprod(dummyvec(1,1),dummyvec(1,2),dummyvec(1,5))
445 CALL vecprod(dummyvec(1,3),dummyvec(1,4),dummyvec(1,6))
453 CALL vecprod(dummyvec(1,5),dummyvec(1,6),dummyvec(1,7))
1065 SUBROUTINE vecprod(vec1,vec2,vec3) subroutine
/dports/science/cp2k-data/cp2k-7.1.0/tools/
H A Dtrajana.f90434 CALL vecprod(dummyvec(1,1),dummyvec(1,2),dummyvec(1,5))
445 CALL vecprod(dummyvec(1,3),dummyvec(1,4),dummyvec(1,6))
453 CALL vecprod(dummyvec(1,5),dummyvec(1,6),dummyvec(1,7))
1065 SUBROUTINE vecprod(vec1,vec2,vec3) subroutine
/dports/math/reduce/Reduce-svn5758-src/packages/algint/
H A Dcoatesid.red31 exports coatessolve,vecprod,coates!-lineq;
58 n:=removecmsq vecprod(n,basis);
172 symbolic procedure vecprod(u,v);
194 goto vecprod >>;
206 vecprod:
/dports/math/p5-Math-Prime-Util-GMP/Math-Prime-Util-GMP-0.52/t/
H A D23-gcd.t220 is( vecprod(@vals), $exp, "vecprod(@vals) = $exp" );
/dports/math/pari/pari-2.13.3/src/test/in/
H A Dmat119 vecprod([])
120 vecprod([1,2,3])
H A Dnf40 sqrtint(abs(D / vecprod([p^valuation(D,p) | p <-P])))
H A Dbnrclassfield86 do(y,[vecprod(primes(8)),[1]],2,1)
/dports/math/p5-Math-VecStat/Math-VecStat-0.08/
H A DVecStat.pm63 sub vecprod { subroutine
/dports/math/pari/pari-2.13.3/src/functions/number_fields/
H A Dnfdisc39 sign(D) * vecprod([p^valuation(D,p) | p <-P]);
H A Dnfbasis83 nfbasisindex(T, B) = vecprod([denominator(pollead(Q)) | Q <- B]);
94 ? dK = sign(D) * vecprod([p^valuation(D,p) | p<-P]);
/dports/math/p5-Math-VecStat/Math-VecStat-0.08/t/
H A DVecStat.t9 convolute vecprod
/dports/math/p5-Math-Prime-Util/Math-Prime-Util-0.73/lib/Math/Prime/
H A DUtil.pm805 is_prime( vecsum( vecprod($a,$a), vecprod($b,$b) ) );
/dports/math/p5-Math-Prime-Util/Math-Prime-Util-0.73/lib/Math/Prime/Util/
H A DPPFE.pm619 sub vecprod { subroutine
622 return Math::Prime::Util::PP::vecprod(@v);

12