lua-users home
lua-l archive

Search lua-l

This index contains 143,615 documents and 1,774,615 keywords. Last update on 2023-03-09 .

Query: [How to search]

Display: Description: Sort by:

Results:

References: [ Luis: 514 ] [ Carvalho: 322 ]

Total 256 documents matching your query.

41. RE: statistics in Lua (score: 86)
Author: Khaled Abduljalil <k.abduljalil@...>
Date: Wed, 30 Nov 2011 14:58:09 +0000
Thanks you Luis, that is really useful. Regards You can also try Numeric Lua: https://github.com/carvalho/numlua The "stat" and "rng" modules seem to address your needs (after downloading, check the
42. Re: statistics in Lua (score: 18)
Author: Michal Kottman <k0mpjut0r@...>
Date: Wed, 30 Nov 2011 15:59:36 +0100
You could also try GSL Shell [1], which contains an extensive number of random number generators [2], including the Mersenne Twister. It also contains a number of statistical and other functions, lik
43. Re: statistics in Lua (score: 332)
Author: Luis Carvalho <lexcarvalho@...>
Date: Wed, 30 Nov 2011 09:53:20 -0500
You can also try Numeric Lua: https://github.com/carvalho/numlua The "stat" and "rng" modules seem to address your needs (after downloading, check the documentation in index.html under docs.) Cheers
44. Complex library for LuaJIT (score: 314)
Author: Luis Carvalho <lexcarvalho@...>
Date: Sun, 28 Aug 2011 11:32:31 -0400
Hi, I have implemented a complex library for Numlua using LuaJIT. Since it might be of more general use on its own, I'm sharing it here. All feedback is welcome (especially because I'm not proficient
45. Re: [ANN] Numeric Lua 0.3 (score: 18)
Author: Dirk Laurie <dpl@...>
Date: Sat, 27 Aug 2011 08:36:15 +0200
That does seem to be the way to squeeze out the last possible millilitre of performance. Dirk
46. Re: [ANN] Numeric Lua 0.3 (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Fri, 26 Aug 2011 10:21:54 -0400
Hi Dirk, So my guess was right. :) <snip> No, only once if you install it to a place that is not touched by Ubuntu, like the default /usr/local/atlas. Yes, that's the point from what I gather: GCC us
47. Re: [ANN] Numeric Lua 0.3 (score: 18)
Author: Dirk Laurie <dpl@...>
Date: Fri, 26 Aug 2011 09:16:39 +0200
Ubuntu 11.4, kept up to date by `aptitude safe-upgrade` up to 17 July 2011. libatlas-dev 3.8.3-29 (two other atlas libraries at the same version) $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLEC
48. Re: [ANN] Numeric Lua 0.3 (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Thu, 25 Aug 2011 17:14:43 -0400
Hi Dirk, It's hard to guess without details on your platform and libs, but I think this is most probably a memory alignment issue with ATLAS. Some routines in ATLAS expect 8-byte aligned arrays, whic
49. Re: [ANN] Numeric Lua 0.3 (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Sun, 21 Aug 2011 12:56:30 -0400
Thanks again for the report and the script. Unfortunately, as you noted, it relies on `package.searchpath`. My `numlua` is just an alias to `lua -lluarocks.loader -lnumlua.seeall`. :) Yes, that's st
50. Re: [ANN] Numeric Lua 0.3 (score: 305)
Author: Luis Carvalho <lexcarvalho@...>
Date: Sun, 21 Aug 2011 12:48:26 -0400
<snip> <snip> Thanks for the makefile. Since Lua 5.2 is still in beta, I'm not fully supporting it right now. Actually, I'd rather wait for luarocks to support Lua 5.2. :) LuaHelp should be straightf
51. Re: [ANN] Numeric Lua 0.3 (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Sun, 21 Aug 2011 12:44:16 -0400
<snip> Great, thanks! Sorry, I wasn't clear; I meant compiling luarocks still using Lua 5.1, but specifying --with-lua-include to the dir where Lua 5.2 is installed so that 5.2's lua.h is used to bui
52. Re: [ANN] Numeric Lua 0.3 (score: 35)
Author: Dirk Laurie <dpl@...>
Date: Sun, 21 Aug 2011 16:24:16 +0200
Most of it is very nice. I had great trouble with LuaRocks and could not get LuaHelp to see the NumLua help files, so I wrote the Lua script below, which does not need LuaHelp. The following is not s
53. Re: [ANN] Numeric Lua 0.3 (score: 26)
Author: Dirk Laurie <dpl@...>
Date: Sun, 21 Aug 2011 10:48:06 +0200
I thought of trying to patch luarocks, but found that for numlua a common-or-garden makefile is easier. ~~~~ CC = cc -O2 -fPIC -lfftw3 -lhdf5 -llapack -lblas -shared USR1 = -I/usr/include/lua5.1 -llu
54. Re: [ANN] Numeric Lua 0.3 (score: 18)
Author: Dirk Laurie <dpl@...>
Date: Sun, 21 Aug 2011 08:55:16 +0200
That works. And so does that. Not that simple. luarocks, even luarocks 2.0.5, makes use of setfenv. Dirk
55. Re: [ANN] Numeric Lua 0.3 (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Sat, 20 Aug 2011 17:09:20 -0400
Hi Dirk, Thanks for the report! Are you copying the files according to your package.cpath and package.path? I'd probably try instead: $ sudo cp numlua.so /usr/local/lib/lua/5.1 $ sudo mkdir /usr/loca
56. [ANN] Numeric Lua 0.3 (score: 332)
Author: Luis Carvalho <lexcarvalho@...>
Date: Sat, 20 Aug 2011 14:13:39 -0400
Hi, I'm happy to announce the availability of Numeric Lua 0.3! Straight from the docs: _Numeric Lua_ is a numerical package for the Lua programming language. It includes support for complex numbers,
57. Re: OT(slightly): parser generator for expression with custom operators (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Wed, 29 Jun 2011 16:19:08 -0400
I don't have an operator for it; you have to use ls(a, b) -- least-squares solution -- for 'a \ b'. Cheers, Luis -- Computers are useless. They can only give you answers. -- Pablo Picasso -- Luis Ca
58. Re: OT(slightly): parser generator for expression with custom operators (score: 18)
Author: Dirk Laurie <dpl@...>
Date: Wed, 29 Jun 2011 20:23:21 +0200
What do you define for matrix division, i.e. Matlab backslash? Dirk
59. Re: OT(slightly): parser generator for expression with custom operators (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Wed, 29 Jun 2011 12:43:43 -0400
As an aside, in Numlua I'm defining % for matrix multiplication and * for elementwise matrix multiplication (/ and ^ keep their elementwise counterparts). It'd be nice to have a` for a:transpose(),
60. Re: Lua as (Matlab like) calculator (score: 18)
Author: Dirk Laurie <dpl@...>
Date: Tue, 28 Jun 2011 17:04:55 +0200
http://luaforge.net/projects/numlua/ The latest public version is Numeric Lua 0.2.1, August 18, 2007, but Luis Carvalho has not abandoned the project. D.

Search by Namazu v2.0.21