Kip, Your response made me compare the use of 3 and 13.
f=: 13 :'%+/%y'
g=: 3 :'%+/%y'
f 2 4
1.3
g 2 4
1.3
f
[: % [: +/ %
g
3 : '%+/%y'
What I like best are the trees when I'm lost in the forest!
5!:4 <'f'
-- [:
+- %
--+-- [:
Why don't you just do
pr =: 3 : '%+/%y'
?
Kip Murray
Sent from my iPad
On Oct 13, 2012, at 5:55 PM, Keith Park wrote:
> To find the value of resistors in parallel one takes the reciprocal of the
> sum of the reciprocals. So I would like to write a verb to do just
> that. *pr=:%+/%
>
the j602 install from jsoftware.com is the oldest, the current
verson is 64. pacman is the package manager in the menu of the ijx
window. You should update it first. After that, I guess you can
un-install freeglut dev and it can still work.
Вск, 14 Окт 2012, Alex Giannakopoulos писал(а):
> My vers
My version is
Engine: j602/2008-03-03/16:45
Library: 6.02.023
Is that very old? I have no idea how to use pacman, I found this:
http://www.jsoftware.com/wsvn/web/trunk/pacman/
but not sure what to do about it.
If it is really old, I may just download again from jsoftware.com and
reinstall. S
I suppose that the explicit definition as proposed by Bill an Linda come
closest to what I would like. It will be a while before I understand it
though.
On Sat, Oct 13, 2012 at 9:23 PM, alexgian wrote:
> My understanding is that by using 'cap' you are definitely using a fork,
> but 'capping' th
Also it may be of use to you to be aware of the "magic 13"
which will translate explicits into tacits for you (not always in the best
way, but still a great learning tool)
for instance
13 : '% +/ % y'
[: % [: +/ %
--
For in
My understanding is that by using 'cap' you are definitely using a fork,
but 'capping' the one end of it!
So whereas (f b g) y would give you something like
fy b gy (where b is an infix operator and f and g are unary)
then, ([: b g) y would become something like
b of gy so you end up with
Thanks. Cap is sort of what I was looking for. A bit ugly though, but I
suppose it is the price to pay for not having some sort of operator to
deliberately invoke a hook or a fork.
On Sat, Oct 13, 2012 at 7:57 PM, alexgian wrote:
> I asked this question almost three years ago, when I was first
Another way to get to Bill's version (apply the functions from right to left).
f=: 13 :'%+/%y'
f 2 4
1.3
f
[: % [: +/ %
f 2 4 5
1.05263
Linda
-Original Message-
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf
You must use a very old version of J602 base library, please update
base library from pacman first.
The opengl (or simple opengl?) demo requires osmesa in linux j602,
so I guess you still have to install that package, try in your shell
$ sudo aptitude search libosmesa
to obtain the actual packag
I asked this question almost three years ago, when I was first starting.
Almost the same people answered it, and quite at length, too!
If you want some explanations on the options of composing using the 'cap'
([:) or the compose (@) you can look here:
http://jsoftware.com/pipermail/programming/201
I asked this question almost three years ago, when I was first starting.
Almost the same people answered it, and quite at length, too!
If you want some explanations on the options of composing using the 'cap'
([:) or the compose (@) you can look here:
http://jsoftware.com/pipermail/programming/201
Right OK, a bit of an update:
I additionally installed the freeglut dev kit, and the first reported
proplem has gone away.
Now the dialog box with the 'Demos' opens, and what's more, most of the
demos seem to run OK.
However, there is still a problem with the OpenGL ones:
If I click on the 'open
To turn your phase in to a tacit verb you could do
p=: [: % [: +/ %
Or
p=: %@:(+/@:%)
Or as already suggested in this thread
p=: +/&.:%
On Oct 14, 2012 11:55 AM, "Keith Park" wrote:
> To find the value of resistors in parallel one takes the reciprocal of the
> sum of the reciprocals. S
try %@(+/)@:%
or in explicit form
3 : '% +/ % y'
untested.
Сбт, 13 Окт 2012, Keith Park писал(а):
> To find the value of resistors in parallel one takes the reciprocal of the
> sum of the reciprocals. So I would like to write a verb to do just
> that. *pr=:%+/%
>*But that, of course, does
That should be the only use of find_dll not yet fixed. Please
try in bash shell,
$ locate libOSMesa.so
and report what will be the output. (should be something like
/usr/lib/libOSMesa.so.6)
I did not install osmesa so not sure if nvdia opengl driver will
conflict with osmesa or not.
Сбт, 13 О
To find the value of resistors in parallel one takes the reciprocal of the
sum of the reciprocals. So I would like to write a verb to do just
that. *pr=:%+/%
*But that, of course, doesn't work. So my question is "is there a way
of avoiding unwanted hooks and forks?"
On Fri, Oct 5, 2012 at 8:
Hi - I thought I might try some OpenGL cookery on my Linux (Ubuntu)
system, but I have no luck as it is currently set up.
If I try anything involving OpenGL, eg. the 'Demos' I get the following
message: 'wdhandler'
error in: jijs_demos_button
could not locate dll GL: find_dll
('could not
18 matches
Mail list logo