Thankx a lot.
On 2 December 2011 02:18, Laurent wrote:
>> sage: x0,x1,x2,x3,x4,x5,x6,x7,x8,x9 = var('x0,x1,x2,x3,x4,x5,x6,x7,x8,x9')
>> sage: S = 1*x1 + 2*x3 + 3*x4 + 4*x5 + 5*x7 + 6*x9
>> sage: S.variables()
>> (x1, x3, x4, x5, x7, x9)
>
>
> By the way :
>
> sage: x=var('x')
> sage: S=sin(x)**2+
Is it possible to make an entry in Q[i,j] equal to a entry in U[i,j]?
I have to have the two functions separately for each matrix though
just like my code above
i.e.
def U(N,M):
...
...
...
return U
def Q(N,M)
...
...
...
Q[i,j]=U(N,M)
return Q
Kind Regards
Chappman
On Dec 3, 4:26 am, "D.
I'm trying to represent Sage non-native elements in a LaTeX document
using SageTeX. Sage generates the representation without complaint,
but the result does not compile properly on the second LaTeX step
(LaTeX-Sage-LaTeX*). Latex complains about missing $ inserted. I've
included a simple illustr
On 2011-12-02 08:17, Julie wrote:
Unfortunately, having the Tayor series approach out, don't think it's
really appropriate for my problem afterall, as what I esentially need
to do is find the coefficientsof p^0*y^0, p, y, p^2*y etc in the
formula
(0.030*0.248244^y)y+0.05721*(0.248244^y)p +0.08838
On Dec 3, 2011, at 02:50 , Chappman wrote:
> Is it possible to make an entry in Q[i,j] equal to a entry in U[i,j]?
> I have to have the two functions separately for each matrix though
> just like my code above
Definitely. You can do it roughly as your code snippets show, or there are
built-in
I've installed sage from binaries for 64-bit for fedora , on my fedora 16
laptop , the default backend for matplotlib is set to be Agg , when i set
GTKAgg it says i need pyGTK 2.4 or something , do i have to install those
versions ?? don't tell me i need development versions of these libraries ,i
a
On 12/3/11 4:16 PM, Justin C. Walker wrote:
Q=matrix(ZZ,6)
U=Q
U[1,1]=4
Q
Uh, I thought you wanted to use copy, which actually does copy the matrix:
sage: Q=matrix(ZZ,2)
sage: U=copy(Q)
sage: U[1,1]=4
sage: U
[0 0]
[0 4]
sage: Q
[0 0]
[0 0]
You don't need to use deepcopy to copy a matrix.
On Dec 3, 2011, at 15:21 , Jason Grout wrote:
> On 12/3/11 4:16 PM, Justin C. Walker wrote:
>> Q=matrix(ZZ,6)
>> U=Q
>> U[1,1]=4
>> Q
>
>
> Uh, I thought you wanted to use copy, which actually does copy the matrix:
>
>
> sage: Q=matrix(ZZ,2)
> sage: U=copy(Q)
> sage: U[1,1]=4
> sage: U
> [0 0
Hello everyone!
I would like to compute the cup-product of two chains in the cohomology of
a simplicial complex.
What I have so far, is that I have the simplicial complex realized as a
SimplicialComplex in sage and I can compute its cohomology groups. They
are: {0: 0, 1: Z x Z, 2: Z^28, 3: Z^9
On Sat, 03 Dec 2011 at 09:16AM -0800, Mark wrote:
> I'm trying to represent Sage non-native elements in a LaTeX document
> using SageTeX. Sage generates the representation without complaint,
> but the result does not compile properly on the second LaTeX step
> (LaTeX-Sage-LaTeX*). Latex complains
On 12/3/11 9:24 PM, Dan Drake wrote:
On Sat, 03 Dec 2011 at 09:16AM -0800, Mark wrote:
I'm trying to represent Sage non-native elements in a LaTeX document
using SageTeX. Sage generates the representation without complaint,
but the result does not compile properly on the second LaTeX step
(LaTe
On Saturday, December 3, 2011 6:15:03 PM UTC-8, Felix Breuer wrote:
>
> Hello everyone!
>
> I would like to compute the cup-product of two chains in the cohomology of
> a simplicial complex.
>
Me too.
>
> What I have so far, is that I have the simplicial complex realized as a
> SimplicialCo
12 matches
Mail list logo