Peano
Loading...
Searching...
No Matches
mghype Namespace Reference

This file is part of the multigrid project within Peano 4. More...

Namespaces

namespace  api
 This file is part of the MGHyPE project within Peano 4.
 
namespace  matrixfree
 

Functions

template<int Rows, int Cols>
tarch::la::Matrix< Rows, Cols, doublecomposeMatrixFromHWeightedLinearCombination (const std::vector< tarch::la::Matrix< Rows, Cols, double > > &matrices, const std::vector< int > &scaleFactors, const tarch::la::Vector< Dimensions, double > &h)
 Compute a weighted linear combination of matrices.
 

Detailed Description

This file is part of the multigrid project within Peano 4.

For conditions of distribution and use, please see the copyright notice at www.peano-framework.org

Function Documentation

◆ composeMatrixFromHWeightedLinearCombination()

template<int Rows, int Cols>
tarch::la::Matrix< Rows, Cols, double > mghype::composeMatrixFromHWeightedLinearCombination ( const std::vector< tarch::la::Matrix< Rows, Cols, double > > & matrices,
const std::vector< int > & scaleFactors,
const tarch::la::Vector< Dimensions, double > & h )

Compute a weighted linear combination of matrices.

@Sean, Alex: Can we please have docu here on what is computed adn what the parameters mean? Some links to why and where it is used would be great, too.

Definition at line 5 of file mghype.cpph.

References assertionEquals.