Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
47
void 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
54
void Array2D::appendColumn(const vector<double>& c)
55
{
Callers
2
decode
Method · 0.45
appendColumn
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected