return tensor as a matrix
Syntax
m = matrix(T)
m = matrix(T,'Voigt')
m = matrix(T,'Kelvin')Input
| T | tensor |
Output
| m | matrix |
Options
| Voigt | give a 4 rank tensor in Voigt notation, i.e. as a 6 x 6 matrix |
| Kelvin | same as above but with Kelvin normalization |