ASL
0.1.7
Advanced Simulation Library
|
Go to the documentation of this file.
24 #ifndef ASLMATLABCASTERS_H
25 #define ASLMATLABCASTERS_H
38 typedef std::shared_ptr<ElementBase>
Element;
43 template <
class T>
class AVec;
50 template <
class T> matvar_t* init(T *d,
const asl::AVec<int> & size,
const std::string &name=
"");
54 inline Var(matvar_t* v,
bool freeArr=
false):
var(v){}
55 template <
class T>
Var(std::vector<T> & d,
const std::string &name=
"");
56 template <
class T>
Var(T *d,
unsigned int size,
const std::string &name=
"",
bool freeArr=
true);
57 template <
class T>
Var(T *d,
const asl::AVec<int> & size,
const std::string &name=
"",
bool freeArr=
true);
70 typedef std::shared_ptr<matiocpp::Var>
SPMatVar;
75 std::vector<std::string>(0));
81 #endif // ASLMATLABCASTERS_H
SPMatVar castMATLABCellArray(acl::Element source, const std::string &name="")
Var(matvar_t *v, bool freeArr=false)
std::shared_ptr< ElementBase > Element
std::shared_ptr< matiocpp::Var > SPMatVar
Var(std::vector< T > &d, const std::string &name="")
Var(T *d, unsigned int size, const std::string &name="", bool freeArr=true)
Var(T *d, const asl::AVec< int > &size, const std::string &name="", bool freeArr=true)
Advanced Simulation Library.
Advanced Computational Language.