Go to the source code of this file.
|
void | symmetric_matrix_inverse (const cs_real_6_t s, cs_real_6_t sout) |
|
void | symmetric_matrix_product (const cs_real_6_t s1, const cs_real_6_t s2, cs_real_6_t sout) |
|
static void | cs_math_33_3_product (const cs_real_t m[3][3], const cs_real_t v[3], cs_real_3_t mv) |
| Compute the product of a matrix of 3x3 real values by a vector of 3 real values. More...
|
|
static void | cs_math_sym_33_3_product (const cs_real_t m[6], const cs_real_t v[3], cs_real_t mv[restrict 3]) |
| Compute the product of a symmetric matrix of 3x3 real values by a vector of 3 real values. NB: Symmetric matrix are stored as follows (s11, s22, s33, s12, s23, s13) More...
|
|
static cs_real_t | cs_math_3_dot_product (const cs_real_t u[3], const cs_real_t v[3]) |
| Compute the dot product of two vectors of 3 real values. More...
|
|
static cs_real_t | cs_math_3_square_norm (const cs_real_t v[3]) |
| Compute the square norm of a vector of 3 real values. More...
|
|
static void | cs_math_sym_33_inv_cramer (const cs_real_t s[6], cs_real_t sout[restrict 6]) |
| Compute the inverse of a symmetric matrix using Cramer's rule. More...
|
|
static void | cs_math_sym_33_product (const cs_real_t s1[6], const cs_real_t s2[6], cs_real_t sout[restrict 6]) |
| Compute the product of two symmetric matrices. More...
|
|
static void | cs_math_sym_33_double_product (const cs_real_t s1[6], const cs_real_t s2[6], const cs_real_t s3[6], cs_real_t sout[restrict 3][3]) |
| Compute the product of three symmetric matrices. More...
|
|
Compute the product of a matrix of 3x3 real values by a vector of 3 real values.
- Parameters
-
[in] | m | matrix of 3x3 real values |
[in] | v | vector of 3 real values |
[out] | mv | vector of 3 real values |
Compute the dot product of two vectors of 3 real values.
- Parameters
-
[in] | u | vector of 3 real values |
[in] | v | vector of 3 real values |
- Returns
- the resulting dot product u.v.
Compute the square norm of a vector of 3 real values.
- Parameters
-
[in] | v | vector of 3 real values |
- Returns
- square norm of v.
Compute the product of a symmetric matrix of 3x3 real values by a vector of 3 real values. NB: Symmetric matrix are stored as follows (s11, s22, s33, s12, s23, s13)
- Parameters
-
[in] | m | matrix of 3x3 real values |
[in] | v | vector of 3 real values |
[out] | mv | vector of 3 real values |
Compute the product of three symmetric matrices.
- Parameters
-
[in] | s1 | symmetric matrix |
[in] | s2 | symmetric matrix |
[in] | s3 | symmetric matrix |
[out] | sout | sout = s1 * s2 * s3 |
static void cs_math_sym_33_inv_cramer |
( |
const cs_real_t |
s[6], |
|
|
cs_real_t |
sout[restrict 6] |
|
) |
| |
|
inlinestatic |
Compute the inverse of a symmetric matrix using Cramer's rule.
- Parameters
-
[in] | s | symmetric matrix |
[out] | sout | sout = 1/s1 |
Compute the product of two symmetric matrices.
- Parameters
-
[in] | s1 | symmetric matrix |
[in] | s2 | symmetric matrix |
[out] | sout | sout = s1 * s2 |