TheBoussinesqModel
3.2.1
|
Go to the source code of this file.
Functions | |
int | linear_comb_doublevector (DOUBLEVECTOR *result, DOUBLEVECTOR *a, DOUBLEVECTOR *b, double ca, double cb) |
double | max_doublevector (DOUBLEVECTOR *v) |
double | min_doublevector (DOUBLEVECTOR *v) |
MATH2 CONTAINS ALGEBRAIC ROUTINES FOR GEOtop AND OTHER MODELS
MATH2 Version 0.9375 KMackenzie
Copyright, 2009 Stefano Endrizzi, Emanuele Cordano, Matteo Dall'Amico and Riccardo Rigon
This file is part of MATH2. MATH2 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
MATH2 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, see http://www.gnu.org/licenses/.
Definition in file doublevector_utilities.h.
int linear_comb_doublevector | ( | DOUBLEVECTOR * | result, |
DOUBLEVECTOR * | a, | ||
DOUBLEVECTOR * | b, | ||
double | ca, | ||
double | cb | ||
) |
result | - (DOUBLEVECTOR *) result vector (r=a*ca+b*cb) |
a | - (DOUBLECTOR *) vector |
b | - (DOUBLECTOR *) vector |
ca | - coefficient for "a" vector |
cb | - coefficient for "b" vector |
Definition at line 43 of file doublevector_utilities.c.
References DOUBLEVECTOR::nh, and DOUBLEVECTOR::nl.
double max_doublevector | ( | DOUBLEVECTOR * | v) |
maximum value in a doublevector
Definition at line 76 of file doublevector_utilities.c.
References DOUBLEVECTOR::nl.
Referenced by jacobi_preconditioned_conjugate_gradient_search(), and Newton_convergence().
double min_doublevector | ( | DOUBLEVECTOR * | v) |
minimum value in a doublevector
Definition at line 94 of file doublevector_utilities.c.
References DOUBLEVECTOR::nl.