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

Method Project

linalg/sparsefactorization_interface.hpp:61–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60 template <typename T>
61 void Project(FlatVector<T> dst, FlatVector<T> src) const {
62 for (size_t i = 0; i < project.Size(); i++)
63 dst[i] = src[project[i]];
64 }
65
66 template <typename T> void Embed(T &dst, const T &src) const {
67 for (size_t i : Range(embed)) {

Callers 5

BVPFunction · 0.80
ProlongateInlineMethod · 0.80
RestrictInlineMethod · 0.80
MultAddMethod · 0.80

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected