Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8076 > unrolled thread

Re: Tips for writing correct, non trivial Mathematica Libraries

Started byAndrzej Kozlowski <akoz@mimuw.edu.pl>
First post2012-01-22 12:19 +0000
Last post2012-01-22 12:19 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Tips for writing correct, non trivial Mathematica Libraries Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2012-01-22 12:19 +0000

#8076 — Re: Tips for writing correct, non trivial Mathematica Libraries

FromAndrzej Kozlowski <akoz@mimuw.edu.pl>
Date2012-01-22 12:19 +0000
SubjectRe: Tips for writing correct, non trivial Mathematica Libraries
Message-ID<jfgusl$pal$1@smc.vnet.net>
On 21 Jan 2012, at 11:13, Murray Eisenberg wrote:

> Whether a function whose natural domain consists of lists should coerce
> a scalar into a one-element list is purely a matter of convenience.
>
> That the built-in GeometricMean does do that whereas the documentation's
> example geom does not is perhaps just a sloppy oversight in constructing
> that example.



GeometricMean[x + y]

During evaluation of In[122]:= GeometricMean::vecmat1: Argument x+y is neither a non-empty vector nor a non-empty matrix. >>

GeometricMean[x + y]

Andrzej Kozlowski

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web