SHOGUN
4.2.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
src
shogun
mathematics
linalg
linsolver
DirectSparseLinearSolver.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General turalPublic License as published by
4
* the Free Software Foundation; either version 3 of the License, or
5
* (at your option) any later version.
6
*
7
* Written (W) 2013 Soumyajit De
8
*/
9
10
#ifndef DIRECT_SPARSE_LINEAR_SOLVER_H_
11
#define DIRECT_SPARSE_LINEAR_SOLVER_H_
12
13
#include <
shogun/lib/config.h
>
14
15
#include <
shogun/mathematics/linalg/linsolver/LinearSolver.h
>
16
17
namespace
shogun
18
{
19
23
class
CDirectSparseLinearSolver
:
public
CLinearSolver
<float64_t, float64_t>
24
{
25
public
:
27
CDirectSparseLinearSolver
();
28
30
virtual
~CDirectSparseLinearSolver
();
31
39
virtual
SGVector<float64_t>
solve
(
CLinearOperator<float64_t>
* A,
40
SGVector<float64_t>
b);
41
43
virtual
const
char
*
get_name
()
const
44
{
45
return
"DirectSparseLinearSolver"
;
46
}
47
48
};
49
50
}
51
52
#endif // DIRECT_SPARSE_LINEAR_SOLVER_H_
shogun::CDirectSparseLinearSolver::solve
virtual SGVector< float64_t > solve(CLinearOperator< float64_t > *A, SGVector< float64_t > b)
Definition:
DirectSparseLinearSolver.cpp:32
shogun::CDirectSparseLinearSolver::CDirectSparseLinearSolver
CDirectSparseLinearSolver()
Definition:
DirectSparseLinearSolver.cpp:23
config.h
shogun::CDirectSparseLinearSolver::~CDirectSparseLinearSolver
virtual ~CDirectSparseLinearSolver()
Definition:
DirectSparseLinearSolver.cpp:28
shogun::SGVector< float64_t >
shogun::CDirectSparseLinearSolver::get_name
virtual const char * get_name() const
Definition:
DirectSparseLinearSolver.h:43
shogun::CLinearSolver
Abstract template base class that provides an abstract solve method for linear systems, that takes a linear operator , a vector , solves the system and returns the vector .
Definition:
LinearSolver.h:25
shogun
all of classes and functions are contained in the shogun namespace
Definition:
class_list.h:18
shogun::CLinearOperator< float64_t >
shogun::CDirectSparseLinearSolver
Class that provides a solve method for real sparse-matrix linear systems using LLT.
Definition:
DirectSparseLinearSolver.h:23
LinearSolver.h
SHOGUN
Machine Learning Toolbox - Documentation