Flow123d  release_2.2.0-33-g759111d
Functions
vector.cpp File Reference
#include <cmath>
#include "mesh/ngh/include/point.h"
#include "mesh/ngh/include/myvector.h"
#include "mesh/ngh/include/mathfce.h"

Go to the source code of this file.

Functions

TVector operator* (const TVector &U, double x)
 
TVector operator* (double x, const TVector &U)
 
TVector Cross (const TVector &U, const TVector &V)
 
double Dot (const TVector &U, const TVector &V)
 
bool AreParallel (const TVector &U, const TVector &V)
 
bool ArePerpendicular (const TVector &U, const TVector &V)
 

Detailed Description

 * Copyright (C) 2015 Technical University of Liberec. All rights reserved.

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. (http://www.gnu.org/licenses/gpl-3.0.en.html)

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.

Definition in file vector.cpp.

Function Documentation

bool AreParallel ( const TVector U,
const TVector V 
)

Definition at line 230 of file vector.cpp.

Here is the caller graph for this function:

bool ArePerpendicular ( const TVector U,
const TVector V 
)

Definition at line 242 of file vector.cpp.

Here is the caller graph for this function:

TVector Cross ( const TVector U,
const TVector V 
)

Definition at line 180 of file vector.cpp.

Here is the caller graph for this function:

double Dot ( const TVector U,
const TVector V 
)

Definition at line 197 of file vector.cpp.

Here is the caller graph for this function:

TVector operator* ( const TVector U,
double  x 
)

Definition at line 137 of file vector.cpp.

TVector operator* ( double  x,
const TVector U 
)

Definition at line 143 of file vector.cpp.