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

Method CreateDeviceMatrix

linalg/basematrix.hpp:834–837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

832 virtual shared_ptr<BaseSparseMatrix> CreateSparseMatrix() const override;
833
834 virtual shared_ptr<BaseMatrix> CreateDeviceMatrix() const override
835 {
836 return make_shared<VScaleMatrix<TSCAL>>(bm.CreateDeviceMatrix(), scale);
837 }
838 };
839
840 inline VScaleMatrix<double> operator* (double d, const BaseMatrix & m)

Callers 1

CreateDeviceMatrixFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected