tensor-0.1.0 is not a library.
Visit the last successful build:
tensor-0.1.2
Tensor
Currently, support is only for contravariant Tensors of rank 1 and 2. Also, all Tensors are assumed to use the standard euclidean basis.
We use the following rank 2 Tensor definition: V'aV'b = ( dx'a/dxy )( dx'b/dxu )Vyu
After assuming a standard basis, we know that ( dx'a/dxy ) will be zero for all instances a != y, and the same for ( dx'b/dxu ) with regards to b != u.
This allows for a straight-forward calculation of the outer product of rank 1 Tensors.
This code serves as a sketch. A more robust Tensor library is on the way.