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_33_t m, const cs_real_3_t v, 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_6_t m, const cs_real_3_t v, cs_real_3_t mv) |
| 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_3_t u, const cs_real_3_t v) |
| Compute the dot product of two vectors of 3 real values. More...
|
|
static cs_real_t | cs_math_3_square_norm (const cs_real_3_t v) |
| Compute the square norm of a vector of 3 real values. More...
|
|
static void | cs_math_sym_33_inv_cramer (const cs_real_6_t s, cs_real_6_t sout) |
| Compute the inverse of a symmetric matrix using Cramer's rule. NB: Symmetric matrix are stored as follows (s11, s22, s33, s12, s23, s13) More...
|
|
static void | cs_math_sym_33_product (const cs_real_6_t s1, const cs_real_6_t s2, cs_real_6_t sout) |
| Compute the product of two symmetric matrices. NB: Symmetric matrix are stored as follows (s11, s22, s33, s12, s23, s13) 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 inverse of a symmetric matrix using Cramer's rule. NB: Symmetric matrix are stored as follows (s11, s22, s33, s12, s23, s13)
- Parameters
-
[in] | s | symmetric matrix |
[out] | sout | sout = s1 * s2 |
Compute the product of two symmetric matrices. NB: Symmetric matrix are stored as follows (s11, s22, s33, s12, s23, s13)
- Parameters
-
[in] | s1 | symmetric matrix |
[in] | s2 | symmetric matrix |
[out] | sout | sout = s1 * s2 |