/dports/math/pari/pari-2.13.3/src/functions/linear_algebra/ |
H A D | vecprod | 1 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 D | LinOpOperations.cpp | 356 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 D | cvxcore.cpp | 98 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 D | Utils.hpp | 35 int vecprod(const std::vector<int> &vec);
|
H A D | Utils.cpp | 6 int vecprod(const std::vector<int> &vec) { in vecprod() function
|
/dports/math/p5-Math-Prime-Util/Math-Prime-Util-0.73/t/ |
H A D | 26-vec.t | 120 is( vecprod(@vals), $exp, "vecprod(@vals) = $exp" ); 126 push @prod, vecprod(1 .. $f);
|
H A D | 51-randfactor.t | 21 is( vecprod(@$factors), $n, "product of factors = n");
|
H A D | 80-pp.t | 341 *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 D | intersection_types.cc | 59 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 D | polygon_imp.cc | 816 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 D | test_lin_alg.h | 29 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 D | elltamagawa | 16 ? vecprod(%) \\ since e.disc > 0 the factor at infinity is 2
|
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/tools/ |
H A D | trajana.f90 | 434 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 D | trajana.f90 | 434 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 D | coatesid.red | 31 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 D | 23-gcd.t | 220 is( vecprod(@vals), $exp, "vecprod(@vals) = $exp" );
|
/dports/math/pari/pari-2.13.3/src/test/in/ |
H A D | mat | 119 vecprod([]) 120 vecprod([1,2,3])
|
H A D | nf | 40 sqrtint(abs(D / vecprod([p^valuation(D,p) | p <-P])))
|
H A D | bnrclassfield | 86 do(y,[vecprod(primes(8)),[1]],2,1)
|
/dports/math/p5-Math-VecStat/Math-VecStat-0.08/ |
H A D | VecStat.pm | 63 sub vecprod { subroutine
|
/dports/math/pari/pari-2.13.3/src/functions/number_fields/ |
H A D | nfdisc | 39 sign(D) * vecprod([p^valuation(D,p) | p <-P]);
|
H A D | nfbasis | 83 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 D | VecStat.t | 9 convolute vecprod
|
/dports/math/p5-Math-Prime-Util/Math-Prime-Util-0.73/lib/Math/Prime/ |
H A D | Util.pm | 805 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 D | PPFE.pm | 619 sub vecprod { subroutine 622 return Math::Prime::Util::PP::vecprod(@v);
|