/j64-807
Contact: www.jsoftware.com
f=: 5&^ - 7&*
f d.1 (0)
_5.39056
(5&^ - 7&*)d.1(0)
_5.39056
g=: f d.1
g 0
_5.39056
f=: 1 2 1&p.
g 0
2
I hope this made sense,
--
Raul
On Sat, Jul 22, 2023 at 6:27 AM 'Bo Jacoby' via Programming
wrote:
>
>
>
&
Hello friends. A question.
f NB. some function
5&^ - 7&*
f d. 1 NB. why doesn't this differentiation work?
f d.1
(5&^ - 7&*) d. 1 NB. this works!
1.6094379124341003&*@(5&^) - 7"0
JVERSION
Engine: j807/j32/windows
Release-d: commercial/2019-03-18T13:09:48
Library: 8.07.26
See https://en.wikipedia.org/wiki/Automated_machine_learning
Good luck!
Bo.
Den onsdag den 5. april 2023 kl. 12.44.56 CEST skrev Elijah Stone
:
I know not the first thing about linear programming or numerical optimisation,
but I have a problem which I think is related; can anyone point
Michael's trick
plot|:^@-@-:@*:"0 D.(i.3)10%~50-~i.101 NB. replace ^&2 by *: (!)
works nicely!
I don't know why.
My version is: Engine j807/j32/windows.
Thank you very much!
Bo.
- Videresendt meddelelse - Fra: 'Michael Day' via Programming
Til: "programm...@jsoftware.co
plot|:^@-@-:@^&2"0 D.(i.3)10%~50-~i.101
NB. The blue curve is the bell curve. Mean value = 50. Standard deviation =
10NB. The read curve is the derivative of the blue curve. It crosses Y=0 at
X=50NB. The green curve is the derivative of the red curve. It crosses Y=0 at
X=50-10 and X=50+10
N
Ric wrote: "I thought I'd share in case anyone has any thoughts, suggestions or
wants to help take the idea further."
This link has thoughts and suggestions.
https://www.academia.edu/10031088/ORDINAL_FRACTIONS_the_algebra_of_data
Thanks!
Bo.
Den søndag den 13. februar 2022 14.49.06 CET skrev
(/: %) is WOW!
Den lørdag den 23. oktober 2021 09.11.23 CEST skrev Henry Rich
:
Yes, I thought the spec was for ints.
Henry Rich
On 10/22/2021 6:54 PM, Elijah Stone wrote:
> On Fri, 22 Oct 2021, Henry Rich wrote:
>
>> I admit that (/: %) is pretty cute, but the % function takes lots
Welcome Joseph!
Being an old programmer I became fascinated by J.
There is a lot to learn, but some of it is unnecessary to the beginner.
The 3 operations, addition (+), multiplication (*), and exponentiation (^), are
sufficient for many computations. Having sign change (-) you do not need
subt
2 4 3 2
2 3 T"0 1 n
1.92857 1.92857
Or:
T=:E@Bv@|:@S"0 1
2 3 T n
1.92857 1.92857
Understanding the rank conjunction is important when understanding and
working with J.
I hope this helps,
--
Raul
On Tue, Aug 3, 2021 at 4:02 PM 'Bo Jacoby' via Programming
wrote:
>
71034 2.873121e8
> ts'3 Smpscomb 20'
> 0.0001229 66976
> 3 (Smps -: Smpscomb) 20
> 1
>
> The sort adds a little time and space; it is only necessary if you require
> the same ordering as your original example.
>
> Cheers,
>
> Mike
>
>
h=: ((= +/"1) # ]) ([: #: [: i. 2&^)
3 (0 -.@:e. (Smps -: h)&>) #\i.9 NB. a test
1
And Raul already arrived here. Can we further eliminate ]same?
Date: Sat, 31 Jul 2021 15:52:03 + (UTC)
From: "'Bo Jacoby' via Programming"
To: Programming Forum
S
>> wrote:
>>
>> You can use “13 : ‘…’” construct to get tacit verb.
>>
>> On Sat 31. Jul 2021 at 18:00, 'Pascal Jasmin' via Programming <
>> programm...@jsoftware.com> wrote:
>>
>>> 2 ([ (] #~ [ = +/"1@:]) f@]) 6
>>>
>>&
’” construct to get tacit verb.
On Sat 31. Jul 2021 at 18:00, 'Pascal Jasmin' via Programming <
programm...@jsoftware.com> wrote:
> 2 ([ (] #~ [ = +/"1@:]) f@]) 6
>
>
>
>
>
>
> On Saturday, July 31, 2021, 11:52:10 a.m. EDT, 'Bo Jacoby' via Pro
Consider this code
f=.#&2#:[:i.2&^ NB. 0-1 rows
Smps=. 4 : '(#~x=+/"1)f y' NB. select rows
2 Smps 6 NB. for example
0 0 0 0 1 1
0 0 0 1 0 1
0 0 0 1 1 0
0 0 1 0 0 1
0 0 1 0 1 0
0 0 1 1 0 0
0 1 0 0 0 1
0 1 0 0 1 0
0 1 0 1 0 0
0 1 1 0 0 0
1 0 0 0 0 1
1 0 0 0 1 0
1 0 0 1 0 0
tv=. 123334 122344 121212 111222 112122 555432
,+./"2]1=($&~.)"1(0 1 2,1 2 3,2 3 4,:3 4 5){"2 1(6#10)#:tv
1 0 0 1 0 1
Den søndag den 4. juli 2021 01.59.28 CEST skrev Julian Fondren
:
On Saturday, July 3rd, 2021 at 6:50 PM, Julian Fondren
wrote:
> That takes about 80x
mr Bernardi. I did not know of the problem. I now copied to dropbox. Tell me if
it works or not.
Thanks!
Bo.
https://www.dropbox.com/s/xmll8jvqk3ch8m1/ORDINAL_FRACTIONS_the_algebra_of_data.pdf?dl=0
--
For information about J f
I do agree with Raul that arrays represented mathematically can be infinite,
and that machines are finite.
Ordinal fractions are represented finitely. ELEMENTS are unreachable, just as
most REAL NUMBERS are unreachable mathematically.
I also agree with Hauke that I am without modesty, being c
Thank you for the podcast. I listened with pleasure. I worked with APL forty
years ago, and with J for about twenty years. I love arrays, but I love ordinal
fractions even more. Any array can be modelled by ordinal fractions, but not
the other way around. So ordinal fractions are more general th
NB. Interpolation. No extrapolation.
X=. 0 5 6 26
X0=.}:X
X1=.}.X
Y=. 10 _10 80 100
Y0=.}:Y
Y1=.}.Y
H=.(Y1-Y0)%(X1-X0)
f=. 3 : '+/(X0<:/y)*(X1>/y)*Y0+H*X0-~/y'
f 0 5 10 15 20 25
10 _10 84 89 94 99
--
For information abo
not always correct and I
find that in going from explicit to tacit manually, I learn a lot more about
the structure of the verb than if I just apply 13 :
Cheers, bob
> On Mar 14, 2021, at 11:11, 'Bo Jacoby' via Programming
> wrote:
>
> f=. 4 :
f=. 4 : '(i^-x)*y!i=.i.9' NB. some program
g=. 13 : '(i^-x)*y!i=.i.9' NB. The tacit version of f
g
(i.9) (^ * !~) [: - [
6 f 4 NB. right
0 0 0 0 0.000244141 0.00032 0.000321502 0.000297495 0.000267029
6 g 4 NB. wrong
0 0 0 0 0 0 0 0 0
Thanks!
Bo.
Shouldn't the monadic
stddev 1 1 0 0 4 1 2 1 0 # 2 3 5 7 11 13 17 19 23
5.60258
equal the dyadic
1 1 0 0 4 1 2 1 0 stddev 2 3 5 7 11 13 17 19 23
5.82237
?
Den lørdag den 27. februar 2021 14.12.10 CET skrev Ric Sherlock
:
Any objections to redefining mean, dev, ssdev, var, st
Loopless code?
I struggled in vain to make this program loopless.
En=: 4 : 0 NB. tombola summary program
y=.x*(+/%#)(,y)^/1+i.x
e=.1
for_i. 1+i.x do.
e=.e,~i%~+/(_1^i.i)*e*i{.y
end.
_1&x:|.->{:p. e
)
5j2":b=.4 En a=.?1000$0 NB. summary of 1000 numbers
0.12 0.44 0.57 0.89
1 En a NB.
For summarizing a data set use
En=: 4 : 0 NB. tombola-resume
y=.x*(+/%#)(,y)^/1+i.x
e=.1
for_i. 1+i.x do.
e=.e,~i%~+/(_1^i.i)*e*i{.y
end.
_1&x:|.->{:p. e
)
The function 1&En is the mean value.
2&En is the mean value plus or minus the standard deviation.
3&En is 3 numbers summarizing the da
Thank you all for the comments!
Raul wrote: "A cost, though, of that kind of approach, is that it would lure us
into a false sense of security, leaving us even more upset in other
circumstances."
Which circumstances are you thinking of?
The rounding to zero is beneficial in all the cases mention
When working with complex number computations some result, (a j. b) may satisfy
the equation (a=a+b) within tolerance. In that case it is reasonable to write
(b=0), even if the imaginary part b is not exactly equal to zero.
I wrote program f0 such that
f0 0.210224j2.92605e_98 _7.31512e_99
7;aspect 1'
plot 0.5*_1^3%~i.7" looks.
Thanks everyone,
Devon
On Mon, Feb 8, 2021 at 8:53 AM 'Bo Jacoby' via Programming <
programm...@jsoftware.com> wrote:
> 'aspect 1'plot _1^3%~i.7
>
>
> Den mandag den 8. februar 2021 07.22.39 CET skrev Hau
'aspect 1'plot _1^3%~i.7
Den mandag den 8. februar 2021 07.22.39 CET skrev Hauke Rehr
:
The picture is Very Wrong™ (but the area formula is correct)
The lengths of the not-horizontal lines are interchanged.
And it looks distorted but that’s not too bad.
And then it should be r =. side
rams that can be used for data structured like
CREDO and may easily be adapted.
Now that’s it. R.E. is right. I put too much effort into this.
Let’s end this thread here (or at least its OF spin-off).
Am 10.01.21 um 17:09 schrieb 'Bo Jacoby' via Programming:
> We are not limited to 9 l
Dear friends.
I sincerely apologize to Hauke for wrongly accusing him for improving before
understanding. Talking about Aleph triggered me.
The ordinal fraction file is not merely a tree. To the branch 13500 is attached
a two times two matrix with rows 13510 ADORATUR and 13520 GLORIFICATUR and
a is to be stored
> in “leaf” nodes only. I guess this would be the easiest
> and most easily manageable – also in terms of maintenance –
> approach.
>
>
> Hauke
>
>
>
> Am 09.01.21 um 07:50 schrieb Justin Paston-Cooper:
> > On Sat, 9 Jan 2021 at 00:13, 'Bo Jac
xplicit tables (sets of columns), then
this could happen in a separate schema table. What are your thoughts?
5. This doesn't fully solve the issue of coordinating the updating of
all resources and the dependencies between them for updating. I guess
Make would help.
6. I wonder how Jd could cont
"I am looking for a way to better organise my research. If not
spreadsheets, do you have some advice on how to coordinate all this
separate data in one place?"
I have used ordinal fractions for structuring data since 1980. ORDINAL
FRACTIONS - the algebra of data
|
|
|
| | |
|
|
|
| |
(,._1 ^ +:)%1+i.8
1 1
0.5 _1
0.33 _0.5j0.866025
0.25 0j1
0.2 0.309017j0.951057
0.17 0.5j0.866025
0.142857 0.62349j0.781831
0.125 0.707107j0.707107
Den lørdag den 19. december 2020 09.35.10 CET skrev Ben Gorte
:
I'm afraid I cannot fully satisfy your curio
in my attempt at analysing the process, misinterpreting (}. % {. as (}.
% }:) ) .
Apologies for both...
Mike
On 27/08/2020 08:02, 'Bo Jacoby' via Programming wrote:
> Mike wrote: "I don't like losing the last element of s - we're just
>wastingthat calculation.&q
Mike wrote: "I don't like losing the last element of s - we're just
wastingthat calculation."
The last element of vector s does not enter into the matrix m, but (%.m)s needs
the last element of s.
Thanks!
Bo
Den tirsdag den 25. august 2020 04.07.55 CEST skrev 'Bo
0 x^m + b1 x^(m-1) + ... + bm = 0 (I think)
Why? I don't see a direct relation to Newton interpolation (say),
though there
are some similarities. Can you provide a reference for your generalised
statistics?
Thanks,
Mike
On 23/08/2020 15:58, 'Bo Jacoby' via Programming wrot
; Generalized how?
> >
> > Specifically, how should I judge correctness?
> >
> > (+/%#)0 1 2 3 4 5 6 7 8 9 10 20 20 20 20 20
> > 9.6875
> > (+/%#)1.9 7.4 19.7
> > 9.7
> >
> > Thanks,
> >
> > --
> > Raul
> >
> > On Sa
meaningful to add right now -- I am not even
sure if I can form a relevant question. Maybe if I spend a half hour a
day on this for long enough, I'll be able to come back to it
intelligently.
Until then, good luck.
--
Raul
On Sat, Aug 22, 2020 at 11:20 AM 'Bo Jacoby' via Programm
ces designed for
inversion and polynomial fitting, but that doesn't tell me much (if
anything) about your destination.
Good luck,
--
Raul
On Sat, Aug 22, 2020 at 5:35 AM 'Bo Jacoby' via Programming
wrote:
>
> Thanks to Michael and to ethiejiesa!
> The program is n
play ?) errors:
pol =. _1 [space] x: ...
hp =. x [space] :: ] ...
Cheers,
Mike
On 21/08/2020 15:41, 'Bo Jacoby' via Programming wrote:
>
> tomb=.(^/i.@>:)~ NB. tombola lottery powers
> hist=.({."1~>:)~(*[:^/~i.@#@,)NB. histogram powers
> s=.(*#)@ (}.%{.) @
:@f4@(f3"1@f2@|:@f1) NB. matrix
e=.1,(%.m) NB. solve linear equations
pol=._1x: -@|.@>@{:@p.@|. NB.solve alg.eqn.
hp=.x::: ] NB. high precision
summary=.pol@e@s@hp f. NB. complete program
sorry for the still missing carriage returns.
Den fredag den 21. august 2020 16.37.19 CEST skrev Bo
@(f3"1@f2@|:@f1) NB.
matrixe=.1,(%.m) NB. solve linear equationspol=._1x: -@|.@>@{:@p.@|. NB.solve
alg.eqn.hp=.x::: ] NB. high precisionsummary=.pol@e@s@hp f. NB. complete program
This should be better. Sorry.
Bo.Den fredag den 21. august 2020 16.29.35 CEST skrev 'Bo Jacoby'
33.50 CEST skrev ethiejiesa via
Programming :
Bo Jacoby wrote:
> How to de-smell this:
> 3([* i.@#@,@[ ^/ i.@>:@])~ 0 0 1 1 1
3 (]* ((^/&i. >:)~ #)) 0 0 1 1 1
Maybe? That comes from just a little mechanical algebra:
> 3([* i.@#@,@[ ^/ i.@>:@])~ 0 0 1 1 1
First notic
How to de-smell this:
3([* i.@#@,@[ ^/ i.@>:@])~ 0 0 1 1 1
?
I tried but in vain.
Thank you!
BoDen fredag den 21. august 2020 08.18.16 CEST skrev Bo Jacoby
:
How to remove the smell (the "[" and the "]") from
3(i.@>:@[ ^/~ ])2 3 4
?
Thanks! Bo.
Thank you!
Den fredag den 21. august 2020 08.29.24 CEST skrev ethiejiesa via
Programming :
Bo Jacoby wrote:
> How to remove the smell (the "[" and the "]") from
> 3(i.@>:@[ ^/~ ])2 3 4
> ?
3 (^/ i.@>:)~ 2 3 4
In general, when you want to
How to remove the smell (the "[" and the "]") from
3(i.@>:@[ ^/~ ])2 3 4
?
Thanks! Bo.
Den fredag den 21. august 2020 07.06.50 CEST skrev Raul Miller
:
The code smell which bothers me worst, in J, is the "not getting started"
smell.
When I am afraid of writing a rough draft b
Wow, it works! I don't know why, but I'll find out. Thanks a lot! Bo.
Den torsdag den 20. august 2020 23.25.56 CEST skrev 'Pascal Jasmin' via
Programming :
x: ::] 1j2
1j2
On Thursday, August 20, 2020, 05:23:40 p.m. EDT, 'Bo Jacoby' via Programmin
Hello friends.
x: 1e8 NB. improves precision
1
x: x: 1e8 NB. doesn't improve precision further but does no harm either
1
x: 1j2 NB. does harm
|domain error
| x:1j2
I need a function f that works as x: except that f 1j2 should evaluate to
1j2 rather than is
Many thanks to David for the interest in ordinal fraction arithmetic. I have
not yet studied the implementation in full detail. Note however that when you
strip all the zeroes from 3$0 you get 0$0 rather than 1$0.
Allow me some explaining.
Consider the year number 2020. This year! It is an ordi
To summarize a dataset of many values into a dataset of few values, use this
program.
summary =. [ 4 : 0 ,@] ^/ i.@>:@[
y=.x*(}.%{.)+/y
e=.1
for_i. 1+i.x do.
e=.e,~i%~+/(_1^i.i)*e*i{.y
end.
_1&x:|.->{:p. e
)
1 summary 1 2 2 3 3 NB. mean value
2.2
2 summary 1 2 2 3 3 NB. mean g
"Mode" is a badly defined pre-computer concept. Forget about it!
Thanks!
Bo
Den fredag den 24. juli 2020 20.47.08 CEST skrev Raul Miller
:
https://en.wikipedia.org/wiki/Mode_(statistics)#Uniqueness_and_definedness
"Finally, as said before, the mode is not necessarily unique. Certain
pat
i.20 is from 0 through 19, but
'bar'plot i.20
labels the bars from 1 through 20. Isn't that a bug?
Thanks.
Bo
--
For information about J forums see http://www.jsoftware.com/forums.htm
Or, preserving Devon's nms:
nms =. (/:{])12 4$ 'n n0 n1 n00 n01 n10 n11 n12 n100n110n111n112'
(3-~+/"1 nms=' ')|."0 1 nms,"1' '
Thanks.
Bo.
Den tirsdag den 21. juli 2020 06.10.53 CEST skrev 'Bo Jacoby' v
│ ┌─ n10 ─── n100|
>> |─ C: ─┤ │ ┌─ n110|
>> | └─ n1 ─┼─ n11 ─┼─ n111|
>> | │ └─ n112|
>> | └─ n12 |
>> ++
>>
>>
>> On Mon, Jul 20, 2020 at 3:54 PM Devon McCormick
&
Minor simplification:
n=.(/:{])12 3$'00010020011012021022023021122123'
(6-~+/"1 n='0')|."0 1 n,"1'00',(4#' '),'§'
Thanks.
Bo.
Den søndag den 19. juli 2020 23.49.17 CEST skrev 'Bo Jacoby' via
I use ordinal fractions.
nms=.'000';'100';'200';'110';'120';'210';'220';'230';'211';'221';'222';'223'
The digits are ordinal numbers, 1, 2, 3, . . . rather than cardinal numbers 0,
1, 2, . . .
The digit zero means everything rather than nothing.
nms=.'000','100','200','110','120','210',
68 1r65536 1r131072 1r262144 1r524288 1r1048576│
└─┴─┘
Of course, using rationals does not solve the general problem, but it does
provide jaw dropping examples in a food fight.😁
On Tue, Jun 23, 2020 at 11:40 PM 'Bo Jacoby
{:>{:p. _0.8 0.2 1
4r5
{:>{:p. _4 1 5
0.8
Thanks!
Bo
--
For information about J forums see http://www.jsoftware.com/forums.htm
5 1$<"1]5 11$'May 04 2020May 01 2020Apr 30 2020Apr 29 2020Apr 28 2020'
┌───┐
│May 04 2020│
├───┤
│May 01 2020│
├───┤
│Apr 30 2020│
├───┤
│Apr 29 2020│
├───┤
│Apr 28 2020│
└───┘
Bo
Den søndag den 17. maj 2020 08.02.20 CEST skre
(|.~i.&1@(= <./))"1 n
1 3 2 4
1 2 3 4
1 2 3 4
1 3 2 4
1 3 2 4
1 2 3 4
1 2 3 4
1 3 2 4
Well, that is everybody else's idea.
Bo
Den søndag den 17. maj 2020 03.21.43 CEST skrev Roger Hui
:
> I could be wrong.
Right. I was wrong.
On Sat, May 16, 2020 at 6:18 PM Rau
Raul, note that this works:
(+.&.(*&1p1))/2 3
1
even though the numbers
0j16":(*&1p1)2 3
6.2831853071795862 9.4247779607693793
do not satisfy your demands of being exactly represented.
Thanks!
Bo
Den lørdag den 16. maj 2020 13.03.21 CEST skrev Hauke Rehr
:
The answe
> > > > >
> > > > > +./4.57 4.34 4.44
> > > > > 5.39568e_12
> > > > >
> > > > > ABOUTJ_jijs_ NB. nearest thing to JVERSION???
> > > > > Copyright 1994-2004 Jsoftware Inc.
> > > > > F
cture but then
you’re better off using x: in the first place.
Either you want to deal with rationals (x:) or with
whole numbers (algorithm&.(100&*)).
Am 15.05.20 um 17:20 schrieb 'Bo Jacoby' via Programming:
> The expression
> 4.57+.(4.34+.4.44)
>
>
> should ev
Henry Rich
:
What's wrong with it?
0j19 ": 4.57 4.34 4.44
4.5702842 4.3398579 4.4403908
Henry Rich
On 5/15/2020 10:17 AM, 'Bo Jacoby' via Programming wrote:
> +./4.57 4.34 4.44
> 5.39568e_12
>
> NB. this was not the
+./4.57 4.34 4.44
5.39568e_12
NB. this was not the correct answer. A bug?
+./x:4.57 4.34 4.44
1r100
NB. this was a work-around
Thanks!
Bo.
--
For information about J forums see http://www.jsoftware.com/forums.htm
argument 1 0
> for " from the list argument 30 40 to ,/"1 0
>
> look up rank (both the concept and the verb ")
>
>
> hth
>
>
> Am 13.05.20 um 10:27 schrieb 'Bo Jacoby' via Programming:
>> Thank you very much, Esa!
>> Bo. Den onsdag
Thank you very much, Esa!
Bo.Den onsdag den 13. maj 2020 10.18.27 CEST skrev Lippu Esa
:
Hello Bo,
Is this what you need?
f=:,"_ 0
1 2 7 f 30 40
1 2 7 30
1 2 7 40
Esa
-Original Message-
From: Programming On Behalf Of 'Bo
Jacoby' via Programming
Sent: Wednesda
How to define a function f such that
1 2 7 f 30 40
1 2 7 30
1 2 7 40
(,/~ does not work like that.)
Please help. Thanks!
Bo.
--
For information about J forums see http://www.jsoftware.com/forums.htm
Hi Brian,
Substituting 'Bar' for 'Hist' leaves white space between the bars.
Thanks. Bo.Den fredag den 3. april 2020 15.32.26 CEST skrev Brian Schott
:
Ruda,
I have poked around to find examples of plots.
I was not able to find the plot package from j602 in j807, but perhaps it
is ava
Hello Ruda.
Try this.
E =. +/%# NB. Mean
RMS=. E&.:*: NB. Root Mean Square
D =. -E NB. Deviation from mean
S =. RMS&D NB. Standard deviation
Z =. D%S NB. Normalized deviation.
'hist'plot +/(Z ,+/~i.10):
Dear list,
are there somewhere utilities rea
f=.(^ ]) - +:
newton=.- f % f"0 D.1
(newton^:_) 0 3
0.346323 2
NB. these are the two solutions
Den fredag den 7. februar 2020 17.46.50 CET skrev Henry Rich
:
t. has been removed from J9.01.
Henry Rich
On 2/7/2020 11:45 AM, Brian Schott wrote:
> I am still havin
Thank you Skip!
You are right and I was wrong.
(x^x)=2*x is not solved by (p.) because it is a transcendental equation.
The only positive solution is x=2.
Bo.
Den torsdag den 6. februar 2020 07.26.35 CET skrev Skip Cave
:
Roger,
Very impressive!
Looks like I will need to brush
Skip. (x^x)-(2*x) = x*(x-2) is zero for x=0 and x=2. Two real roots. Newton
Raphson finds one of these depending on the value of the initial guess.
Bo.
Den onsdag den 5. februar 2020 19.08.23 CET skrev Henry Rich
:
Yeah, a rational y wouldn't ever quite satisfy 0 = _2 0 1 p. y
Henry
I cannot make plot work either in J807
load 'plot'
not found: c:/program files/j807/addons/graphics/plot/plot.ijs
|file name error: script
| 0!:0 y[4!:55<'y'
JVERSION
Engine: j807/j32/windows
Release-d: commercial/2019-03-18T13:09:48
Library: 8.07.25
Qt IDE: 1.7.10s/5.9.8
Platform: Win 3
Enumerate your base vectors 1 0 and 0 1 etc.
(2.3*1 0)+(3.9*0 1)+(3.1*1 0)
5.4 3.9
Thanks.
Bo.Den mandag den 25. november 2019 19.45.04 CET skrev Raul Miller
:
Or, slightly more efficient (if that matters):
V1=: |:(2 3 4;2.3),(1 2;3.9),: 2 3 4;3.1
V2=: (~.@{.,:+/&.:>/./)V1
e natively.
On Sun, Nov 17, 2019 at 8:24 AM 'Bo Jacoby' via Programming <
programm...@jsoftware.com> wrote:
> ORDINAL FRACTIONS - the algebra of data
>
>
>
> |
> |
> |
> | | |
>
> |
>
> |
> |
> | |
> ORDINAL FRACTIONS - the
ORDINAL FRACTIONS - the algebra of data
|
|
|
| | |
|
|
|
| |
ORDINAL FRACTIONS - the algebra of data
This paper was submitted to the 10th World Computer Congress, IFIP 1986
conference, but rejected by the referee
|
|
|
Den søndag den 17. november 2019 07.12.02 CE
be ok if that's under documents
or something like
c:\Users\Bo\
Over to Chris B,
Mike
On 16/10/2019 17:20, 'Bo Jacoby' via Programming wrote:
> Thanks Mike!
>
> JVERSION
>
> Engine: j807/j32/windows
>
> Release-a: commercial/2019-01-11T11:1
to know it will
surely ask
you what plot command/s you were using.
Or, a link back to a previous relevant thread would help.
Cheers,
Mike
On 16/10/2019 01:05, 'Bo Jacoby' via Programming wrote:
> Anyone: I still get the following error message when using plot, and then I
> mus
Anyone: I still get the following error message when using plot, and then I
must Ctrl-Alt-Del and kill the J job. What does it mean? and what else can be
done? Thank you! Bo.
error in: plot_gs_paint
domain error: cd
rc=. glcmds`glcmds_jglc_@.(Poutput=iQTC)buf
-
load'pacman'
je_update_jpacman_'
|open quote
| je_update_jpacman_'
| ^
|[-1]
je_update_jpacman_
3 : 0
if. IFIOS+.UNAME-:'Android' do. 'update not supported for this platform'
return. end.
mkdir_j_ jef
sh=. 'update.',;(UNAME-:'Win'){'sh';'bat'
ferase jef,sh
'plat name bname'=.
Plot has not worked for me for months, but Linda' boat did work! WOW.
Trying
plot 1 2 1 2 1 2 1 2
provided an error message from which I could not return. I had to kill J using
Ctrl-Alt-Del.
Am I the only one having this problem?
Thanks,
Bo.
Den søndag den 18. august 2019 04.21.14 CE
The Fibonacci Number System is treated on page 296 in the great book Concrete
Mathematics. https://en.wikipedia.org/wiki/Concrete_MathematicsDen fredag
den 19. juli 2019 12.23.43 CEST skrev 'Mike Day' via Programming
:
Just time to list d2z, dec to Zeckendorf...
_8{.Fb NB. Revers
I followed the instructions
https://code.jsoftware.com/wiki/System/Installation/Zips
J32.
- run Windows Explorer
- navigate to Downloads (yes)
- double click downloaded file - be sure to get latest version if more than
one (only one)
- drag new j folder and drop on C:\Users\Fred
(10$10)?10
0 1 8 2 6 7 9 4 5 3
8 7 6 9 5 2 0 4 1 3
9 5 0 6 8 1 7 3 2 4
3 9 1 8 5 4 2 6 0 7
0 8 9 2 3 6 7 5 4 1
9 4 6 2 0 5 3 8 1 7
1 9 5 8 2 4 0 7 6 3
5 7 9 6 2 8 3 0 4 1
9 0 6 1 7 8 3 5 2 4
7 4 0 1 2 3 9 8 6 5
Den tirsdag den 16. april 2019 11.50.57 CEST skrev 'Rob Hodgkins
9, 7:35 AM 'Bo Jacoby' via Programming <
programm...@jsoftware.com> wrote:
>
> hint: copy command so you can paste it in terminal/command window
>
>
>
>
> Question: How do I find the terminal/command window?
> (I tried typing ´command´ but got a DOS window that
hint: copy command so you can paste it in terminal/command window
Question: How do I find the terminal/command window?
(I tried typing ´command´ but got a DOS window that did not accept the copied
command)
Thanks, Bo.
Den mandag den 18. marts 2019 21.39.20 CET skrev Eric Iverson
:
This may not be the best solution.
f=.[:,[:|:' ',[:}.[:|:5":[:,.1&+
f ,|:1 2 3 4 5*/10^0 1 2 3
0001 0002 0003 0004 0005 0010 0020 0030 0040 0050 0100 0200 0300 0400 0500
1000 2000 3000 4000 5000
Thank you.
Bo.
Den søndag den 3. februar 2019 12.27.59 CET skrev R.E. Boss
:
t{~/:(10*9-0{"1 t)+1{"1 t
8 2
8 3
8 4
7 2
7 4
Den lørdag den 19. januar 2019 17.51.43 CET skrev 'Pascal Jasmin' via
Programming :
if one of the columns is numeric, then negating it will sort the right way.
(\: 1 ,/@(+`-\"1) ]) 5 2$7 4 8 2 8 4 7 2 8 3
__
Thanks Eric! How do I 'update the base library'? /Bo.
Den tirsdag den 15. januar 2019 01.15.04 CET skrev Joey K Tuttle
:
Bill,
Thanks for the feedback. Note that this happened in my Ubuntu 18.04.1 system
where
jkt@set1:~$ ja
FHS
0
JVERSION
Engine: j807/j64nonavx/linux
Release-a:
load'pacman'
je_update_jpacman_'' NB. download latest JE
|value error: je_update_jpacman_
| je_update_jpacman_''
JVERSION
Engine: j807/j32/windows
Release: commercial/2018-10-05T10:28:47
Library: 8.07.18
Qt IDE: 1.7.9s/5.9.6
Platform: Win 32
Installer: J807 install
InstallPath: c:/p
I do not at all object against zero-origin indexing in J !
But I do object against calling 'a' the "zeroth" element of the list
'abcdefg' .
'a' is the first element of the list 'abcdefg' .
'a' may be the element having index zero, but it is not the "zeroth" element
of 'abcdefg' .
Nor is '
New year's day is January the first, not January the zeroth.
'The first' is an ordinal number - not a cardinal number.
A zero-origin index counts how many elements to skip before reaching a certain
element. It is a cardinal number - not an ordinal number. Zero is a cardinal
number - 'zeroth' i
load'plot'
not found: c:/program files/j807/addons/graphics/plot/plot.ijs
|file name error: script
| 0!:0 y[4!:55<'y'
JVERSIONEngine: j807/j32/windowsRelease:
commercial/2018-10-05T10:28:47Library: 8.07.18Qt IDE: 1.7.9s/5.9.6Platform: Win
32Installer: J807 installInstallPath: c:/program fi
license agreement in a small
window in the middle of the screen.
Thank you.
Bo.
Den fredag den 7. december 2018 15.44.56 CET skrev Eric Iverson
:
Bo,
What License Agreement? What J version and how do you display the offending
window?
On Fri, Dec 7, 2018 at 5:30 AM 'Bo Jacoby
Thanks. I did upgrade. How come that the License Agreement is in a small
window that can neither be maximized nor made full screen?
Den fredag den 7. december 2018 11.18.26 CET skrev R.E. Boss
:
AMEN !
R.E. Boss
> -Oorspronkelijk bericht-
> Van: Programming
> Namens Eric Iv
IS=.+.&.(*/)
UN=.*.&.(*/)
This still works for multisets of prime numbers.
Den tirsdag den 30. oktober 2018 11.55.04 CET skrev 'Bo Jacoby' via
Programming :
IS=.[:q:+.&(*/)
UN=.[:q:*.&(*/)
2 3 3 5 IS 3 5 5 5
3 5
2 3 3 5 UN 3 5 5 5
2 3 3 5 5 5
T
IS=.[:q:+.&(*/)
UN=.[:q:*.&(*/)
2 3 3 5 IS 3 5 5 5
3 5
2 3 3 5 UN 3 5 5 5
2 3 3 5 5 5
This works for multisets of PRIME numbers only.
Den tirsdag den 30. oktober 2018 10.46.17 CET skrev R.E. Boss
:
IMO we should interpret the intersection and the union of two (multi)sets
(sets
v=. 3 : 'y=/i.10'
v 1 2
0 1 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0
Den mandag den 29. oktober 2018 21.05.29 CET skrev Linda Alvord
:
(i.3)=/i.10
1 0 0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0
Linda
Sent from my Verizon, Samsung Galaxy smartphone
Original m
1 - 100 of 380 matches
Mail list logo