SHOGUN
6.0.0
|
Go to the source code of this file.
Functions | |
template<typename T , template< typename > class Container> | |
LinalgBackendBase * | infer_backend (const Container< T > &a) |
template<typename T , template< typename > class Container> | |
LinalgBackendBase * | infer_backend (const Container< T > &a, const Container< T > &b) |
template<typename T > | |
void | to_gpu (SGVector< T > &a, SGVector< T > &b) |
template<typename T > | |
void | to_gpu (SGMatrix< T > &a, SGMatrix< T > &b) |
template<typename T , template< typename > class Container> | |
void | to_gpu (Container< T > &a) |
template<typename T > | |
void | from_gpu (SGVector< T > &a, SGVector< T > &b) |
template<typename T > | |
void | from_gpu (SGMatrix< T > &a, SGMatrix< T > &b) |
template<typename T , template< typename > class Container> | |
void | from_gpu (Container< T > &a) |
template<typename T > | |
void | add (SGVector< T > &a, SGVector< T > &b, SGVector< T > &result, T alpha=1, T beta=1) |
template<typename T > | |
void | add (SGMatrix< T > &a, SGMatrix< T > &b, SGMatrix< T > &result, T alpha=1, T beta=1) |
template<typename T , template< typename > class Container> | |
Container< T > | add (Container< T > &a, Container< T > &b, T alpha=1, T beta=1) |
template<typename T > | |
SGMatrix< T > | cholesky_factor (const SGMatrix< T > &A, const bool lower=true) |
template<typename T > | |
SGVector< T > | cholesky_solver (const SGMatrix< T > &L, const SGVector< T > &b, const bool lower=true) |
template<typename T > | |
T | dot (const SGVector< T > &a, const SGVector< T > &b) |
template<typename T > | |
void | element_prod (Block< SGMatrix< T >> &a, Block< SGMatrix< T >> &b, SGMatrix< T > &result) |
template<typename T > | |
SGMatrix< T > | element_prod (Block< SGMatrix< T >> &a, Block< SGMatrix< T >> &b) |
template<typename T > | |
void | element_prod (SGMatrix< T > &a, SGMatrix< T > &b, SGMatrix< T > &result) |
template<typename T > | |
SGMatrix< T > | element_prod (SGMatrix< T > &a, SGMatrix< T > &b) |
template<typename T > | |
void | matrix_prod (SGMatrix< T > &A, SGVector< T > &b, SGVector< T > &result, bool transpose=false) |
template<typename T > | |
SGVector< T > | matrix_prod (SGMatrix< T > &A, SGVector< T > &b, bool transpose=false) |
template<typename T > | |
void | matrix_prod (SGMatrix< T > &A, SGMatrix< T > &B, SGMatrix< T > &result, bool transpose_A=false, bool transpose_B=false) |
template<typename T > | |
SGMatrix< T > | matrix_prod (SGMatrix< T > &A, SGMatrix< T > &B, bool transpose_A=false, bool transpose_B=false) |
template<typename T , template< typename > class Container> | |
T | max (const Container< T > &a) |
template<typename T , template< typename > class Container> | |
std::enable_if<!std::is_same< T, complex128_t >::value, float64_t >::type | mean (const Container< T > &a) |
template<template< typename > class Container> | |
complex128_t | mean (const Container< complex128_t > &a) |
template<typename T , template< typename > class Container> | |
void | range_fill (Container< T > &a, const T start=0) |
template<typename T > | |
void | scale (SGVector< T > &a, SGVector< T > &result, T alpha=1) |
template<typename T > | |
void | scale (SGMatrix< T > &A, SGMatrix< T > &result, T alpha=1) |
template<typename T , template< typename > class Container> | |
Container< T > | scale (Container< T > &a, T alpha=1) |
template<typename T , template< typename > class Container> | |
void | set_const (Container< T > &a, T value) |
template<typename T , template< typename > class Container> | |
T | sum (const Container< T > &a, bool no_diag=false) |
template<typename T > | |
T | sum (const Block< SGMatrix< T >> &a, bool no_diag=false) |
template<typename T > | |
T | sum_symmetric (const SGMatrix< T > &a, bool no_diag=false) |
template<typename T > | |
T | sum_symmetric (const Block< SGMatrix< T >> &a, bool no_diag=false) |
template<typename T > | |
SGVector< T > | colwise_sum (const SGMatrix< T > &mat, bool no_diag=false) |
template<typename T > | |
SGVector< T > | colwise_sum (const Block< SGMatrix< T >> &a, bool no_diag=false) |
template<typename T > | |
SGVector< T > | rowwise_sum (const SGMatrix< T > &mat, bool no_diag=false) |
template<typename T > | |
SGVector< T > | rowwise_sum (const Block< SGMatrix< T >> &a, bool no_diag=false) |