|
Flow123d
jenkins-Flow123d-windows-release-multijob-285
|
Auxiliary math functions. More...
Go to the source code of this file.
Functions | |
| static double | Inverse2 (SmallMtx2 a, SmallMtx2 b) |
| static double | Inverse3 (SmallMtx3 a, SmallMtx3 b) |
| static double | Inverse4 (SmallMtx4 a, SmallMtx4 b) |
| double | vector_length (double v[]) |
| double | scalar_product (double u[], double v[]) |
| void | normalize_vector (double u[]) |
| void | scale_vector (double u[], double k) |
| void | vector_product (double u[], double v[], double x[]) |
| void | vector_difference (double u[], double v[], double x[]) |
| double | Det3 (SmallMtx3 a) |
| double | MatrixInverse (double *a, double *b, int size) |
| void | PrintSmallMatrix (double *mtx, int size) |
| void | MatInverse (int n, double **a) |
| int | gauss (double *A, double *B, int s, double *R) |
| double | get_vectors_angle (double u[3], double v[3]) |
| void | matrix_x_matrix (double *A, int ra, int ca, double *B, int rb, int cb, double *X) |
Auxiliary math functions.
Copyright (C) 2007 Technical University of Liberec. All rights reserved.
Please make a following refer to Flow123d on your project site if you use the program for any purpose, especially for academic research: Flow123d, Research Centre: Advanced Remedial Technologies, Technical University of Liberec, Czech Republic
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 021110-1307, USA.
$Id$ $Revision$ $LastChangedBy$ $LastChangedDate$
Small matrix and vectors should be implemented by armadillo library.
Definition in file math_fce.cc.
| double Det3 | ( | SmallMtx3 | a | ) |
Definition at line 106 of file math_fce.cc.
| int gauss | ( | double * | A, |
| double * | B, | ||
| int | s, | ||
| double * | R | ||
| ) |
Definition at line 272 of file math_fce.cc.
| double get_vectors_angle | ( | double | u[3], |
| double | v[3] | ||
| ) |
Definition at line 348 of file math_fce.cc.
| void MatInverse | ( | int | n, |
| double ** | a | ||
| ) |
Definition at line 239 of file math_fce.cc.
| void matrix_x_matrix | ( | double * | A, |
| int | ra, | ||
| int | ca, | ||
| double * | B, | ||
| int | rb, | ||
| int | cb, | ||
| double * | X | ||
| ) |
Definition at line 364 of file math_fce.cc.
| double MatrixInverse | ( | double * | a, |
| double * | b, | ||
| int | size | ||
| ) |
| void normalize_vector | ( | double | u[] | ) |
| void PrintSmallMatrix | ( | double * | mtx, |
| int | size | ||
| ) |
| double scalar_product | ( | double | u[], |
| double | v[] | ||
| ) |
| void scale_vector | ( | double | u[], |
| double | k | ||
| ) |
Definition at line 72 of file math_fce.cc.
| void vector_difference | ( | double | u[], |
| double | v[], | ||
| double | x[] | ||
| ) |
Definition at line 92 of file math_fce.cc.
| double vector_length | ( | double | v[] | ) |
| void vector_product | ( | double | u[], |
| double | v[], | ||
| double | x[] | ||
| ) |
1.8.9.1