|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|


Go to the source code of this file.
Classes | |
| struct | gsl_matrix |
| Dense real matrix in row-major storage. More... | |
| struct | gsl_matrix_complex |
| Dense complex matrix in row-major storage. More... | |
| struct | gsl_vector |
| Dense real vector with stride. More... | |
| struct | gsl_vector_complex |
| Dense complex vector with stride. More... | |
Functions | |
| gsl_matrix * | gsl_matrix_alloc (size_t n1, size_t n2) |
| Allocate a zero-initialized real matrix of size \(n_1 \times n_2\). | |
| void | gsl_matrix_free (gsl_matrix *m) |
Free a matrix allocated by gsl_matrix_alloc. | |
| gsl_matrix_complex * | gsl_matrix_complex_alloc (size_t n1, size_t n2) |
| Allocate a zero-initialized complex matrix of size \(n_1 \times n_2\). | |
| void | gsl_matrix_complex_free (gsl_matrix_complex *m) |
Free a matrix allocated by gsl_matrix_complex_alloc. | |
| gsl_vector * | gsl_vector_alloc (size_t n) |
| Allocate a zero-initialized real vector of length \(n\). | |
| void | gsl_vector_free (gsl_vector *v) |
Free a vector allocated by gsl_vector_alloc. | |
| gsl_vector_complex * | gsl_vector_complex_alloc (size_t n) |
| Allocate a zero-initialized complex vector of length \(n\). | |
| void | gsl_vector_complex_free (gsl_vector_complex *v) |
Free a vector allocated by gsl_vector_complex_alloc. | |
| double * | gsl_matrix_ptr (gsl_matrix *m, size_t i, size_t j) |
| Return pointer to element \((i,j)\) in a real matrix. | |
| const double * | gsl_matrix_ptr (const gsl_matrix *m, size_t i, size_t j) |
| Return const pointer to element \((i,j)\) in a real matrix. | |
| gsl_complex * | gsl_matrix_complex_ptr (gsl_matrix_complex *m, size_t i, size_t j) |
| Return pointer to element \((i,j)\) in a complex matrix. | |
| const gsl_complex * | gsl_matrix_complex_ptr (const gsl_matrix_complex *m, size_t i, size_t j) |
| Return const pointer to element \((i,j)\) in a complex matrix. | |
| double * | gsl_vector_ptr (gsl_vector *v, size_t i) |
| Return pointer to element \(i\) in a real vector. | |
| const double * | gsl_vector_ptr (const gsl_vector *v, size_t i) |
| Return const pointer to element \(i\) in a real vector. | |
| gsl_complex * | gsl_vector_complex_ptr (gsl_vector_complex *v, size_t i) |
| Return pointer to element \(i\) in a complex vector. | |
| const gsl_complex * | gsl_vector_complex_ptr (const gsl_vector_complex *v, size_t i) |
| Return const pointer to element \(i\) in a complex vector. | |
| void | gsl_matrix_memcpy (gsl_matrix *dest, const gsl_matrix *src) |
Copy src into dest (real matrices). | |
| void | gsl_matrix_complex_memcpy (gsl_matrix_complex *dest, const gsl_matrix_complex *src) |
Copy src into dest (complex matrices). | |
| void | gsl_matrix_transpose_memcpy (gsl_matrix *dest, const gsl_matrix *src) |
Copy the transpose into dest. | |
| void | gsl_matrix_complex_transpose_memcpy (gsl_matrix_complex *dest, const gsl_matrix_complex *src) |
Copy the transpose into dest (complex). | |
| void | gsl_matrix_scale (gsl_matrix *m, double x) |
| Scale a matrix in-place. | |
| void | gsl_matrix_complex_scale (gsl_matrix_complex *m, gsl_complex x) |
| Scale a complex matrix in-place. | |
| void | gsl_matrix_add (gsl_matrix *a, const gsl_matrix *b) |
| Add another matrix in-place. | |
| void | gsl_matrix_complex_add (gsl_matrix_complex *a, const gsl_matrix_complex *b) |
| Add another complex matrix in-place. | |
| void | gsl_vector_memcpy (gsl_vector *dest, const gsl_vector *src) |
| void | gsl_vector_complex_memcpy (gsl_vector_complex *dest, const gsl_vector_complex *src) |
Copy src into dest (complex vectors). | |
| void | gsl_vector_scale (gsl_vector *v, double x) |
| Scale a vector in-place. | |
| void | gsl_vector_complex_scale (gsl_vector_complex *v, gsl_complex x) |
| Scale a complex vector in-place. | |
| void | gsl_vector_add (gsl_vector *a, const gsl_vector *b) |
| Add another vector in-place. | |
| void | gsl_vector_complex_add (gsl_vector_complex *a, const gsl_vector_complex *b) |
| Add another complex vector in-place. | |
| void | gsl_matrix_set (gsl_matrix *m, size_t i, size_t j, double x) |
| Set \(m_{ij} = x\). | |
| double | gsl_matrix_get (const gsl_matrix *m, size_t i, size_t j) |
| Get \(m_{ij}\). | |
| void | gsl_matrix_set_all (gsl_matrix *m, double x) |
Set all entries to x. | |
| void | gsl_matrix_set_zero (gsl_matrix *m) |
| Set all entries to zero. | |
| void | gsl_matrix_set_identity (gsl_matrix *m) |
| Set to identity on the main diagonal. | |
| void | gsl_matrix_complex_set (gsl_matrix_complex *m, size_t i, size_t j, gsl_complex x) |
| Set complex entry \(m_{ij} = x\). | |
| gsl_complex | gsl_matrix_complex_get (const gsl_matrix_complex *m, size_t i, size_t j) |
| Get complex entry \(m_{ij}\). | |
| void | gsl_matrix_complex_set_zero (gsl_matrix_complex *m) |
| Set all complex entries to zero. | |
| void | gsl_vector_set (gsl_vector *v, size_t i, double x) |
| Set \(v_i = x\). | |
| double | gsl_vector_get (const gsl_vector *v, size_t i) |
| Get \(v_i\). | |
| void | gsl_vector_set_all (gsl_vector *v, double x) |
Set all entries to x. | |
| void | gsl_vector_set_zero (gsl_vector *v) |
| Set all entries to zero. | |
| void | gsl_vector_complex_set (gsl_vector_complex *v, size_t i, gsl_complex x) |
| Set complex entry \(v_i = x\). | |
| gsl_complex | gsl_vector_complex_get (const gsl_vector_complex *v, size_t i) |
| Get complex entry \(v_i\). | |
| void | gsl_vector_complex_set_zero (gsl_vector_complex *v) |
| Set all complex entries to zero. | |
|
inline |
Add another matrix in-place.
Computes \(a \leftarrow a + b\).
| a | Input/Output: accumulator matrix. |
| b | Input: matrix added to a. |
Definition at line 346 of file GSLMatrix.h.
References gsl_matrix::data, gsl_matrix::size1, and gsl_matrix::size2.
|
inline |
Allocate a zero-initialized real matrix of size \(n_1 \times n_2\).
| n1 | Input: number of rows. |
| n2 | Input: number of columns. |
Definition at line 94 of file GSLMatrix.h.
References gsl_matrix::data, gsl_matrix::owner, gsl_matrix::size1, gsl_matrix::size2, and gsl_matrix::tda.
Referenced by interpolation::MMatrix< Tmplt >::build_matrix(), interpolation::MMatrix< Tmplt >::MMatrix(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
|
inline |
Add another complex matrix in-place.
Computes \(a \leftarrow a + b\).
| a | Input/Output: accumulator matrix. |
| b | Input: matrix added to a. |
Definition at line 360 of file GSLMatrix.h.
References gsl_matrix_complex::data, gsl_complex_add(), gsl_matrix_complex::size1, and gsl_matrix_complex::size2.

|
inline |
Allocate a zero-initialized complex matrix of size \(n_1 \times n_2\).
| n1 | Input: number of rows. |
| n2 | Input: number of columns. |
Definition at line 120 of file GSLMatrix.h.
References gsl_matrix_complex::data, gsl_matrix_complex::owner, gsl_matrix_complex::size1, gsl_matrix_complex::size2, and gsl_matrix_complex::tda.
Referenced by interpolation::MMatrix< Tmplt >::build_matrix(), interpolation::MMatrix< Tmplt >::build_matrix(), gsl_eigen_nonsymmv(), interpolation::MMatrix< Tmplt >::MMatrix(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
|
inline |
Free a matrix allocated by gsl_matrix_complex_alloc.
| m | Input: matrix to release (can be null). |
Definition at line 136 of file GSLMatrix.h.
References gsl_matrix_complex::data, and gsl_matrix_complex::owner.
Referenced by interpolation::MMatrix< Tmplt >::delete_matrix(), gsl_eigen_nonsymmv(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
|
inline |
Get complex entry \(m_{ij}\).
| m | Input: matrix. |
| i | Input: row index. |
| j | Input: column index. |
Definition at line 510 of file GSLMatrix.h.
References gsl_matrix_complex_ptr().
Referenced by TEST_F(), TEST_F(), and TEST_F().

|
inline |
Copy src into dest (complex matrices).
| dest | Output: destination matrix (must match size). |
| src | Input: source matrix. |
Definition at line 279 of file GSLMatrix.h.
References gsl_matrix_complex::data, gsl_matrix_complex::size1, and gsl_matrix_complex::size2.
Referenced by interpolation::MMatrix< Tmplt >::MMatrix().
|
inline |
Return const pointer to element \((i,j)\) in a complex matrix.
| m | Input: matrix. |
| i | Input: row index. |
| j | Input: column index. |
Definition at line 227 of file GSLMatrix.h.
|
inline |
Return pointer to element \((i,j)\) in a complex matrix.
| m | Input: matrix. |
| i | Input: row index. |
| j | Input: column index. |
Definition at line 217 of file GSLMatrix.h.
References gsl_matrix_complex::ptr().
Referenced by gsl_blas_zgemm(), gsl_blas_zgemv(), gsl_eigen_nonsymmv(), gsl_linalg_complex_LU_decomp(), gsl_linalg_complex_LU_det(), gsl_linalg_complex_LU_invert(), gsl_matrix_complex_get(), gsl_matrix_complex_set(), gsl_matrix_complex_transpose_memcpy(), interpolation::MMatrix< Tmplt >::operator()(), and interpolation::MMatrix< Tmplt >::operator()().

|
inline |
Scale a complex matrix in-place.
Computes \(m \leftarrow x\,m\).
| m | Input/Output: matrix scaled in-place. |
| x | Input: scale factor. |
Definition at line 335 of file GSLMatrix.h.
References gsl_matrix_complex::data, gsl_complex_mul(), gsl_matrix_complex::size1, and gsl_matrix_complex::size2.

|
inline |
Set complex entry \(m_{ij} = x\).
| m | Input/Output: matrix to update. |
| i | Input: row index. |
| j | Input: column index. |
| x | Input: value to assign. |
Definition at line 500 of file GSLMatrix.h.
References gsl_matrix_complex_ptr().
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

|
inline |
Set all complex entries to zero.
| m | Input/Output: matrix to clear. |
Definition at line 517 of file GSLMatrix.h.
References gsl_matrix_complex::data, gsl_matrix_complex::size1, and gsl_matrix_complex::size2.
Referenced by TEST_F().
|
inline |
Copy the transpose into dest (complex).
Computes \(\mathrm{dest} = \mathrm{src}^T\) (no conjugation).
| dest | Output: destination matrix of size \(n_2 \times n_1\). |
| src | Input: source matrix. |
Definition at line 307 of file GSLMatrix.h.
References gsl_matrix_complex_ptr(), gsl_matrix_complex::size1, and gsl_matrix_complex::size2.
Referenced by interpolation::MMatrix< Tmplt >::T().

|
inline |
Free a matrix allocated by gsl_matrix_alloc.
| m | Input: matrix to release (can be null). |
Definition at line 108 of file GSLMatrix.h.
References gsl_matrix::data, and gsl_matrix::owner.
Referenced by interpolation::MMatrix< Tmplt >::delete_matrix(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
|
inline |
Get \(m_{ij}\).
| m | Input: matrix. |
| i | Input: row index. |
| j | Input: column index. |
Definition at line 463 of file GSLMatrix.h.
References gsl_matrix_ptr().
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

|
inline |
Copy src into dest (real matrices).
Computes \(\mathrm{dest}_{ij} = \mathrm{src}_{ij}\).
| dest | Output: destination matrix (must match size). |
| src | Input: source matrix. |
Definition at line 268 of file GSLMatrix.h.
References gsl_matrix::data, gsl_matrix::size1, and gsl_matrix::size2.
|
inline |
Return const pointer to element \((i,j)\) in a real matrix.
| m | Input: matrix. |
| i | Input: row index. |
| j | Input: column index. |
Definition at line 207 of file GSLMatrix.h.
|
inline |
Return pointer to element \((i,j)\) in a real matrix.
| m | Input: matrix. |
| i | Input: row index. |
| j | Input: column index. |
Definition at line 199 of file GSLMatrix.h.
References gsl_matrix::ptr().
Referenced by gsl_blas_dgemm(), gsl_blas_dgemv(), gsl_eigen_nonsymm(), gsl_eigen_nonsymmv(), gsl_linalg_LU_decomp(), gsl_linalg_LU_det(), gsl_linalg_LU_invert(), gsl_matrix_get(), gsl_matrix_set(), gsl_matrix_transpose_memcpy(), interpolation::MMatrix< Tmplt >::operator()(), and interpolation::MMatrix< Tmplt >::operator()().

|
inline |
Scale a matrix in-place.
Computes \(m \leftarrow x\,m\).
| m | Input/Output: matrix scaled in-place. |
| x | Input: scale factor. |
Definition at line 324 of file GSLMatrix.h.
References gsl_matrix::data, gsl_matrix::size1, and gsl_matrix::size2.
|
inline |
Set \(m_{ij} = x\).
| m | Input/Output: matrix to update. |
| i | Input: row index. |
| j | Input: column index. |
| x | Input: value to assign. |
Definition at line 453 of file GSLMatrix.h.
References gsl_matrix_ptr().
Referenced by gsl_matrix_set_identity(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

|
inline |
Set all entries to x.
| m | Input/Output: matrix to fill. |
| x | Input: fill value. |
Definition at line 471 of file GSLMatrix.h.
References gsl_matrix::data, gsl_matrix::size1, and gsl_matrix::size2.
Referenced by gsl_matrix_set_zero(), TEST_F(), TEST_F(), and TEST_F().
|
inline |
Set to identity on the main diagonal.
Computes \(m_{ii}=1\) and \(m_{ij}=0\) for \(i\neq j\).
| m | Input/Output: matrix to set to identity. |
Definition at line 486 of file GSLMatrix.h.
References gsl_matrix_set(), gsl_matrix_set_zero(), gsl_matrix::size1, and gsl_matrix::size2.
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

|
inline |
Set all entries to zero.
| m | Input/Output: matrix to clear. |
Definition at line 480 of file GSLMatrix.h.
References gsl_matrix_set_all().
Referenced by gsl_matrix_set_identity(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

|
inline |
Copy the transpose into dest.
Computes \(\mathrm{dest} = \mathrm{src}^T\).
| dest | Output: destination matrix of size \(n_2 \times n_1\). |
| src | Input: source matrix. |
Definition at line 291 of file GSLMatrix.h.
References gsl_matrix_ptr(), gsl_matrix::size1, and gsl_matrix::size2.
Referenced by interpolation::MMatrix< Tmplt >::T().

|
inline |
Add another vector in-place.
Computes \(a \leftarrow a + b\).
| a | Input/Output: accumulator vector. |
| b | Input: vector added to a. |
Definition at line 423 of file GSLMatrix.h.
References gsl_vector_ptr(), and gsl_vector::size.
Referenced by TEST_F().

|
inline |
Allocate a zero-initialized real vector of length \(n\).
| n | Input: vector length. |
Definition at line 147 of file GSLMatrix.h.
References gsl_vector::data, gsl_vector::owner, gsl_vector::size, and gsl_vector::stride.
Referenced by interpolation::MVector< Tmplt >::build_vector(), interpolation::MVector< Tmplt >::operator=(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
|
inline |
Add another complex vector in-place.
Computes \(a \leftarrow a + b\).
| a | Input/Output: accumulator vector. |
| b | Input: vector added to a. |
Definition at line 437 of file GSLMatrix.h.
References gsl_complex_add(), gsl_vector_complex_ptr(), and gsl_vector_complex::size.

|
inline |
Allocate a zero-initialized complex vector of length \(n\).
| n | Input: vector length. |
Definition at line 171 of file GSLMatrix.h.
References gsl_vector_complex::data, gsl_vector_complex::owner, gsl_vector_complex::size, and gsl_vector_complex::stride.
Referenced by interpolation::MVector< Tmplt >::build_vector(), interpolation::MVector< Tmplt >::operator=(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
|
inline |
Free a vector allocated by gsl_vector_complex_alloc.
| v | Input: vector to release (can be null). |
Definition at line 186 of file GSLMatrix.h.
References gsl_vector_complex::data, and gsl_vector_complex::owner.
Referenced by interpolation::MVector< Tmplt >::build_vector(), interpolation::MVector< Tmplt >::delete_vector(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
|
inline |
Get complex entry \(v_i\).
| v | Input: vector. |
| i | Input: element index. |
Definition at line 566 of file GSLMatrix.h.
References gsl_vector_complex_ptr().
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

|
inline |
Copy src into dest (complex vectors).
| dest | Output: destination vector (must match size). |
| src | Input: source vector. |
Definition at line 387 of file GSLMatrix.h.
References gsl_vector_complex_ptr(), and gsl_vector_complex::size.
Referenced by interpolation::MVector< Tmplt >::operator=().

|
inline |
Return const pointer to element \(i\) in a complex vector.
| v | Input: vector. |
| i | Input: element index. |
Definition at line 259 of file GSLMatrix.h.
|
inline |
Return pointer to element \(i\) in a complex vector.
| v | Input: vector. |
| i | Input: element index. |
Definition at line 252 of file GSLMatrix.h.
References gsl_vector_complex::ptr().
Referenced by gsl_blas_zgemv(), gsl_eigen_nonsymm(), gsl_eigen_nonsymmv(), gsl_vector_complex_add(), gsl_vector_complex_get(), gsl_vector_complex_memcpy(), gsl_vector_complex_scale(), gsl_vector_complex_set(), gsl_vector_complex_set_zero(), interpolation::MVector< Tmplt >::operator()(), and interpolation::MVector< Tmplt >::operator()().

|
inline |
Scale a complex vector in-place.
Computes \(v \leftarrow x\,v\).
| v | Input/Output: vector scaled in-place. |
| x | Input: scale factor. |
Definition at line 412 of file GSLMatrix.h.
References gsl_complex_mul(), gsl_vector_complex_ptr(), and gsl_vector_complex::size.
Referenced by TEST_F().

|
inline |
Set complex entry \(v_i = x\).
| v | Input/Output: vector to update. |
| i | Input: element index. |
| x | Input: value to assign. |
Definition at line 557 of file GSLMatrix.h.
References gsl_vector_complex_ptr().
Referenced by TEST_F().

|
inline |
Set all complex entries to zero.
| v | Input/Output: vector to clear. |
Definition at line 573 of file GSLMatrix.h.
References gsl_vector_complex_ptr(), and gsl_vector_complex::size.

|
inline |
Free a vector allocated by gsl_vector_alloc.
| v | Input: vector to release (can be null). |
Definition at line 160 of file GSLMatrix.h.
References gsl_vector::data, and gsl_vector::owner.
Referenced by interpolation::MVector< Tmplt >::build_vector(), interpolation::MVector< Tmplt >::delete_vector(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
|
inline |
Get \(v_i\).
| v | Input: vector. |
| i | Input: element index. |
Definition at line 535 of file GSLMatrix.h.
References gsl_vector_ptr().
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

|
inline |
Computes \(\mathrm{dest}_i = \mathrm{src}_i\).
| dest | Output: destination vector (must match size). |
| src | Input: source vector. |
Definition at line 374 of file GSLMatrix.h.
References gsl_vector_ptr(), and gsl_vector::size.
Referenced by interpolation::MVector< Tmplt >::operator=().

|
inline |
Return const pointer to element \(i\) in a real vector.
| v | Input: vector. |
| i | Input: element index. |
Definition at line 243 of file GSLMatrix.h.
|
inline |
Return pointer to element \(i\) in a real vector.
| v | Input: vector. |
| i | Input: element index. |
Definition at line 236 of file GSLMatrix.h.
References gsl_vector::ptr().
Referenced by gsl_blas_dgemv(), gsl_vector_add(), gsl_vector_get(), gsl_vector_memcpy(), gsl_vector_scale(), gsl_vector_set(), gsl_vector_set_all(), interpolation::MVector< Tmplt >::operator()(), and interpolation::MVector< Tmplt >::operator()().

|
inline |
Scale a vector in-place.
Computes \(v \leftarrow x\,v\).
| v | Input/Output: vector scaled in-place. |
| x | Input: scale factor. |
Definition at line 401 of file GSLMatrix.h.
References gsl_vector_ptr(), and gsl_vector::size.
Referenced by TEST_F().

|
inline |
Set \(v_i = x\).
| v | Input/Output: vector to update. |
| i | Input: element index. |
| x | Input: value to assign. |
Definition at line 528 of file GSLMatrix.h.
References gsl_vector_ptr().
Referenced by TEST_F(), TEST_F(), and TEST_F().

|
inline |
Set all entries to x.
| v | Input/Output: vector to fill. |
| x | Input: fill value. |
Definition at line 541 of file GSLMatrix.h.
References gsl_vector_ptr(), and gsl_vector::size.
Referenced by gsl_vector_set_zero(), TEST_F(), and TEST_F().

|
inline |
Set all entries to zero.
| v | Input/Output: vector to clear. |
Definition at line 550 of file GSLMatrix.h.
References gsl_vector_set_all().
