In the slow lane, here's a version without @ or &. or even inv .
t=: 'alpha' ; 'bravo' ; 'chuck'
}.@((<' ') ;@,. ]) t
alpha bravo chuck
}: ; t,&.> ' '
alpha bravo chuck
}.(<' ')([:;,.) t
alpha bravo chuck
Linda
-Original Message-
From: programming-boun...@forums
Thanks for your help. I got deoptim to work with my minimization problem.
I run J7 on a Mac.
Are *.dll files supported on a Mac?
Know almost nothing about getting a ddl to work with J.
Thanks again for your help.
On Sat, Sep 8, 2012 at 7:19 AM, Ric Sherlock wrote:
> On Sep 7, 2012 10:28 PM,
The iPhone 4S is faster: 5.6 sec
On Fri, 7 Sep 2012, Joey K Tuttle wrote:
iPhone 4 - 18.2 seconds
iPad 2 - 4.6 seconds
On 2012/09/07 19:48 , bill lam wrote:
I am curious to know what are the timings for iphone and ipad.
It is around 6 to 11 seconds on android depending on CPU.
Срд,
Bravo! You can do
f =: [: }. [: ; <@[ ,. ]
' ' f t
alpha bravo chuck
LF f t
alpha
bravo
chuck
Sent from my iPad
On Sep 8, 2012, at 2:20 AM, "Linda Alvord" wrote:
> In the slow lane, here's a version without @ or &. or even inv .
>
> t=: 'alpha' ; 'bravo' ; 'chuck'
>
> }.@
That's a nice speedup! It will be interesting to try the iPhone 5.
I'm curious if anyone has a timing from a generation 3 iPad, it may well
be faster than my iPad 2.
On 2012/09/08 06:30 , J. Patrick Harrington wrote:
The iPhone 4S is faster: 5.6 sec
On Fri, 7 Sep 2012, Joey K Tuttle wrote:
What I have been asking during past days was about making and solving linear
equation (y = ax) from a data text file. With your help I achieved to make
one equation from the data but there are 49 other equation left which I am
gonna make it somehow automatic. What I read from the data is a matrix
On Sat, Sep 8, 2012 at 3:39 PM, pascha wrote:
> What I have been asking during past days was about making and solving linear
> equation (y = ax) from a data text file. With your help I achieved to make
> one equation from the data but there are 49 other equation left which I am
> gonna make it som
The content of the text is numbers (x y positions). I trimmed all the
unnecessary characters (like , ( ) = etc.) and what I got is a 200 x 50
matrix (or more precisely 200 x 100 because we have x and y). I managed to
get and solve the equation for the 2nd column but I need strategy for other
colum
I'm confused.
In your first message, you said that you are solving y=ax, and that
you had data for y and for a, and that y's shape was 200 while a's
shape was 200 49 (which would suggest that x has shape 49). And I
thought you were asking for help in extracting the data from a textual
format.
In
You might want to go through the linear algebra lab LAPACK in your J
distribution,
or the J lab companion to Schaums "Linrear Algebra" textbook, also in the J
distribution
Have you looked at:
http://www.jsoftware.com/svn/base/trunk/math/matrix/linear.ijs
http://www.jsoftware.com/wsvn/addons/trunk/
The default J installation makes a separate J user folder for 32 and 64
bits. Is there a technical reason for this? I use both bitsyness' for
different reasons and would like to set the same user folder. Is it safe?
--
For informat
Sorry for confusion. The "a" matrix is not what you've described.
I have to solve 49 independent equations
y = a1.x1
y = a2.x2
...
y = a49.x49
"y" in all the equations is fixed which is corresponds to the first column
of data and number of unknowns in "x" depends on the design matrix "a" that
has
Browsing through the Addons folder in jwiki, at those Addons which
consist of collections of associated scripts rather than one
integrated application, I see several pages where the author assumes
you can load a choice of script via a sentence of this form:
load 'category/addon/script'
The aut
From this I'm pretty sure that the problem can be solved without loops
or boxing, but I still have no idea what any of the values
u v y xi a-h
mean, or what their shapes are. Also, the description uses 'row' and
'column' to describes things that seem to be matrices rather than row
and column
My fault again. I had to make difference between y and yi
a-h will be derived in least-square sense, which are the final result. There
are 50 x (a-h) unknowns correspond to each equation.
The structure of actual data is:
u1 v1x1,1 y1,1 ... x1,50 y1,50
u2 v
OK. I will outline a solution that you can fill in
Given the table A:
u1 v1 (x1 y1) ... repeated for many images
0. Create a verb 'solveeqn' that will solve one system, given
x = 200x2 array of u v
y = 2x200 array of x y
1. Create
uv =. 2 {."1 A
xy =. 2 }. |: A
2. Run
_2 uv&sol
No, *.dll files cannot be made to run on the Mac. That is -- not when
it's running MacOS. (But yes -- it's actually possible to get the Mac
running Windows using a product called BootCamp).
The counterpart on the Mac to the dll is called a dylib. People who
ship compatible Mac and Windows versions
So you have moved from J6 on Windows to J7 on Mac?
Looking at the manifest for math/lbfgs it has only been released for
Windows and J6.
http://www.jsoftware.com/wsvn/addons/trunk/math/lbfgs/manifest.ijs
To get it working on Mac (or Linux) the .dylib or .so versions of the
.dll will be required.
I
18 matches
Mail list logo