Loading [MathJax]/extensions/tex2jax.js
ug4
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ugmath_types.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2010-2015: G-CSC, Goethe University Frankfurt
3 * Author: Sebastian Reiter
4 *
5 * This file is part of UG4.
6 *
7 * UG4 is free software: you can redistribute it and/or modify it under the
8 * terms of the GNU Lesser General Public License version 3 (as published by the
9 * Free Software Foundation) with the following additional attribution
10 * requirements (according to LGPL/GPL v3 §7):
11 *
12 * (1) The following notice must be displayed in the Appropriate Legal Notices
13 * of covered and combined works: "Based on UG4 (www.ug4.org/license)".
14 *
15 * (2) The following notice must be displayed at a prominent place in the
16 * terminal output of covered works: "Based on UG4 (www.ug4.org/license)".
17 *
18 * (3) The following bibliography is recommended for citation and must be
19 * preserved in all covered files:
20 * "Reiter, S., Vogel, A., Heppner, I., Rupp, M., and Wittum, G. A massively
21 * parallel geometric multigrid solver on hierarchically distributed grids.
22 * Computing and visualization in science 16, 4 (2013), 151-164"
23 * "Vogel, A., Reiter, S., Rupp, M., Nägel, A., and Wittum, G. UG4 -- a novel
24 * flexible software system for simulating pde based models on high performance
25 * computers. Computing and visualization in science 16, 4 (2013), 165-179"
26 *
27 * This program is distributed in the hope that it will be useful,
28 * but WITHOUT ANY WARRANTY; without even the implied warranty of
29 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 * GNU Lesser General Public License for more details.
31 */
32
43#ifndef __H__UGMATH_TYPES__
44#define __H__UGMATH_TYPES__
45
48// This header defines common matrix and vector types
49
51// include vector and matrix classes
56
58// useful typedefs
59namespace ug
60{
61
64
67
70
73
76
79
82
85
86// end group vectors
88
89}
90
91#endif
A class for fixed size, dense matrices.
Definition math_matrix.h:63
a mathematical Vector with N entries.
Definition math_vector.h:97
MathVector< 2, number > vector2
a 2d vector
Definition ugmath_types.h:69
MathVector< 1, number > vector1
a 1d vector
Definition ugmath_types.h:66
MathVector< 3, number > vector3
a 3d vector
Definition ugmath_types.h:72
MathMatrix< 3, 3, number > matrix33
a 3x3 matrix
Definition ugmath_types.h:81
MathMatrix< 4, 4, number > matrix44
a 4x4 matrix
Definition ugmath_types.h:84
MathMatrix< 2, 2, number > matrix22
a 2x2 matrix
Definition ugmath_types.h:78
MathVector< 4, number > vector4
a 4d vector
Definition ugmath_types.h:75
the ug namespace