Displaying 3 results from an estimated 3 matches for "float_".
Did you mean:
float
2007 Jul 02
0
relocation error in grDevices.so
...alled the
contributed quadprog library. I ran this simple solver example using
Python+rpy which works (well, except for some R error I haven't
figured out yet) in the old installation:
import numpy
import rpy
rpy.r("library(quadprog)")
Dmat = numpy.identity(3, numpy.float_)
print Dmat
rpy.r.assign("Dmat", Dmat)
dvec = numpy.array([0,5,0], numpy.float_)
print dvec
rpy.r.assign("dvec", dvec)
Amat = numpy.array([[-4,-3,0], [2,1,0], [0,-2,1]], numpy.float_)
print Amat
rpy.r.assign("Amat", Amat.transpose())...
2009 Aug 24
0
[LLVMdev] Regular Expression lib support
...spirit::qi: // This will be the fastest, quite literally no other
parser has got close to the execution speed that this one can parse at
for anything like this, and it is easy to write!
bool parse_test(std::string &testStr, myPair &ret)
{
return parse(testStr.begin(),testStr.end(),
float_ >> '|' >> int_%','
ret);
}
And as stated, the spirit version will execute faster, is very easy to
write, is very readable, and has adapters so it can stuff into
everything from any stl container (or anything that supports insert or
push_back for containers) or any g...
2009 Aug 24
2
[LLVMdev] Regular Expression lib support
On Aug 23, 2009, at 5:50 PM, OvermindDL1 wrote:
> On Sun, Aug 23, 2009 at 6:32 PM, Daniel Dunbar<daniel at zuster.org>
> wrote:
>> This is too heavy, and we don't need the extra features, and regexec
>> is well tested and much more standard. Unless there is an
>> overwhelming
>
> 'regexec' I had never heard of, figured it was a library, turns