On Thursday 09 June 2005 12:21, John Macdonald wrote:
> On Thu, Jun 09, 2005 at 06:41:55PM +0200, "TSa (Thomas Sandla
�" wrote:
> > Edward Cherlin wrote:
> > >That means that we have to straighten out the functions
> > > that can return either a Boolean
It also means that we need primitive functions (operators)
like max and min that only return one of the arguments, and that
can also be used with a reduction operator (metaoperator).
--
Edward Cherlin
Generalist & activist--Linux, languages, literacy and more
"A knot! Oh, do let me help to undo it!"
--Alice in Wonderland
http://cherlin.blogspot.com
in their domains.
What identities did you have in mind for string infinities? What
sort of reduction can you do on "Hello, "~(+Inf)~"world"? How
does it print? What good is it at all?
--
Edward Cherlin
Generalist & activist--Linux, languages, literacy and more
"A knot! Oh, do let me help to undo it!"
--Alice in Wonderland
http://cherlin.blogspot.com
and we see how common our respective examples
> are.
No need to wait. There is a ton of APL and J code to inspect.
Having predefined identity elements for reductions on empty
arrays is widely exploited.
--
Edward Cherlin
Generalist & activist--Linux, languages, literacy and more
"A
[Array[2] of Num,+,[0,0],*,[1,0]]
> {...}
>
> class 3DVector does VectorSpace[Array[3] of Num,+,[0,0,0]]
> {...}
>
> And it provides valuable information to the optimizer.
--
Edward Cherlin
Generalist & activist--Linux, languages, literacy and more
"A knot! Oh, do let me help to undo it!"
--Alice in Wonderland
http://cherlin.blogspot.com
es that make sense there too, although none
> come immediately to mind).
APL and J programmers have lots of examples.
--
Edward Cherlin
Generalist & activist--Linux, languages, literacy and more
"A knot! Oh, do let me help to undo it!"
--Alice in Wonderland
http://cherlin.blogspot.com
On Thursday 19 May 2005 20:42, Andrew Rodland wrote:
> On Thursday 19 May 2005 10:51 pm, Sam Vilain wrote:
> > Edward Cherlin wrote:
> > > Here is the last answer from Ken Iverson, who invented
> > > reduce in the 1950s, and died recently.
> > > file:///usr/shar
On Thursday 19 May 2005 19:51, Sam Vilain wrote:
> Edward Cherlin wrote:
> > Here is the last answer from Ken Iverson, who invented
> > reduce in the 1950s, and died recently.
> > file:///usr/share/j504/system/extras/help/dictionary/intro28
> >.htm
http://www.jsoftwar
The numbering is confusing, because they restarted at some point,
so J5.0.4 is current.
> LP> I think we're beginning to re-invent PDL.
APL and J, too.
> Poorly.
Amen.
> but is there a p6 pdl yet? they may not need much with
> multi-dim ops, slices, hyper and reduce all built in! also
> with type int (patform ints), they can get the dense storage
> needed (but losing any dimensional flexibility).
>
> uri
--
Edward Cherlin
Generalist & activist--Linux, languages, literacy and more
"A knot! Oh, do let me help to undo it!"
--Alice in Wonderland
http://cherlin.blogspot.com
On Thursday 19 May 2005 09:39, Luke Palmer wrote:
> On 5/19/05, Edward Cherlin <[EMAIL PROTECTED]> wrote:
> > It turns out that the domain and range and the location of
> > the cut lines have to be worked out separately for different
> > functions. Mathematical practice
empty vector, list of length 0
, catenate, join lists
_ infinity
__ negative infinity
So (_ <. N) is N, as is (__ >. N).
All of these functions are defined in detail but quite tersely in
the J Dictionary, indexed on the page
file:///usr/share/j504/system/extras/help/diction
, and Ada standards are the best available.
Do we want to get into all of this in Perl6?
--
Edward Cherlin
Generalist & activist--Linux, languages, literacy and more
"A knot! Oh, do let me help to undo it!"
--Alice in Wonderland
http://cherlin.blogspot.com
segments. Examples at
file:///usr/share/j504/system/extras/help/dictionary/intro14.htm
This paper applies scans to inner product functions.
http://portal.acm.org/citation.cfm?id=882077
The inner-product scan allows a straight-forward calculation of
interest-bearing accounts or annuities with
13 matches
Mail list logo