#include <primitives3d.h>
Inheritance diagram for dimension_dependent_primitives_3d:
Public Types | |
typedef Norm_frobenius | Norm_F |
typedef Norm_1 | Norm_columnsum |
typedef Norm_infinity | Norm_oo |
typedef Norm_infinity | Norm_rowsum |
Static Public Methods | |
scalar | det3 (const POINT &p1, const POINT &p2, const POINT &p3) |
returns the determinant of the matrix (p1,p2,p3). More... | |
scalar | triangle_area (const POINT &p1, const POINT &p2, const POINT &p3) |
returns the area of the triangle with corners pi in ![]() | |
POINT | vectorproduct (const POINT &p, const POINT &q) |
returns ![]() | |
void | inverse (POINT const &r1, POINT const &r2, POINT const &r3, POINT &i1, POINT &i2, POINT &i3) |
Calculate inverse by Cramer's rule. More... | |
void | solve (POINT const &A1, POINT const &A2, POINT const &A3, POINT &x, POINT const &b) |
Solve ![]() ![]() | |
real | matrixnorm_infinity (POINT const &A1, POINT const &A2, POINT const &A3) |
real | matrixnorm_1 (POINT const &A1, POINT const &A2, POINT const &A3) |
real | matrixnorm_frobenius (POINT const &A1, POINT const &A2, POINT const &A3) |
template<class NORM> real | condition (POINT const &A1, POINT const &A2, POINT const &A3, NORM const &N) |
This can be used to specialize dimension_dependent_primitives<POINT> to dimension_dependent_primitives_3d<POINT> for 3D points.
Definition at line 18 of file primitives3d.h.
|
Definition at line 133 of file primitives3d.h. |
|
Definition at line 139 of file primitives3d.h. |
|
Definition at line 145 of file primitives3d.h. |
|
Definition at line 146 of file primitives3d.h. |
|
returns the determinant of the matrix (p1,p2,p3).
Definition at line 23 of file primitives3d.h. References basic_algebraic_primitives::scalar. |
|
returns the area of the triangle with corners pi in
Definition at line 35 of file primitives3d.h. References basic_algebraic_primitives::norm_2, basic_algebraic_primitives::scalar, and vectorproduct. |
|
returns
Definition at line 40 of file primitives3d.h. Referenced by triangle_area. |
|
Calculate inverse by Cramer's rule. The inverse I = (i1,i2,i3) of the matrix (r1,r2,r3) with the rows ri is calculated using Cramer's rule. Definition at line 54 of file primitives3d.h. References det3, and basic_algebraic_primitives::scalar. Referenced by condition. |
|
Solve The implementation uses Cramer's rule. Definition at line 84 of file primitives3d.h. References det3, and basic_algebraic_primitives::scalar. |
|
Definition at line 97 of file primitives3d.h. References basic_algebraic_primitives::real. Referenced by dimension_dependent_primitives_3d::Norm_infinity::operator(). |
|
Calculate the 1-norm Definition at line 110 of file primitives3d.h. References basic_algebraic_primitives::norm_1, and basic_algebraic_primitives::real. Referenced by dimension_dependent_primitives_3d::Norm_1::operator(). |
|
Definition at line 122 of file primitives3d.h. References basic_algebraic_primitives::real, and basic_algebraic_primitives::squared_norm_2. Referenced by dimension_dependent_primitives_3d::Norm_frobenius::operator(). |
|
Definition at line 149 of file primitives3d.h. References det3, inverse, basic_algebraic_primitives::norm_2, and basic_algebraic_primitives::real. |