tenseigen

NAME

tenseigen - calculate eigen values and/or eigen vectors of an array of 3x3 symmetric matrices

SYNOPSIS

tenseigen [-s|-s1|-s2|-s3] [-v|-v1|-v2|-v3] [-x|--scale] [-p INT|--precision INT] [-?|-h|--help]

DESCRIPTION

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'.

OPTIONS

-s

write the 3 eigen values

-s1

write the first eigen value (highest value)

-s2

write the second eigen value

-s3

write the third eigen value (smallest value)

-v

write the 3 eigen vectors

-v1

write the first eigen vector

-v2

write the second eigen vector

-v3

write the third eigen vector

-x,--scale

scale the eigen vectors: multiply them by their eigen value (default is to return normalised eigen vectors)

-p INTEGER, --precision INTEGER

number of decimals (default: 6)

-h,--help,-?

Returns the manual page

AUTHORS

Written by Pierre Smars (first version: 2013)

BUGS

Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.

COPYRIGHT

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.

Pierre SMARS (tools, home page)