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

Function SetVector

basiclinalg/ngblas.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 // BLAS1 operations
23
24 void SetVector (double val, FlatVector<double> dest) NETGEN_NOEXCEPT
25 {
26 for (size_t i = 0; i < dest.Size(); i++)
27 dest[i] = val;
28 }
29
30 /*
31 void SetVector (double val, SliceVector<double> dest) NETGEN_NOEXCEPT

Callers 2

vector.hppFile · 0.70
ngblas.hppFile · 0.70

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected