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

Method MultTransAdd

linalg/python_linalg.cpp:978–985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

976 }
977
978 void MultTransAdd (double s, const BaseVector & x, BaseVector & y) const override {
979 pybind11::gil_scoped_acquire gil;
980
981 if (auto overload = pybind11::get_overload(this, "MultTransAdd"))
982 overload(s, x.shared_from_this(), y.shared_from_this());
983 else
984 BaseMatrix::MultTransAdd(s, x, y);
985 }
986
987
988 void MultAdd (Complex s, const BaseVector & x, BaseVector & y) const override {

Callers 1

Calls 2

MultTransAddFunction · 0.70
shared_from_thisMethod · 0.45

Tested by

no test coverage detected