|
[Date Index]
[Thread Index]
[Author Index]
Fastest way to check inequality
- To: mathgroup at smc.vnet.net
- Subject: [mg91361] Fastest way to check inequality
- From: Ravi Balasubramanian <bravi at cs.washington.edu>
- Date: Mon, 18 Aug 2008 03:36:52 -0400 (EDT)
Hello Math-groupers,
I need to test the inequality
A . x <= 0, where
x is a three-D vector.
A is a 35000x3 matrix.
I need to test this for 20000 points.
So I set this up as follows:
A = RandomReal[{0,1},{35000,3}];
x = RandomReal[{0,1},{20000,3}];
(And @@ NonPositive[constrMat . # ]) & /@ x;
Is this the fastest way?
Ravi
The University of Washington
Seattle, WA
Prev by Date:
Re: Feynman slash notation
Next by Date:
Re: troubling simple integral
Previous by thread:
Re: Incorrect integral in Mathematica
Next by thread:
Re: Fastest way to check inequality
|