Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Contract

Function: contract (<expr>) Carries out the tensorial contractions in <expr> which may be any combination of sums and products. This function uses the information given to the defcon function. For best results, expr should be fully expanded. ratexpand is the fastest way to expand products and powers of sums if there are no variables in the denominators of the terms. The gcd switch should be false if GCD cancellations are unnecessary.

load(itensor);
ishow(g([],[i,j])*A([j],[]));
ishow(contract(g([],[i,j])*A([j],[])))

There are also some inexact matches for contract. Try ?? contract to see them.

(%o1)                                true
(%i2) 

Related Examples

contract-load

load(itensor);

imetric(g);

ishow(g([],[i,j])*R([...

Calculate

contract-load

load(itensor);

ishow(g([],[i,j])*A([...

contract(%);

Calculate

contract-load

load(itensor);

imetric(g);

ishow(g([],[i,j])*R([...

Calculate

contract-ev-load

load(itensor);

imetric(g);

ishow(g([j,k],[])*g([...

Calculate

contract-load

load(itensor);

ishow(g([],[i,j])*A([...

contract(g([],[i,j])*...

Calculate

contract-load

load(itensor);

ishow(g([],[i,j])*A([...

contract(g([],[i,j])*...

Calculate

contract-load

load(itensor);

ishow(g([],[i,j])*A([...

contract(%);

Calculate

contract-load

load(itensor);

ishow(g([],[i,j])*A([...

contract(%o2);

Calculate

contract-load

load(itensor);

ishow(g([],[i,j])*A([...

contract(g([],[i,j])*...

Calculate