print)
%\numprint{$\sage{sqrt(3.)}$} % don't work (bad argument for
numprint)
%\numprint{$\mathrm{\sage{sqrt(3.)}}$} % don't work (Generic Error)
\end{document}
Thanks
iDan
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email t
On 23 mar, 20:34, Dan Drake wrote:
>
> \begin{sagesilent}
> def numprint(x):
> return x.str().replace('.', ',')
> \end{sagesilent}
>
> and then use \sage{numprint(x)}, which is a bit nicer.
Hi,
Thanks for your suggestion. But,
- this function change the number of significant figures
- \s
On 24 mar, 07:00, "ma...@mendelu.cz" wrote:
> And note the difference between $12,13212$ and $12{,}13212$ - the
> first one has incorrect spacing in TeX!
Hi Robert,
You are right, but there is no difference between $12{,}345$, $
\numprint{12,345}$ and $\DecimalMathComma 12,345$
If you don't have
Hi!
With Python sets
E1 = set( [1,2] )
E2 = set( [1,2,3] )
Sage return true for
E1 < E2 #E1 is a proper subset of E2
and return true for
E2 > E1 #E2 is a proper superset of E1
But with Sage Sets
E1 = Set( [1,2] )
E2 = Set( [1,2,3] )
Sage return true for
E1 < E2
but return ***fa
On 10 juin, 15:03, Marco Boretto wrote:
> I'm tryng to to simple thing like this:
>
> m=[0.6158, 0.5893, 0.5682, 0.51510, 0.4980, 0.4750, 0.5791,
> 0.5570,0.5461, 0.4970, 0.4920, 0.4358, 0.422, 0.420]
> <...> i want to multiply the all the elements for
> 10^-6
Hi,
Maybe with the function "map"
Hi,
With this code,
sage: var('x y')
sage: eq1 = 2*x + 3*y == 4
sage: eq2 = 3*x + 4*y == 5
sage: Mat=maxima.augcoefmatrix([eq1,eq2],[x,y])
I obtain a "Maxima matrix". How can I transform it into a "Sage
Matrix" ?
I try
sage: matrix(2,3,[Mat[0],Mat[1]])
but without success.
Thanks
Daniel
--
> On Thu, Jun 2, 2011 at 7:57 AM, iDan wrote:
> > I obtain a "Maxima matrix". How can I transform it into a "Sage
> > Matrix"
On 2 juin, 11:48, William Stein wrote:
> Use "Mat.sage()":
So elegant and so obvious :-)
Thanks!!!
Daniel
--
T
Hi!
How can one use Maple with Sage?
It seems that since 2008 the interface between Maple and Sage is
broken on MacOSX
-
Input :
maple('1+1')
Output :
read
"/Users/imac2008/.sage//temp