Loading [MathJax]/jax/output/HTML-CSS/jax.js

First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can get easily the 1-forms dx, dy and dz from X.coframe(), so to initialize the 2-form a=dx(z2dy), the simplest is to do

sage: M = Manifold(3, 'M', start_index=1)
sage: X.<x,y,z> = M.chart()
sage: dx, dy, dz = X.coframe()[:]
sage: a = dx.wedge(z^2*dy)
sage: a.set_name('a')
sage: a.display()
a = z^2 dxdy
click to hide/show revision 2
No.2 Revision

You can get easily the 1-forms dx, dy and dz from X.coframe(), so to initialize the 2-form a=dx(z2dy), the simplest is to do

sage: M = Manifold(3, 'M', start_index=1)
sage: X.<x,y,z> = M.chart()
sage: dx, dy, dz = X.coframe()[:]
sage: a = dx.wedge(z^2*dy)
sage: a.set_name('a')
sage: a.display()
a = z^2 dxdy

Then, for instance:

sage: da = diff(a)
sage: da.display()
da = 2*z dxdydz
click to hide/show revision 3
No.3 Revision

You can get easily the 1-forms dx, dy and dz from X.coframe(), so to initialize the 2-form a=dx(z2dy), the simplest is to do

sage: M = Manifold(3, 'M', start_index=1)
sage: X.<x,y,z> = M.chart()
sage: dx, dy, dz = X.coframe()[:]
sage: a = dx.wedge(z^2*dy)
sage: a.set_name('a')
sage: a.display()
a = z^2 dxdy

Then, for instance:

sage: da = diff(a)
sage: da.display()
da = 2*z dxdydz

You may find more examples in the sections "1-forms" and "Differential forms and exterior calculus" of the Manifold Tutorial

click to hide/show revision 4
No.4 Revision

You can get easily the 1-forms dx, dy dx, dy and dz dz from X.coframe(), so to initialize the 2-form $a = dx\wedge(z^2 \mathrm{d}x\wedge(z^2 dy)$, \mathrm{d}y)$, the simplest is to do

sage: M = Manifold(3, 'M', start_index=1)
sage: X.<x,y,z> = M.chart()
sage: dx, dy, dz = X.coframe()[:]
sage: a = dx.wedge(z^2*dy)
sage: a.set_name('a')
sage: a.display()
a = z^2 dxdy

Then, for instance:

sage: da = diff(a)
sage: da.display()
da = 2*z dxdydz

You may find more examples in the sections "1-forms" and "Differential forms and exterior calculus" of the Manifold Tutorial

click to hide/show revision 5
No.5 Revision

You can get easily the 1-forms dx, dy and dz from X.coframe(), so to initialize the 2-form a=dx(z2dy), the simplest is to do

sage: M = Manifold(3, 'M', start_index=1)
sage: X.<x,y,z> = M.chart()
sage: dx, dy, dz = X.coframe()[:]
sage: a = dx.wedge(z^2*dy)
sage: a.set_name('a')
sage: a.display()
a = z^2 dxdy

Then, for instance:

sage: da = diff(a)
sage: da.display()
da = 2*z dxdydz

You may find more examples in the sections "1-forms" and "Differential forms and exterior calculus" of the Manifold Tutorial.

click to hide/show revision 6
No.6 Revision

You can get easily the 1-forms dx, dy and dz from X.coframe(), so to initialize the 2-form a=dx(z2dy), the simplest is to do

sage: M = Manifold(3, 'M', start_index=1)
sage: X.<x,y,z> = M.chart()
sage: dx, dy, dz = X.coframe()[:]
sage: a = dx.wedge(z^2*dy)
sage: a.set_name('a')
sage: a.display()
a = z^2 dxdy

Then, for instance:

sage: da = diff(a)
sage: da.display()
da = 2*z dxdydz

You may find more examples in the sections "1-forms" 1-forms and "Differential forms and exterior calculus" of the Manifold Tutorial.

click to hide/show revision 7
No.7 Revision

You can get easily the 1-forms dx, dy and dz from X.coframe(), so to initialize the 2-form a=dx(z2dy), the simplest is to do

sage: M = Manifold(3, 'M', start_index=1)
sage: X.<x,y,z> = M.chart()
sage: dx, dy, dz = X.coframe()[:]
sage: a = dx.wedge(z^2*dy)
sage: a.set_name('a')
sage: a.display()
a = z^2 dxdy

Then, for instance:

sage: da = diff(a)
sage: da.display()
da = 2*z dxdydz

You may find more examples in the sections 1-forms and "Differential Differential forms and exterior calculus" calculus of the Manifold Tutorial.

click to hide/show revision 8
No.8 Revision

You can easily get easily the 1-forms dx, dy and dz from X.coframe(), so to initialize the 2-form a=dx(z2dy), the simplest is to do

sage: M = Manifold(3, 'M', start_index=1)
sage: X.<x,y,z> = M.chart()
sage: dx, dy, dz = X.coframe()[:]
sage: a = dx.wedge(z^2*dy)
sage: a.set_name('a')
sage: a.display()
a = z^2 dxdy

Then, for instance:

sage: da = diff(a)
sage: da.display()
da = 2*z dxdydz

You may find more examples in the sections 1-forms and Differential forms and exterior calculus of the Manifold Tutorial.