コード例 #1
0
ファイル: matrix.hpp プロジェクト: BrechtBa/casadi
 /// Get a const pointer to the data
 const DataType* ptr() const { return isempty() ? static_cast<const DataType*>(0) : &front();}
コード例 #2
0
ファイル: matrix.hpp プロジェクト: BrechtBa/casadi
 /// \cond INTERNAL
 /// Get a pointer to the data
 DataType* ptr() { return isempty() ? static_cast<DataType*>(0) : &front();}