Ensign
Low-rank framework for multi-core CPUs and GPUs
Loading...
Searching...
No Matches
coefficients.hpp File Reference

Computes weighted coefficients and integrals of low-rank factors (the c and d factors in the notation of https://doi.org/10.1137/18M116383X). More...

Go to the source code of this file.

Namespaces

namespace  Ensign
 Core namespace for Ensign's numerical algorithms and data structures.
 

Functions

template<class T >
void Ensign::coeff (const multi_array< T, 2 > &a, const multi_array< T, 2 > &b, T w, multi_array< T, 2 > &out, const Ensign::Matrix::blas_ops &blas)
 Computes a low-rank coefficient that approximates \(\int a_i(x) b_j(x) \,dx\).
 
template<class T >
void Ensign::coeff (const multi_array< T, 2 > &a, const multi_array< T, 2 > &b, const multi_array< T, 1 > &w, multi_array< T, 2 > &out, const Ensign::Matrix::blas_ops &blas)
 Computes a low-rank coefficient that approximates \(\int a_i(x) b_j(x) \,dx\).
 
template<class T >
void Ensign::integrate (const multi_array< T, 2 > &a, T w, multi_array< T, 1 > &out, const Ensign::Matrix::blas_ops &blas)
 Computes an approximation to the integral \(\int a_i(x) \,dx\).
 
template<class T >
void Ensign::integrate (const multi_array< T, 2 > &a, const multi_array< T, 1 > &w, multi_array< T, 1 > &out, const Ensign::Matrix::blas_ops &blas)
 Computes an approximation to the integral \(\int a_i(x) \,dx\).
 
template<class T >
void Ensign::coeff (const multi_array< T, 2 > &a, const multi_array< T, 2 > &b, const multi_array< T, 2 > &c, T w, multi_array< T, 3 > &out, const Ensign::Matrix::blas_ops &blas)
 Computes a low-rank coefficient that approximates \(\int a_i(x) b_j(x) b_k(x) \,dx\).
 

Detailed Description

Computes weighted coefficients and integrals of low-rank factors (the c and d factors in the notation of https://doi.org/10.1137/18M116383X).

Definition in file coefficients.hpp.