57 template <Backend backend=linalg_traits<Redux>::backend,
class Vector>
58 typename Vector::Scalar
dot(Vector a, Vector b)
67 template <Backend backend=linalg_traits<Redux>::backend,
class Matrix>
68 typename Matrix::Scalar
max(Matrix m)
80 template <Backend backend=linalg_traits<Redux>::backend,
class Vector>
86 #ifdef HAVE_LINALG_LIB
95 template <Backend backend=linalg_traits<Redux>::backend,
class Matrix>
96 typename Matrix::Scalar sum(Matrix m, bool no_diag=false)
109 template <Backend backend=linalg_traits<Redux>::backend,
class Matrix>
110 typename Matrix::Scalar sum_symmetric(Matrix m, bool no_diag=false)
123 template <Backend backend=linalg_traits<Redux>::backend,
class Matrix>
124 typename Matrix::Scalar sum_symmetric(Block<Matrix> b, bool no_diag=false)
138 template <Backend backend=linalg_traits<Redux>::backend,
class Matrix>
139 typename implementation::colwise_sum<backend,Matrix>::ReturnType colwise_sum(
140 Matrix m, bool no_diag=false)
153 template <Backend backend=linalg_traits<Redux>::backend,
class Matrix, class Vector>
154 void colwise_sum(Matrix m, Vector result, bool no_diag=
false)
167 template <Backend backend=linalg_traits<Redux>::backend,
class Matrix>
168 typename implementation::rowwise_sum<backend,Matrix>::ReturnType rowwise_sum(
169 Matrix m, bool no_diag=false)
182 template <Backend backend=linalg_traits<Redux>::backend,
class Matrix, class Vector>
183 void rowwise_sum(Matrix m, Vector result, bool no_diag=
false)
194 template <Backend backend=linalg_traits<Redux>::backend,
class Vector>
195 typename implementation::int2float<typename Vector::Scalar>::floatType mean(Vector a)
208 template <Backend backend=linalg_traits<Redux>::backend,
class Matrix>
209 typename implementation::int2float<typename Matrix::Scalar>::floatType mean(
210 Matrix m, bool no_diag)
223 template <Backend backend=linalg_traits<Redux>::backend,
class Matrix>
224 SGVector<typename implementation::rowwise_mean<backend,Matrix>::ReturnDataType>
225 rowwise_mean(Matrix m, bool no_diag=false)
236 template <Backend backend=linalg_traits<Redux>::backend,
class Matrix>
237 typename implementation::cholesky<backend,Matrix>::ReturnType cholesky(Matrix m, bool lower=true)
242 #endif // HAVE_LINALG_LIB
static SGVector< T > compute(Matrix m, bool no_diag)
static ReturnType compute(Matrix a)
static T compute(Matrix m, bool no_diag)
Vector::Scalar dot(Vector a, Vector b)
static ReturnType compute(Matrix A, bool lower)
static T compute(Matrix m, bool no_diag)
static T compute(Matrix m)
static SGVector< T > compute(Matrix m, bool no_diag)
static T compute(Vector a)
all of classes and functions are contained in the shogun namespace
static T compute(Vector a, Vector b)
Vector::Scalar vector_sum(Vector a)
Matrix::Scalar max(Matrix m)
static SGVector< ReturnDataType > compute(SGMatrix< T > m, bool no_diag)