tenseigen - calculate eigen values and/or eigen vectors of an array of 3x3 symmetric matrices
tenseigen [-s|-s1|-s2|-s3] [-v|-v1|-v2|-v3] [-x|--scale] [-p INT|--precision INT] [-?|-h|--help]
tenseigen calculates the eigen values and/or vectors of an array of 3x3 symmetric matrices. The output content is fixed by the options. The program can be used to calculate principal stresses. It takes its input from the standard input and returns the result to the standard output. The first line of the input is the number of matrices to process. The next lines follow the pattern 'a11 a22 a33 a12 a23 a31'.
write the 3 eigen values
write the first eigen value (highest value)
write the second eigen value
write the third eigen value (smallest value)
write the 3 eigen vectors
write the first eigen vector
write the second eigen vector
write the third eigen vector
scale the eigen vectors: multiply them by their eigen value (default is to return normalised eigen vectors)
number of decimals (default: 6)
Returns the manual page
Written by Pierre Smars (first version: 2013)
Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.
Copyright (C) 2018 Pierre Smars. License GPLv2 <http://www.gnu.org/licenses/gpl-2.0.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.