atlas 2 for Maple

atlas package Overview

Declaration operators

Calculation operators

Standard DG operators

Utility operators

Features List & Examples

atlasWizard - Maplet™

Template Worksheets

Licenses & Pricing

atlas[kind] -  kind of a tensor 

Calling Sequence: 

    kind(T) 

Parameters: 

     T -any expression containing tensors, vectors, p-forms etc. 

Description: 

  • In the atlas package one can declare: constants, functions, vectors, p-forms, tensors etc. Any undeclared  identifier is treated as 0-form i.e. as non-constan scalar  (see atlas[types]). User can construct any reasonable expressions from declared or undeclared objects.
 

  • The kind procedure allows one  to find out what kind of tensor is an expression.
 

Examples: 

> restart:
with(atlas):
 

Declare constants:  

> Constants(alpha,beta,C,lambda);
 

{`+`(`-`(I)), I, C, Pi, _Z, Catalan, alpha, beta, lambda}(2.1)
 

Declare functions:  

> Functions(f=f(x,y),y=y(z));
 

{f, y}(2.2)
 

Declare vectors:  

> Vectors(E[j],X,Y,Z,U[i]);
 

{X, Y, Z, E[j], U[i]}(2.3)
 

Declare forms:  

> Forms(e[j]=1,omega=2,theta=p);
 

{omega, theta, e[j]}(2.4)
 

Declare Tensors:  

> Tensors(T=[n,k]);
 

{T}(2.5)
 

Let's find out the kind of some objects and expressions 

> kind(z);
 

[0, 0](2.6)
 

> kind(omega);
 

[0, 2](2.7)
 

> E[j]-f*Y;
kind(%);
 

 

`+`(E[j], `-`(`*`(f, `*`(Y))))
[1, 0](2.8)
 

> T&.d(theta);
kind(%);
 

 

`&.`(T, d(theta))
[n, `+`(1, p, k)](2.9)
 

> d(z)&^d(x);
kind(%);
 

 

`+`(`-`(`&^`(d(x), d(z))))
[0, 2](2.10)
 

> d(z)&^d(f)+omega;
kind(%);
 

 

`+`(`-`(`*`(Diff(f, x), `*`(`&^`(d(x), d(z))))), omega)
[0, 2](2.11)
 

Let's see "who is who" 

> Who();
 

piecewise(Domains, {}, Mappings, {}, Tensors, {T, X, Y, Z, omega, theta, E[j], U[i], e[j]}, Forms, {omega, theta, e[j]}, Constants, {`+`(`-`(I)), I, C, Pi, _Z, Catalan, alpha, beta, lambda}, Functions...(2.12)
 

>
 

See Also:  

atlas, atlas[Constants], atlas[Functions], atlas[Forms], atlas[Tensors], atlas[Who].