MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / DiagonalMatrix

Function DiagonalMatrix

linalg/diagonalmatrix.hpp:67–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 typedef typename mat_traits<TM>::TSCAL TSCAL;
66
67 DiagonalMatrix(size_t h)
68 : diag(make_shared<VVector<TM>>(h)) { }
69 DiagonalMatrix(const VVector<TM> & diag_);
70 DiagonalMatrix(shared_ptr<VVector<TM>> diag_);
71 virtual ~DiagonalMatrix();

Callers 1

diagonalmatrix.hppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected