sagemath / sage

Main repository of SageMath. Now open for Issues and Pull Requests.
https://www.sagemath.org
Other
1.21k stars 421 forks source link

update constructions document for solving linear equations. #3615

Open mwhansen opened 16 years ago

mwhansen commented 16 years ago

http://modular.math.washington.edu/sage/doc/html/const/node35.html

Sage can do far better than what's there:

<mhansen> sage: matrix(ZZ, [[1,2],[3,5]]) \ vector([5,6])
<mhansen> (-13, 9)
<mhansen> sage: matrix(RR, [[1,2],[3,5]]) \ vector([5,6])
<mhansen> (-13.0000000000000, 9.00000000000000)
<mhansen> sage: matrix(RIF, [[1,2],[3,5]]) \ vector([5,6])
<mhansen> ([-13.000000000000000 .. -13.000000000000000], [9.0000000000000000 .. 9.0000000000000000])
<mhansen> sage: matrix(CDF, [[1,2],[3,5]]) \ vector([5,6])
<mhansen> (-13.0, 9.0)
<mhansen> sage: a,b = var('a,b')
<mhansen> sage: matrix(SR, [[1,2],[3,5]]) \ vector([a,b])
<mhansen> (a - 2*(3*a - b), 3*a - b)

Component: documentation

Issue created by migration from https://trac.sagemath.org/ticket/3615

wdjoyner commented 16 years ago
comment:1

If you are suggesting to add these I'd be happy to create a patch for it. Or are you suggesting to make a replacement?

7c09a680-e216-4024-bb8e-9bfd4aa7f313 commented 15 years ago

Replying to @mwhansen:

http://modular.math.washington.edu/sage/doc/html/const/node35.html

[...]

This URL gave me an "Object not found!" message. But here's a link to the official online version http://www.sagemath.org/doc/const/node35.html