Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-03-28 23:06:41


Cool!

I think there are lots of semantic requirements missing, though. For
example, is this a legal implementation of zero for Additive Abelian Group?

  template <class T> T zero(T x) { return x; }

I didn't think so. Now you have to say what it means. Also, should it be
called additive_identity(x)? Wouldn't it be more interesting to have
zero<X>()?

shouldn't identity be called "multiplicative_identity", also?

-Dave

----- Original Message -----
From: "Jeremy Siek" <jsiek_at_[hidden]>
To: <boost_at_[hidden]>
Cc: "Andrew Lumsdaine" <lums_at_[hidden]>
Sent: Wednesday, March 28, 2001 8:01 PM
Subject: [boost] numeric: linear algebra concepts

>
> I've briefly sketched out the concepts for a "linear algebra" that we were
> planning on using for MTL v3.0.
>
>
http://www.lsc.nd.edu/~jsiek/tlc/multi_array/libs/numeric/doc/LinearAlgebraC
oncepts.html
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk