TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
cxx_interface.hpp File Reference
#include "../../blas/tools.hpp"
#include <complex>

Detailed Description

Provides a C++ interface for various LAPACK routines.

Definition in file cxx_interface.hpp.

Go to the source code of this file.

Functions

template<MemoryMatrix A>
int nda::lapack::get_ld (A const &a)
 Get the leading dimension in LAPACK jargon of an nda::MemoryMatrix.
 
template<MemoryMatrix A>
int nda::lapack::get_ncols (A const &a)
 Get the number of columns in LAPACK jargon of an nda::MemoryMatrix.
 

Variables

template<bool conj, bool transpose>
const char nda::lapack::get_op
 Variable template that determines the BLAS matrix operation tag ('N','T','C') based on the given boolean flags for conjugation and transposition.
 
template<Array A>
static constexpr bool nda::lapack::has_C_layout
 Constexpr variable that is true if the given nda::Array type has a C memory layout.
 
template<Array A>
static constexpr bool nda::lapack::has_F_layout
 Constexpr variable that is true if the given nda::Array type has a Fortran memory layout.
 
template<typename A>
static constexpr bool nda::lapack::is_conj_array_expr
 Constexpr variable that is true if the given type is a conjugate lazy expression.
 

Function Documentation

◆ get_ld()

template<MemoryMatrix A>
int nda::blas::get_ld ( A const & a)

Get the leading dimension in LAPACK jargon of an nda::MemoryMatrix.

Template Parameters
Anda::MemoryMatrix type.
Parameters
anda::MemoryMatrix object.
Returns
Leading dimension.

Definition at line 109 of file tools.hpp.

◆ get_ncols()

template<MemoryMatrix A>
int nda::blas::get_ncols ( A const & a)

Get the number of columns in LAPACK jargon of an nda::MemoryMatrix.

Template Parameters
Anda::MemoryMatrix type.
Parameters
anda::MemoryMatrix object.
Returns
Number of columns.

Definition at line 121 of file tools.hpp.

Variable Documentation

◆ get_op

template<bool conj, bool transpose>
const char nda::blas::get_op

Variable template that determines the BLAS matrix operation tag ('N','T','C') based on the given boolean flags for conjugation and transposition.

Template Parameters
conjBoolean flag for conjugation.
transposeBoolean flag for transposition.

Definition at line 91 of file tools.hpp.