DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
Go to the source code of this file.
Namespaces | |
spams | |
spams::FISTA | |
Functions | |
template<typename T > | |
void | spams::FISTA::ADMM (const SplittingFunction< T, Matrix< T > > &loss, const SplittingFunction< T, SpMatrix< T > > ®, const Vector< T > &w0, Vector< T > &w, Vector< T > &optim_info, const ParamFISTA< T > ¶m) |
template<typename T > | |
void | spams::FISTA::convert_paths_to_mat (const List< Path< long long > * > &paths, SpMatrix< T > &paths_mat, const int n) |
template<typename T , typename D , typename E > | |
T | spams::FISTA::duality_gap (Loss< T, D, E > &loss, Regularizer< T, D > ®ularizer, const D &x, const T lambda, T &best_dual, const bool verbose=false) |
template<typename T , typename D , typename E > | |
T | spams::FISTA::duality_gap (Loss< T, D, E > &loss, Regularizer< T, D > ®ularizer, const D &x, const T lambda, const bool verbose=false) |
template<typename T > | |
void | spams::FISTA::dualityGraph (const Matrix< T > &X, const Matrix< T > &D, const Matrix< T > &alpha0, Vector< T > &res, const ParamFISTA< T > ¶m, const GraphStruct< T > *graph_st) |
template<typename T > | |
void | spams::FISTA::EvalGraphPath (const Matrix< T > &alpha0, const ParamFISTA< T > ¶m, Vector< T > &val_loss, const GraphPathStruct< T > *graph_path_st, SpMatrix< T > *paths=NULL) |
template<typename T , typename D , typename E > | |
void | spams::FISTA::FISTA_Generic (Loss< T, D, E > &loss, Regularizer< T, D > ®ularizer, const D &x0, D &x, Vector< T > &optim_info, const ParamFISTA< T > ¶m) |
template<typename T , typename D , typename E > | |
void | spams::FISTA::ISTA_Generic (Loss< T, D, E > &loss, Regularizer< T, D > ®ularizer, const D &x0, D &x, Vector< T > &optim_info, const ParamFISTA< T > ¶m) |
template<typename T > | |
T | spams::FISTA::LagrangianADMM (const SplittingFunction< T, Matrix< T > > &loss, const SplittingFunction< T, SpMatrix< T > > ®, const T lambda, const T gamma, const Vector< T > &w, const Matrix< T > &splitted_loss, const SpMatrix< T > &splitted_reg, const Matrix< T > &multi_loss, const SpMatrix< T > &multi_reg, T &los, const T *weights=NULL) |
template<typename T > | |
void | spams::FISTA::LinADMM (const SplittingFunction< T, Matrix< T > > &loss, const SplittingFunction< T, SpMatrix< T > > ®, const Vector< T > &w0, Vector< T > &w, Vector< T > &optim_info, const ParamFISTA< T > ¶m) |
bool | spams::FISTA::loss_for_matrices (const loss_t &loss) |
loss_t | spams::FISTA::loss_from_string (char *loss) |
template<typename T > | |
bool | spams::FISTA::param_for_admm (const ParamFISTA< T > ¶m) |
template<typename T > | |
void | spams::FISTA::print_info_solver (const ParamFISTA< T > ¶m) |
void | spams::FISTA::print_loss (const loss_t &loss) |
void | spams::FISTA::print_regul (const regul_t ®ul) |
template<typename T > | |
void | spams::FISTA::PROX (const Matrix< T > &alpha0, Matrix< T > &alpha, const ParamFISTA< T > ¶m, Vector< T > &val_loss, const GraphStruct< T > *graph_st=NULL, const TreeStruct< T > *tree_st=NULL, const GraphPathStruct< T > *graph_path_st=NULL) |
bool | spams::FISTA::regul_for_matrices (const regul_t ®ul) |
regul_t | spams::FISTA::regul_from_string (char *regul) |
template<typename T > | |
SplittingFunction< T, SpMatrix< T > > * | spams::FISTA::setRegularizerADMM (const ParamFISTA< T > ¶m, const GraphStruct< T > *graph_st=NULL, const TreeStruct< T > *tree_st=NULL) |
template<typename T > | |
Regularizer< T, Matrix< T > > * | spams::FISTA::setRegularizerMatrices (const ParamFISTA< T > ¶m, const int m, const int n, const GraphStruct< T > *graph_st=NULL, const TreeStruct< T > *tree_st=NULL, const GraphPathStruct< T > *graph_path_st=NULL) |
template<typename T > | |
Regularizer< T > * | spams::FISTA::setRegularizerVectors (const ParamFISTA< T > ¶m, const GraphStruct< T > *graph_st=NULL, const TreeStruct< T > *tree_st=NULL, const GraphPathStruct< T > *graph_path_st=NULL) |
template<typename T > | |
void | spams::FISTA::solver (const Matrix< T > &X, const AbstractMatrixB< T > &D, const Matrix< T > &alpha0, Matrix< T > &alpha, const ParamFISTA< T > ¶m1, Matrix< T > &optim_info, const GraphStruct< T > *graph_st=NULL, const TreeStruct< T > *tree_st=NULL, const GraphPathStruct< T > *graph_path_st=NULL) |
template<typename T > | |
void | spams::FISTA::solver_admm (const Matrix< T > &X, const Matrix< T > &alpha0, Matrix< T > &alpha, Matrix< T > &optim_info, SplittingFunction< T, SpMatrix< T > > **regularizers, SplittingFunction< T, Matrix< T > > **losses, const ParamFISTA< T > ¶m) |
template<typename T > | |
void | spams::FISTA::solver_aux1 (const Matrix< T > &X, const Matrix< T > &alpha0, Matrix< T > &alpha, Matrix< T > &optim_info, Regularizer< T, Vector< T > > **regularizers, Loss< T, Vector< T > > **losses, const ParamFISTA< T > ¶m) |
template<typename T > | |
void | spams::FISTA::solver_aux2 (const Matrix< T > &X, const Matrix< T > &alpha0, Matrix< T > &alpha, Matrix< T > &optim_info, Regularizer< T, Matrix< T > > **regularizers, Loss< T, Matrix< T > > **losses, const ParamFISTA< T > ¶m) |
template<typename T , typename D , typename E > | |
void | spams::FISTA::subGradientDescent_Generic (Loss< T, D, E > &loss, Regularizer< T, D > ®ularizer, const D &x0, D &x, Vector< T > &optim_info, const ParamFISTA< T > ¶m) |
template<typename T > | |
void | spams::FISTA::update_multipliers_ADMM (Vector< T > &w, const Matrix< T > &splitted_w_loss, const Matrix< T > &multipliers_w_loss, const SpMatrix< T > &splitted_w_reg, const SpMatrix< T > &multipliers_w_reg, const T gamma) |
template<typename T > | |
void | spams::FISTA::update_multipliers_LinADMM (Vector< T > &w, const SpMatrix< T > &splitted_w_reg, const SpMatrix< T > &multipliers_w_reg, const T gamma, const T delta) |
template<typename T > | |
void | spams::FISTA::update_multipliers_weighted_ADMM (Vector< T > &w, const Matrix< T > &splitted_w_loss, const Matrix< T > &multipliers_w_loss, const SpMatrix< T > &splitted_w_reg, const SpMatrix< T > &multipliers_w_reg, const T gamma, const T *inner_weights) |
template<typename T > | |
void | spams::FISTA::writeLog (const int iter, const T time, const T primal, const T dual, char *name) |