MCPcopy Create free account
hub / github.com/Cantera/cantera / resize

Method resize

src/base/Array.cpp:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void Array2D::resize(size_t n, size_t m, double v)
48{
49 m_nrows = n;
50 m_ncols = m;
51 m_data.resize(n*m, v);
52}
53
54void Array2D::appendColumn(const vector<double>& c)
55{

Callers 2

decodeMethod · 0.45
appendColumnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected