DFT-EFE
 
Loading...
Searching...
No Matches
BlasLapack.h File Reference
Include dependency graph for BlasLapack.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  dftefe
 dealii includes
 
namespace  dftefe::linearAlgebra
 
namespace  dftefe::linearAlgebra::blasLapack
 

Functions

template<typename ValueType , typename dftefe::utils::MemorySpace memorySpace>
real_type< ValueType > dftefe::linearAlgebra::blasLapack::asum (size_type n, ValueType const *x, size_type incx, LinAlgOpContext< memorySpace > &context)
 
template<typename ValueType , typename dftefe::utils::MemorySpace memorySpace>
real_type< ValueType > dftefe::linearAlgebra::blasLapack::amax (size_type n, ValueType const *x, size_type incx, LinAlgOpContext< memorySpace > &context)
 
template<typename ValueType , typename dftefe::utils::MemorySpace memorySpace>
std::vector< double > dftefe::linearAlgebra::blasLapack::amaxsMultiVector (size_type vecSize, size_type numVec, ValueType const *multiVecData, LinAlgOpContext< memorySpace > &context)
 Template for computing \( l_{\inf} \) norms of all the numVec vectors in a multi Vector. More...
 
template<typename ValueType1 , typename ValueType2 , typename dftefe::utils::MemorySpace memorySpace>
void dftefe::linearAlgebra::blasLapack::axpy (size_type n, scalar_type< ValueType1, ValueType2 > alpha, ValueType1 const *x, size_type incx, ValueType2 *y, size_type incy, LinAlgOpContext< memorySpace > &context)
 
template<typename ValueType1 , typename ValueType2 , typename dftefe::utils::MemorySpace memorySpace>
void dftefe::linearAlgebra::blasLapack::reciprocalX (size_type n, const ValueType1 alpha, ValueType2 const *x, scalar_type< ValueType1, ValueType2 > *y, LinAlgOpContext< memorySpace > &context)
 Template for computing the multiplicative inverse of all the elements of x, does not check if any element is zero computes \f $ y[i] = \frac{alpha}{x[i]} $ \f. More...
 
template<typename ValueType1 , typename ValueType2 , typename dftefe::utils::MemorySpace memorySpace>
void dftefe::linearAlgebra::blasLapack::hadamardProduct (size_type n, const ValueType1 *x, const ValueType2 *y, scalar_type< ValueType1, ValueType2 > *z, LinAlgOpContext< memorySpace > &context)
 Template for performing \( z = \alpha x$ @param[in] size size of the array @param[in] \) alpha \( scalar @param[in] x array @param[out] z array */ template <typename ValueType1, typename ValueType2, typename dftefe::utils::MemorySpace memorySpace> void ascale(size_type n, ValueType1 alpha, const ValueType2 * x, scalar_type<ValueType1, ValueType2> *z, LinAlgOpContext<memorySpace> & context); /** @brief Template for performing \) z_i = x_i * y_i$. More...