|
OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
|
#include "FixedAlgebra/FArray1D.h"#include <algorithm>#include <numeric>#include <cmath>#include <functional>

Go to the source code of this file.
Classes | |
| class | FVector< T, N > |
| A templated representation for vectors. More... | |
Functions | |
| template<class T , int N> | |
| FVector< T, N > | operator+ (const FVector< T, N > &, const FVector< T, N > &) |
| Add. More... | |
| template<class T , int N> | |
| FVector< T, N > | operator- (const FVector< T, N > &, const FVector< T, N > &) |
| Subtract. More... | |
| template<class T , int N> | |
| T | operator* (const FVector< T, N > &, const FVector< T, N > &) |
| Dot product. More... | |
| template<class T , int N> | |
| FVector< T, N > | operator* (const FVector< T, N > &, const T &) |
| Multiply. More... | |
| template<class T , int N> | |
| FVector< T, N > | operator/ (const FVector< T, N > &, const T &) |
| Divide. More... | |
| template<class T , int N> | |
| FVector< T, N > | operator* (const T &, const FVector< T, N > &) |
| Multiply. More... | |
| template<class T , int N> | |
| T | euclidean_norm (const FVector< T, N > &) |
| Euclidean norm. More... | |
| template<class T , int N> | |
| T | scaled_norm (const FArray1D< T, N > D, const FVector< T, N > &V) |
| Euclidean norm of diagonal matrix D times FVector V. More... | |
| T euclidean_norm | ( | const FVector< T, N > & | V | ) |
Euclidean norm.
Definition at line 230 of file FVector.h.
References FArray1D< T, N >::begin(), FArray1D< T, N >::end(), sqrt(), and Attrib::Legacy::Distribution::T.

Dot product.
Definition at line 200 of file FVector.h.
References FArray1D< T, N >::begin(), FArray1D< T, N >::end(), and Attrib::Legacy::Distribution::T.

Multiply.
Definition at line 221 of file FVector.h.
References FArray1D< T, N >::begin(), FArray1D< T, N >::end(), and test::result.

| FVector< T, N > operator+ | ( | const FVector< T, N > & | lhs, |
| const FVector< T, N > & | rhs | ||
| ) |
Add.
Definition at line 180 of file FVector.h.
References FArray1D< T, N >::begin(), FArray1D< T, N >::end(), and test::result.

| FVector< T, N > operator- | ( | const FVector< T, N > & | lhs, |
| const FVector< T, N > & | rhs | ||
| ) |
Subtract.
Definition at line 189 of file FVector.h.
References FArray1D< T, N >::begin(), FArray1D< T, N >::end(), and test::result.

Euclidean norm of diagonal matrix D times FVector V.
Definition at line 236 of file FVector.h.
References FArray1D< T, N >::size(), sqrt(), sum(), and Attrib::Legacy::Distribution::T.

1.8.5