CIBC:Documentation:SCIRun:Reference:SCIRun:LinearAlgebraInSCIRun

From SCIRun Documentation Wiki
Jump to navigation Jump to search

Solvers

Parallelized Algorithms

Declared in SCIRun/src/Core/Algorithms/Math/ParallelAlgebra/ParallelLinearAlgebra.h. Implemented in SCIRun/src/Core/Algorithms/Math/LinearSystem/SolveLinearSystem.cc.

Iterative Solvers

  • CG
  • BICG
  • MINRES
  • Jacobi

Preconditioners

  • Jacobi (currently the only option available)

Regularization

Implemented in SCIRun/src/Packages/BioPSE/Dataflow/Modules/Inverse modules.

Lapack Wrappers

DenseMatrix member functions

Declared in SCIRun/src/Core/Datatypes/DenseMatrix.h. Implemented in SCIRun/src/Core/Datatypes/DenseMatrix.cc.

  • DenseMatrix::svd
    • calls SCIRun::lapacksvd
  • DenseMatrix::eigenvalues, eigenvectors
    • calls SCIRun::lapackeigen
  • DenseMatrix::invert
    • calls SCIRun::lapackinvert

Lapack wrapper functions

Other

CBLAS calls

  • DenseMatrix::mult will call cblas_dgemm if CBLAS is available and built with WITH_CBLAS, otherwise will use our own implementation.