I get
5#''
(5#'')*/i.5
''*/i.5
NOTE-. blank line
using J802
Don Kelly
On 10/09/2014 4:16 PM, Linda Alvord wrote:
Dan, after your 4 series, I tried this. Also odd:
NB. Begin here
5#''
(5#'
On 10/09/2014 4:43 PM, Don Kelly wrote:
I get
5#''
(5#'')*/i.5
''*/i.5
Apologies for the double spacing in the original reply. hope that this
is better.
Don Kelly
--
For infor
hat J used directly does the job more
easlly-but- the exercise and the result of having an RPN caculator on
hand is worth it.
looking forward with interest
Don Kelly
.
On 12/09/2014 6:17 AM, Kip Murray wrote:
I'm proud of the Reverse Polish Notation calculator shown below (think HP
50g in
Fortunately, the use of "leap" is valid as long as one doesn't go back
past 1901 or ahead past 2099.
1900 and 2100 aren't leap years (Fine tuning of the leap year calculation ).
Don Kelly
On 20/09/2014 10:53 PM, robert therriault wrote:
Hi Linda,
I share your dre
try primelist *,arr*
Don
On 10/10/2014 10:33 PM, Jon Hough wrote:
Using (2 ! >:) is clearly better than doing my double for-loop. I'm embarrassed
I missed that.
The real meat of my confusion with multidimensional arrays is in not just
finding the indices but doing something with the elements
both Ok -prefer the line drawing.
Don Kelly
On 03/11/2014 4:28 PM, Devon McCormick wrote:
Who is able to see the below looking like it ought to (evenly ASCII-boxed,
then line-drawing boxed)?
I highlighted this in Gmail and set the font to Courier New.
('hi';'ho'),(
sion along with Gilman & Rose were very useful in
writing the program
However, while I am sure that the same thing could be done as or more
effectively in J . The only bind would be conversion, if needed, to and
from various spreadsheet or datafile formats in common use..
Don Kelly
On 02/1
ones most dependent on printed
tables in later grades (they had been passed on without actually
learning the fundamentals.
Don Kelly
On 06/01/2015 8:00 AM, Linda Alvord wrote:
Actually I am only trying to show all the facts that a student in Grade 2
should understand and ultimately learn.
I
I tried your g and got a different result than you show
g=: 13 : '>:@i.y'
g
>:@i.
g 4
1 2 3 4
Also- where you get an error
:>:i.4 vs :>i.4
I get a syntax error - I think it is because you have used ' *:***'
incorrectly (see Explicit)
Don Kelly
On 0
ing that works on direct
entry doesn' t work in tacit form (or vice versa)
examples where results correctly follow the rules
mean=: +/ % #
mean i.5
2
+/ % # i.5
0.2
(+/%#)i.5
2
mean2=: 13 : '(+/y)% #y'
mean2
+/ % #
mean2 i.5
2
mean3 =: 13 : '+/ % # y'
mean3
would this be better?
The sentence ' +/y ' takes the sum of y -or " +/y "
might fit more common quote format
The single bracket ( +/y) suits me better than (( +/y))
Don Kelly
On 05/03/2015 4:58 AM, Henry Rich wrote:
(I wasn't suggesting you as a first-time
jqt64
j803/2014-10-19-11:11:11 on win 7 -64bit home premium works for me
Don Kelly
On 11/04/2015 10:54 AM, robert therriault wrote:
So the fix may already be in process.
The versions that I have found with the issue are:
j602/2008-03-03/16:45 which is not surprising since it is not a
he real root first rather than last
As for finding a list of these special numbers-the "stope " function
works well
f=:3^!.1~[:i.]
f 10
0 6 24 60 120 210 336 504 720 990
Don Kelly
On 06/08/2015 1:02 PM, Roger Hui wrote:
g=: = (^&3 - ])@:(3&(>.@%:))
g */"1
correction : 'will be the number of the sequence'
in any case for a special number the real root will be an integer.
On 06/08/2015 4:06 PM, Don Kelly wrote:
also try
0=1|( <1; 2) {>p.|.1 3 2,-]720
1_
0=1|( <1; 2) {>p.|.1 3 2,-]719
0
note that
(<1;2) {>p._y 2 3
case - skim off the complex roots.
Don Kelly
On 08/08/2015 8:39 PM, Don Guinn wrote:
Sorry I'm dense. I understand that. But the first polynomial is not
remotely related to the second other than the gcd of both is x-8. Why?
On Aug 8, 2015 8:08 PM, "'Pascal Jasmin' via Programmi
If you assume the form is ax^2 +bx +c =0 then all you have to do is
check for a=0
0=0{ a b c is true so not quadratic and flag it if true
Don Kelly
On 11/6/2015 3:18 PM, Kip Murray wrote:
Most of us have heard of the quadratic formula
x = ( -b +or- %: (b^2 - 4ac) )/2a (roughly
uad 2 _8 6
┌──┐
│3 1 │
└──┘
quad 1 2 3
┌───┐
│_1j1.41421 _1j_1.41421 │
└───┘
Don Kelly
On 11/11/2015 4:30 PM, Jose Mario Quintana wrote:
It is unfortunate that qr does not produce a solution for the linear case
(when A is 0). However,
qr=. _2 * C % (B + (+
_1r301 _2r91203
_1r181503 0 1r362103
_4r1203 _1r40501
_2r241803 _1r362103 0
Don Kelly
On 11/15/2015 1:05 AM, Linda A Alvord wrote:
How would you
It appears to be this
%~__ (or __%__)
|NaN error
| %~__
__% 1r3 1r6 1r9 1r12
__ __ __ __
works
Don
On 11/16/2015 6:30 AM, Linda A Alvord wrote:
%/~ 1r3%i.5
--
For information about J forums see http://www.jsof
Linda
-Original Message-
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Don Kelly
Sent: Monday, November 16, 2015 12:59 AM
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] Why is subtraction and division of rational
nu
How is this "why" ? it appears that all it does is substitute a number
(in this case 1) rather than have NaN. I can see this as a way to
avoid a NaN error by flagging it without stopping execution.- not as an
explanation for the NaN using __%__
*ff=: % :: 9:*
__ ff __
9
3 ff 2
1.5
a number of operations that generate NaN:
https://en.wikipedia.org/wiki/NaN#Operations_generating_NaN
J treats some of these, but not all, as NaNs.
Henry Rich
On 11/19/2015 1:11 AM, Don Kelly wrote:
How is this "why" ? it appears that all it does is substitute a
number (in this case 1
),_
f=:0:@% ::1:"0/~
[M=:f L
[A=: */~i.5
[GRB=:|.255*1 0 2{"1 #:i.8
[PAL=:GRB,3#0
PAL viewmat A
PAL viewmat (16*f L)>.A
Linda
-Original Message-
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Don Kelly
Sent: Thursda
I came from APL and found that then "one liners" while clever, do not
allow for easy interpretation . This is, while a neat one-liner is not
easy to interpret. even though you have given interpretation of steps.
I look at
*`<`>`<.`>.`<:`>:`#`=`+:`-:`|`|.`+`-.`*:`{`}:`{:`{.`}.`;`,`,.`,:`;:`C.`A
there is nothing wrong with saying something like
plus =: +
conjugate =:+
and knowing that plus is intended to be monadic (although +(real
number) is the real number in either case. If you want one to work as
monadic onlyand the other as dyadic only-then you have to dress them up
a bit with
│
L--
Maybe it is just that the explicit code looks like mathematics. It might be
interesting and useful to hear how programmers and J users read code most
easily.
Linda
-----Original Message-
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] O
how about
ff=: 13 : ' +/*:x,y'
4 ff 5
41
ff
[: +/ [: *: , 2 capped forks
5!:4< 'ff'
*┌─ [: *
**
*├─ / ─── + *
**
*──┤ *
**
*│┌─ [:*
**
*└─┼─ *:*
**
*└─ , *
Don
On 12/4/2015 7:38 AM, Linda A Alvord wrote:
g looks more like forks than f:
f=: 13 :'
5!:4 <'ffp'
┌─ [:
├─ %:
──┤┌─ [:
│├─ / ─── +
└┤
│ ┌─ [:
└─┼─ *:
└─ ,
Linda
-Original Message-
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Don Kelly
Sent: Saturday, December 5, 20
mming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Don Kelly
Sent: Tuesday, December 8, 2015 12:58 AM
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] My first J conjuction
p for Pythagorus theorem?
Don
(apologies for the tree format -I tried
NuVoc
(>0 1 )|: y
Don
On 12/10/2015 12:13 AM, Linda A Alvord wrote:
I'm just getting started on these and here is an elementary school solution.
(I couldn't remember a shortcut to get a diagonal from a square matrix.
f=: 13 :'(*/0 1{(/:y){y)+2*+/+/(=/~i.$y)*1|."1*/~(/:y){y'
Linda
-Origi
ttp://www.jsoftware.com/jwiki/Vocabulary/barco#More_Information
R.E. Boss
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of Don Kelly
Sent: vrijdag 11 december 2015 0:59
To: programm...@jsoftware.com
Subject:
utput. The other version involves about 3 pages of code. I have
partially developed a J version but overall I may not have the skill to
make it more compact than the APL coding.
https://en.wikipedia.org/wiki/Power-flow_study
Don Kelly
On 2/13/2016 8:00 AM, Roger Hui wrote:
If the atoms o
rotheta=:[: +. ([: r. [) * [: +.^:_1 ]
1r2p1 rotheta 3 4
_4 3
1r4p1 rotheta 2 2$ 3 4 _1 1
_0.707107 4.94975
_1.41421 0
2 1$ 1r2p1 1r4p1 rotheta 2 2$ 3 4 _1 1
_4 3
_1.41421 0
It would be simpler to enter positions as complex numbers in the first
place.
(r.1r2p1) * 3j4
_4j3
Don
A question- you give you define the line and the center of rotation but
the results are 3 points on the line. shouldn't the results be shown in
terms of 2 points on the rotated line? While usually the line is
expressed as y=a+bx (a and b real) which is easy if the the rotation
center is on th
directory.
File>open>user and get a normal window folder pane and paste the folders/
files or make new folders as desired.
I have found that when from 803 to 804, for example, this has to be done
with the scripts from 803 as 804 installed independently from 803 .
Don Kelly
On 9/29/2016 7:2
maybe a variant like this- a combination of ideas presented
fibb=:verb define
series=:0 1
while. (y>: # series) do.
series=: series, +/_2{. series
end.
)
Don Kelly
On 2/26/17 11:37 AM, Raul Miller wrote:
Then perhaps something like this:
fib=:verb define
series=. 0 1
nee
I wondered about using ^: but didn't get it to work -I wasn't iterating
a verb string alone.
Good on you
Don
On 3/2/17 11:53 AM, Raul Miller wrote:
These are equivalent:
(,+/ @(_2&{.))^:4(1)
1 1 2 3 5
(,+/ @(_2&{.))(,+/ @(_2&{.))(,+/ @(_2&{.))(,+/ @(_2&{.))(1)
1 1 2 3 5
In other w
problem -so if flip etc are ok move them to a script
-they are done and can be kept. Think of it as an editor as well as a
text file (such a file can be pasted into a script file and run but
pasting directly into the J window won't work- tried that!)
Don Kelly
On 2017-06-08 7:50 AM
Residue
In mathematics, more specifically *complex* analysis, the *residue* is a
*complex number* proportional to the contour integral of a meromorphic
function along a path enclosing one of its singularities. Don Kelly
Residue (complex analysis) - Wikipedia
<https://www.google.ca
of any use-fairly esoteric and not related to the pole
oriented mathematical complex integrals.
http://www.jsoftware.com/papers/eem/complexfloor.htm
Don Kelly
On 2017-06-23 7:06 AM, Louis de Forcrand wrote:
Thanks for the quick answers (and quick bug-fixing for that matter).
Louis
On
j. y behave the same as the r. and j. are verbs acting on
x and y are nouns
but xr.y and xj.y are nouns. There is an inconsistency in this with
respect normal appli cation of 0.n rather than .n
0.2 j. 0.2
0.2j0.2
.2j.2
.2j0.20001
At least that is my take on this.
Don Kelly
Why? Is this accomplishing anything ? Is the value of t changed?
t=:1 2 3
t+3 or 3+t give 4 5 6 but t is not changed
to have a change in t then t=:t+3 works and its meaning is clear.
I would suggest that the value of J (as with APL) is that it is not C
and non-C thinking is a benefit.
Don
ether by counting on 2 fingers very quickly and putting the
result somewhere else").
Often we forget the principal of KISS.
An opinion of an old fart (Electrical Engineering , not Computer Science).
Don Kelly
On 2017-07-05 2:39 PM, Devon McCormick wrote:
I agree with Don's sugges
ppears that it
whereas 'abc' =: i. 3 4 5 gives stores the noun abc as the array but
leaves a, b and c undefined
and 'a b c' =:i.3 4 5 gives 3 (4 by 5 )arrays
Don Kelly
On 2017-07-12 11:08 AM, Jose Mario Quintana wrote:
Maybe I am misunderstanding... Are you trying
NB: I wrote this before looking at the J rosetta code which includes the
generation of the Ybus matrix -
If your object is to find the equivalent (Thevenin) resistance between
any 2 points, I would suggest that it would be better to work with an
admittance model. It eliminates the problem with
13 13 12
Don Kelly
On 2017-08-09 2:21 PM, Skip Cave wrote:
Bo said:
v=(<.v)+(1|v) NB. number = integer part + fractional part? Yes!
True. However, if
]v=:2%(3r19-%1 2 3 245 246 247 248)
_2.375 _5.84615 _11.4 13.0028 13.0014 13 12.9986
And we define the fractional part of v your
I also suggest that you look at references to the use of NR for power
system load flow problems which are non-linear and generally expressed
in terms of complex numbers in the polar format. These do converge
well. I haven't written one in J but one written in APL has 11 readable
lines-most o
g point or integer when pushing the limits-IS IT IMPORTANT IN THE
REAL WORLD unless you have a Cray in the back bedroom?
Old fart expressing opinions
Don Kelly
On 2017-08-10 6:27 PM, Bill wrote:
I suspect J interpreter didn't has the knowledge that the original string had
been 999
rd could hold a 31 bit number while a float with an 8 bit
exponent would hold a 23 bit number
r=:1.0009
r=1
1
r-1
8.88178e_16
r=:1.9
r=1
1
r-1
0
least significant bits lost because there is no room for them. in
99.+ % of cases this is not a problem.
Don
e the
computational fuzz to an insignificant level. The ideal kit for a
student using a hand calculator would be a strip of electrical tape to
cover the extra digits.
Don Kelly
On 2017-08-11 6:33 AM, Don Guinn wrote:
We too often assume that calculations carried out to 16 significant digits
are acc
numbers might result in an overflow or conversion to float with
truncation.
Don Kelly
On 2017-08-12 12:19 PM, 'Bo Jacoby' via Programming wrote:
Don Guinn wrote: "But few things need precision beyond 16 significant digits".
Well, just computing the determinant of a 4*4 matrix
enclosed . Isn't this getting into transfinite math?
What's the point?
Don Kelly
On 2017-08-15 8:23 PM, Jimmy Gauvin wrote:
The construction of the sphere implies it cannot be convex but you will
have to find a topologist to prove it to you.
The sphere is the collection of points whose d
e than what is commonly taught in standard
courses in sophomore linear algebra today. Specifically, basic properties of
the euclidean norm, including the triangle inequality.
On 2Sat, 19 Aug 2017 18:03:49 -0700,Don Kelly mailto:d...@shaw.ca>> wrote:
If one considers a point as infinitesimal
Did anyone try these?
+/2*1+i.21
462
+/2*i.22
462
Don Kelly
On 2017-08-29 6:17 AM, Murray Eisenberg wrote:
The sum in question is twice the sum of the integers from 1 to 21. By the
well-known formula (sometimes attributed to Gauss), the latter sum is half the
product of 21 and 21 + 1
I agree with your opinion of what Skip wrote. looking back to Gauss and
figuring out the symmetry works for both odd and even cases (42 &43 for
example. However in his statement the numbers are 1...21 where the
numbers are 2 to 42 all even numbers- the result is still 21*22 . 42%2
is 21 which
evensum 42 4 does the trick
On 2017-08-30 9:27 PM, Xiao-Yong Jin wrote:
On Aug 30, 2017, at 10:43 PM, Don Kelly wrote:
I agree with your opinion of what Skip wrote. looking back to Gauss and figuring
out the symmetry works for both odd and even cases (42 &43 for example. However
in
)+ (a+2b) etc then this
becomes (a*n) +b*n*(n-1)%2 which can be reduced to
a +1r2*b*]*1+]
Try it
Don
On 2017-08-31 7:39 PM, Don Kelly wrote:
The pairing eliminates the brute force summing of the series. This is
what Gauss found. In the case of only even numbers from 2 to n , this
works. In the
Yet this works
n=:14
(n^2x) |5729082486784839
147
Don Kelly
On 2017-09-07 11:40 AM, Erling Hellenäs wrote:
Hi all !
Case 1:
3!:0 [ (n^2)
8
(n^2) | 5729082486784839
0
It is non-intuitive that an integer raised to an integer is a float,
but I think it is normal. It would be
),
preserves extended and rational
if result is exact
_
Don Kelly
On 2017-09-08 1:36 AM, Raul Miller wrote:
No: integers do not automatically get converted to extended precision.
Integers simply have sufficient precision for this example.
Thanks
provide a result good to 8 or 10 sig figs.
Enough of a rant
Don Kelly
On 2017-09-09 2:34 AM, Raul Miller wrote:
What would it be used for? (Related: how would the exponential aspects
of complex number operations get handled?)
Thanks
I believe that Raul has hit it on the head. 14^2 will be floating as
will generally be the case with % so it is possible that errors add or
subtract to give an erroneous result. Note that
(14^2) (] - [ * [: <. ] % [)5729082486784839x
147
(14^2x) (] - [ * [: <. ] % [)5729082486784839
147
a
nice to come back to a piece of
code written a year earlier and be able to recognize quickly what it
did. In the end- the simpler expression uses the power of J to do it
more neatly and faster Don Kelly
On 2017-09-28 1:02 PM, Xiao-Yong Jin wrote:
On Sep 28, 2017, at 2:45 PM, Erling Hellenäs
2017-09-28 4:41 PM, Erling Hellenäs wrote:
It's not better. Skip asked for a recursive version too so we gave
him one. Very complicated way to write a simple thing. Lol. /Erling
On 2017-09-29 01:24, Don Kelly wrote:
why is this better than the easy to read version that Roger Hui sent?
qu
him one. Very complicated way to write a simple thing. Lol. /Erling
On 2017-09-29 01:24, Don Kelly wrote:
why is this better than the easy to read version that Roger Hui sent?
quote:
+/\4+i.10
4 9 15 22 30 39 49 60 72 85
unquote: This is also the way APL does it Sure it is fun to try
diff
gital expression is limited by machine word limits and data
limits. Machine limits exceed data limits in most cases- -useful where
multiple operations result in digital fuzz that is insignificant
relative to real data fuzz.
Don Kelly
On 2017-10-09 12:29 PM, Raul Miller wrote:
I think this pro
of the script is easy to do. There
are businesses which had in the past used APL and could do the same with J
Yes the above are mathematical applications but are of concern and are
not "puzzles"
Don Kelly
On 2017-10-10 5:09 AM, Rob B wrote:
My many trips around the J home we
dominant*. It is true that compiled C++ lies
behind many of the operations - but J is beyond C++ as much as C++ is
beyond assembly language for programming.
Don Kelly
On 2017-11-28 12:59 PM, Andrew Dabrowski wrote:
As much as I've complained about J in these forums I've been having a
nd complex equations are involved
and need to be solved quickly. Your reference does note the N-R method.
What you have suggested may well be much more useful to Scott.
Don Kelly
On 2017-12-05 4:36 PM, Scott Locklin wrote:
On Dec 04, 2017; 7:37pm Devon McCormick wrote:
I searched the J wiki for
The error doesn't appear in J806 Windows 10/64 bit /amd a10-7800
Don
On 2017-12-16 7:49 PM, bill lam wrote:
On j android, it looks like that
0xn is evaluated as nxn
0x1
2.71828
1x1
2.71828
0x2
14.7781
2x2
14.7781
0x3
60.2566
3x3
60.2566
On Dec 17, 2017 12:33 AM, "Henry
test
--
For information about J forums see http://www.jsoftware.com/forums.htm
I apologize for one of the test messages which was sent because I had
seen no activity on this forum for at least 10 to 15 days and wanted to
check to see if I was, for some reason, not getting messages and would
have to try and fix a problem. test message received -OK.
Don Kelly
On 2018
at the old Greeks had it right- as ships went off
into the distance, they didn't just shrink and remain whole but would
also disappear gradually from the bottom up. What Patrick Harrington
said is at the core of what is actually observed.
Don Kelly
On 2018-02-26 10:10 PM, J. Patrick H
a wider ruler, spanning 90 deg
90 curve (hdip 400e3)
7.17807
I think this makes sense, but I offer no guarantees.
Patrick
On Tue, 27 Feb 2018, Don Kelly wrote:
I agree with the series approach but the final result depends on
division which has limited accuracy. I would suggest using the
foll
practice (the thickness of a
strand of DNA), which is what I wanted to demonstrate. But I find it hard
to accept that it is mathematically zero.
On Wed, Feb 28, 2018 at 4:16 AM, Don Kelly wrote:
If the observer is standing at some point on the surface of the earth.and
is facing in a given direction with
ideal straight ruler. I apologize to all for my mind fart-
whch is always realized a few seconds after hitting send)
don.
On 2018-02-27 10:55 PM, bill lam wrote:
there is diffraction when light travels inside atmosphere.
On Feb 28, 2018 12:16 PM, "Don Kelly" wrote:
If the o
l ruler can be overcome by moving the eye
ever closer. Yes I agree the drop-away is minute in practice (the thickness
of a strand of DNA), which is what I wanted to demonstrate. But I find it
hard to accept that it is mathematically zero.
On Wed, Feb 28, 2018 at 4:16 AM, Don Kelly wrote:
If the
I finally got down to analyzing this rather than making guesses. I find
that the problem involves 2 dimensional geometry where the only thing
that changes when looking at the center of the "ruler" vs the end of the
ruler is the horizontal distance to the ruler. No spherical trig and use
of sim
If the original list is floating point as indicated- then intolerant
comparison may not be possible. If there are true integers (e.g 2 vs
2.0.) does the square/square root operation differentiate in a
mixed floating point and integer vector?. I note that Skip's 'a' vector
is a vector
applied to these problems in the 1960's - a time when
many numerical analysts didn't think there was a need to deal with
anything near as many variables.
I recall showing my youngest son this when he first encountered square
roots.
Don Kelly
On 2018-11-01 12:53 PM, Jimmy Gauvin wrot
No problems with plot on win 10/64 AMDA10-7800 (avx) Asus mother
board-regular relatively cheap computer. As a side note the time for
inverting a 100x100 matrix is a lot faster in 807 than 806
Don Kelly
On 2019-01-17 11:10 a.m., Eric Iverson wrote:
Could be a nonavx error. Isolating the
That would be wonderful!!!
Don Kelly
On 14/01/2014 6:50 PM, Pascal Jasmin wrote:
actually a documentation effort on the z profile names would be quite helpful.
From: Don Guinn
To: Programming forum
Sent: Tuesday, January 14, 2014 4:15:08 PM
Subject: Re
x27;t found it.
Don Kelly
On 15/01/2014 1:43 PM, Ian Clark wrote:
@jasmine - it's hard to know how to do better than
edit 'stdlib'
or for a particular verb:
edit 'splitstring'
because the scripts are well-commented. And they have the vast advantage of
keep
what works ---Immediately!!
Don Kelly
I went googling for some deeper material on how to think like an APL
programmer. I have read/skimmed through a good set of the material on
http://jsoftware.com/papers/ and have skimmed through many of the
books listed on http://www.jsoftware.com/jwiki/Books.
Are
; try using the
hook ([ sminfo)
Ср, 15 янв 2014, Don Kelly писал(а):
This looks great -in that the listings do describe things fairly well
as most are simple and useful. However
in some cases things are still unclear.
an example is sminfo
It appears that it simply shows a result in a separate box
preserve the "result" try using the
hook ([ sminfo)
Ср, 15 янв 2014, Don Kelly писал(а):
This looks great -in that the listings do describe things fairly well
as most are simple and useful. However
in some cases things are still unclear.
an example is sminfo
It appears that it simp
possibly something simpler to start. The square root by Newton's method
is good and another is finding the root mean square
as discussed in this forum in the past. One can't hit those that are
unfamiliar with J with a long line of pure tacit code.
initially one could define
root=:%:
square=:*
own tail then
what good is it?
Don Kelly
On 20/01/2014 10:31 AM, Devon McCormick wrote:
This is a good point and it's been brought up before. I define
q=: 2!:55
and enter
q''
to exit J but it's not standard. We should probably make "exit" more
accessi
worked on this.
I also am very appreciative of the support and guidance given on
"programm...@software.com" .
Thank you all.
Don Kelly
On 20/01/2014 12:22 PM, Joe Bogner wrote:
On Mon, Jan 20, 2014 at 10:47 AM, Ian Clark wrote:
But I think that's advanced information fo
e2=:>1 2 3;4 5 6;7 8 9
1 2 3
4 5 6
7 8 9
+/"1 file2
6 15 24
+/|: file2
6 15 24
Don Kelly
On 14/02/2014 6:51 PM, Lee Fallat wrote:
Hey there,
As new user to J (but several years experience with C and Java), I
find it very, very interesting. The power of its one liners and
mathe
I installed alongside J6 and there was no problem. I just moved some of
my own scripts over and am rolling.
(win 7 64bit)
Don
On 14/02/2014 6:17 AM, km wrote:
I have installed J801 and modified my j701jhs icon so it calls up JHS801.
Evidence
J Http Server
i.2
0 1
Updating server catalog..
of speech but I may go back to simple black on a lightly colored
background.
Don Kelly
On 17/02/2014 7:02 PM, Michal Wallace wrote:
Awesome. Thanks, Chris.
That worked for the session window, but how about the editor?
The comment at the top of the config file says:
# Make changes in the same
I set up a HOME directory and had problems so I re-installed -letting
the installer do its bit and it automatically put me into
c:/users/don/j64-801 which it apparently assumed was "HOME" even
though I still had a HOME directory.
and have had no problem with the editor .
Don Ke
02 and find the jump to 801 much more satisfactory than
previous attempts to use 701
So far 801 looks very good.
Don Kelly
On 24/02/2014 6:36 PM, bill lam wrote:
jqt has been updated to 1.0.24 and qt addon to 1.0.143, these
two versions must be used together. install'jqt' inside
jco
l be complaints about the "queer characters"
just as happened with APL -before even trying it.
Don Kelly
On 24/02/2014 8:13 PM, bill lam wrote:
If internal representation is only visible in 5!:x conjunction,
perhaps we can keep original 5!:x that print ascii and add some
new 5!:(10+x) t
Not that I know of - but if it takes 2 keys to produce the mathematical
divide and 2 to produce the box and one to overstrike
what is the gain?
Don.
On 26/02/2014 12:09 PM, Jim Russell wrote:
Has modern technology eliminated over strikes?
On Feb 26, 2014, at 2:52 PM, Don Kelly wrote:
(*=) doesn't work if items are repeated
(*=) 2 1 3 6
2 0 0 0
0 1 0 0
0 0 3 0
0 0 0 6OK
(*=) 2 1 3 1
|length error
| (*=)2 1 3 1 Fail
(*=@\:)2 1 3 1
2 0 0 0
0 1 0 0
0 0 3 0
0 0 0 1 OK
Don Kelly
On 26/02/2014 10:36 PM, Michal Wallace wrote:
different To me
C++ is oriented towards detailed instructions for the compiler (much of
this is done by the interpreter in J or APL) The problem comes first
in J and more times than not - use of arrays can eliminate a lot of if's
and loops.
Don Kelly
On 03/03/2014 8:30 AM,
from
C/C++/Java to J than from APL to J - the thinking is different To me
C++ is oriented towards detailed instructions for the compiler (much of
this is done by the interpreter in J or APL) The problem comes first
in J and more times than not - use of arrays can eliminate a lot of if's
an
t as fast to store to a
named location rather than to some temporary storage?
Space differences seem small.
Don Kelly
On 05/03/2014 12:11 PM, Joe Bogner wrote:
Yes, the grade is done regardless. Here's my reasoning: In the
incumbent version, s is taken from the grade with from { which is
s
On Wed, Mar 5, 2014 at 4:32 PM, Don Kelly wrote:
Why is it necessary to have 'g'
repeating the process on my machine which is obviously slower gives an
insignifcant time difference.
20 timer 's=:/:~x [ /:x'
0.172937
20 timer 's=:/:~x [ g=:/:x'
0.173672
Is
1 - 100 of 232 matches
Mail list logo