I don't think the easiest way that you describe is possible.
In my .tex file i write:
\begin{sagesilent}
a=matrix(QQ,[[1,1],[2,-1],[1,-1]])
\end{sagesilent}
$\sage{a.transpose()}\cdot\sage{a}=\sage{(a.transpose()*a).inverse()}$\
\
The latex-code for the matrices is not visible here. I only get t
Hi
In this worksheet:
http://users.aims.ac.za/~jan/type_of_variable.sws
The type of a symbolic variable multiplied by a
rational matrix does not return a rational matrix,
but a sage.modules.free_module_element.FreeModuleElement_generic_dense,
interfering with further calculations. A strange wor
On Dec 18, 2008, at 12:12 AM, Jason Grout wrote
> Oh, I understood the above to mean that you could define a matrix B,
> for
> example, without defining the elements of the matrix. I don't know
> how
> to do that in Mathematica; maybe I'm confused.
It's actually done implicitly, see:
http:/
Tim Lahey wrote:
>
> On Dec 17, 2008, at 8:03 PM, Jason Grout wrote:
>
>> Tim Lahey wrote:
>>> There are certainly some things you can do with general matrices and
>>> vectors, but I think doing something like defining A as an nxm matrix
>>> and allowing various operations on it is a very useful
On Wed, 17 Dec 2008 at 09:36AM -0800, dsoto wrote:
> i am using the sagetex package to embed sage in latex documents and it
> is working fabulously. some of my documents are very large and i
> split them up and use \input to assemble into one document. when i
> try to run sagetex on this there is
On Dec 17, 2008, at 8:03 PM, Jason Grout wrote:
>
> Tim Lahey wrote:
>>
>> There are certainly some things you can do with general matrices and
>> vectors, but I think doing something like defining A as an nxm matrix
>> and allowing various operations on it is a very useful thing.
>> Mathematica
Tim Lahey wrote:
>
> There are certainly some things you can do with general matrices and
> vectors, but I think doing something like defining A as an nxm matrix
> and allowing various operations on it is a very useful thing.
> Mathematica has some support for this, but I don't think it has a
> g
Robert Dodier wrote:
>
> Maybe there is some other way to plot a direction field in Sage.
See plot_vector_field and plot_slope_field.
Jason
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group,
2008/12/17 dmharvey :
>
> On Dec 17, 5:32 pm, Alasdair wrote:
>> What facilities are available to me here? For example, the following:
>>
>> p=211
>> F.=GF(p)[]
>> G.=GF(p^17,name='a',modulus=x^17+2*x^2+1)
>> g=G.multiplicative_generator()
>> r=G.random_element()
>> discrete_log(r,g)
>>
>> ties
Hi,
Any suggestions/hints for how to define/use symbolic linear/bilinear
operators over a vector field? I'd like to define operators with
behaviors like
linearOp(scalar*vector) -> scalar*linearOp(vector)
linearOp(vector1+vector2) -> linearOp(vector1) + linearOp(vector2)
bilinearOp(scalar*v
On Dec 17, 5:32 pm, Alasdair wrote:
> What facilities are available to me here? For example, the following:
>
> p=211
> F.=GF(p)[]
> G.=GF(p^17,name='a',modulus=x^17+2*x^2+1)
> g=G.multiplicative_generator()
> r=G.random_element()
> discrete_log(r,g)
>
> ties up my computer for several minutes w
What facilities are available to me here? For example, the following:
p=211
F.=GF(p)[]
G.=GF(p^17,name='a',modulus=x^17+2*x^2+1)
g=G.multiplicative_generator()
r=G.random_element()
discrete_log(r,g)
ties up my computer for several minutes while using all possible CPU,
then finally Sage gives up
Dear Michael,
On Dec 17, 9:08 pm, mabshoff wrote:
> The 0.07 seconds is the CPU time we spend on the Sage side to
> communicate with Maxima, the rest is probably starting Maxima,
> communicating and then the solve on Maxima's side also. As you well
> know there is this general slowdown effect wh
Hi all,
OpenOpt 0.21 (free Python-written optimization framework) has been
released
Changes since previous release 0.19 (September 15, 2008):
* major changes for NLP / NSP solver ralg
* new converter: qp2nlp
* new converter: lp2nlp
* new converter: nllsp2nlp
* new converter:
Thanks a lot !!
Wonderfull, this a really nice example containing many things to learn
from ...
greetings,
Georg
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-un
On Dec 17, 2008, at 11:49 AM, David Joyner wrote:
>
> On Wed, Dec 17, 2008 at 2:41 PM, Simon King jena.de> wrote:
>>
>> Dear Sage supporters,
>>
>> inspired by http://groups.google.com/group/sage-support/
>> browse_thread/thread/729f4a557d970195?hl=en,
>> I was playing around with the solve com
On Dec 17, 11:41 am, Simon King wrote:
> Dear Sage supporters,
Hi Simon,
> 2. Why does it take so long to return the solution dictionary?
> From the solve-docstring:
> sage: ct=cputime()
> sage: time solve([x^2+y^2 == 1, y^2 == x^3 + x + 1], x, y,
> solution_dict=True)
> CPU times: user
On Wed, Dec 17, 2008 at 2:41 PM, Simon King wrote:
>
> Dear Sage supporters,
>
> inspired by
> http://groups.google.com/group/sage-support/browse_thread/thread/729f4a557d970195?hl=en,
> I was playing around with the solve command.
>
> I found two questions:
> 1. How can one add assumptions (such
Dear Sage supporters,
inspired by
http://groups.google.com/group/sage-support/browse_thread/thread/729f4a557d970195?hl=en,
I was playing around with the solve command.
I found two questions:
1. How can one add assumptions (such as x>0 or x is an integer)?
The following does not work:
sage: ass
Here is an example which might help. For it to work you need to
install ffmpeg. It generates a rotating icosahedron movie. For what
you want to do list_plot3d might be more appropriate:
{{{
c = polytopes.icosahedron()
label = 'Ico_movie'
# Numerical pi predefined for some speed
npi = RDF(pi)
i am using the sagetex package to embed sage in latex documents and it
is working fabulously. some of my documents are very large and i
split them up and use \input to assemble into one document. when i
try to run sagetex on this there is only a .sage file for the main
file and not the files inc
Can the sage contained ipython -pylab in the sage tree be made to
print interactively like ipython -pylab in /usr/bin. I am running
ubuntu 8.1 on a amd_64 turion processor.
By interactive I mean that entering plot([1,2]) make a figure pop up.
V/R
Scott A
--~--~-~--~~
The easiest way is probably to simply do a global search+replace of \left(
and \right) on the file:-)
The much harder way is to create a clone, then track down
the method for the latex code (try M._latex_??, where M is your matrix),
edit it and rebuild Sage using "sage -b".
If you think your req
I got this. The sender's email address doesn't work...
-- Forwarded message --
From: Levon Ghazaryan
Date: Wed, Dec 17, 2008 at 8:55 AM
Subject: SAGE Crash Report
To: wst...@gmail.com
***
IPython post-mo
On Wed, Dec 17, 2008 at 10:58 AM, Robert Dodier wrote:
>
> David Joyner wrote:
>
>> Doesn't maxima call gnuplot, unless you specify some options?
>> Do you have that installed (for example, using sage -i ...)?
>
> plotdf renders its display via Openmath (included in Maxima)
Thanks, I didn't kno
David Joyner wrote:
> Doesn't maxima call gnuplot, unless you specify some options?
> Do you have that installed (for example, using sage -i ...)?
plotdf renders its display via Openmath (included in Maxima)
which is a Tcl/Tk program. If Xmaxima (user interface) is included
with Maxima, then Ope
Hi,
I hope it is ok to stay on this thread with my question:
On Dec 17, 11:15 am, Simon King wrote:
--snip--
> sage: solve((A*A.transpose()-MatrixSpace(QQ,2)(1)).list(), A.list())
> ---
> ValueError
Doesn't maxima call gnuplot, unless you specify some options?
Do you have that installed (for example, using sage -i ...)?
On Wed, Dec 17, 2008 at 6:41 AM, akkogve wrote:
>
> When I try to plot a slopefield with maxima (inside sage) I get the
> cryptic message "127".
>
> I installed sage 3.2.1
I have just begun using sagetex (in Kile on Ubuntu Linux) for writing
math lecture notes. I would like sagetex to display the matrices with
square brackets [] instead of round brackets or parentheses (). I
guess that the change must be done in SAGE, so that the latex()-
command produces matrices w
When I try to plot a slopefield with maxima (inside sage) I get the
cryptic message "127".
I installed sage 3.2.1 under Fedora 9, and used these commands (in the
notebook()):
load("plotdf")
result: "/home/aasmund/sage-3.2.1-fc9-i686-Linux/local/share/maxima/
5.16.3/share\
/dynamics/plotdf.lisp"
On Dec 17, 2:48 am, Paul Zimmermann wrote:
Hi Paul,
> sorry to answer late to this thread.
:)
> > Paul -- does GMP-ECM have a by-design hard limit of 4095 digits?
>
> the answer is no, this problem is likely related to pexpect.
>
> >> The real longterm solution to this problem is to totally
sorry to answer late to this thread.
> Paul -- does GMP-ECM have a by-design hard limit of 4095 digits?
the answer is no, this problem is likely related to pexpect.
>> The real longterm solution to this problem is to totally rewrite the...
> Thanks to Robert Miller that is already in Sage:
yes
On Dec 17, 2008, at 5:05 AM, Simon King wrote:
>
> Hi all,
>
> On Dec 17, 10:07 am, Jason Grout wrote:
>> Could you give us a example of precisely what you would like to
>> type and
>> what you would like Sage to return?
>
> Of course I don't know what things olfa wants to solve. But my
> imp
Hi again,
On Dec 17, 11:05 am, Simon King wrote:
--snip--
> Namely, one can do the following:
> sage: n=2
> sage: A=Matrix([[var('a_%d_%d'%(i,j)) for j in range(n)] for i in range
> (n)])
> sage: solve((A*A.transpose()).list(), A.list())
Oops, I forgot that I wanted orthogonal matrices. But Hel
Hi all,
On Dec 17, 10:07 am, Jason Grout wrote:
> Could you give us a example of precisely what you would like to type and
> what you would like Sage to return?
Of course I don't know what things olfa wants to solve. But my
impression from various previous posts about "solving systems with
symb
olfa wrote:
> Helo Sage community,
>
> I want to know if Sage could deal with symbolic arrays and lists (by
> symbolic I mean without specifying the concrete contents of list or
> array)
> For example I want to solve a system of equations containing lists
> and
> arrays like this (here A and B ar
Helo Sage community,
I want to know if Sage could deal with symbolic arrays and lists (by
symbolic I mean without specifying the concrete contents of list or
array)
For example I want to solve a system of equations containing lists
and
arrays like this (here A and B are arrays; C and D lists;
x,y
37 matches
Mail list logo