29 #include "matrix_decl.hpp"
34 bool CASADI_EXPORT
is_slice(
const IM& x,
bool ind1=
false);
37 Slice CASADI_EXPORT
to_slice(
const IM& x,
bool ind1=
false);
43 const Sparsity& sp,
const casadi_int* nonzeros,
44 const std::string& format_hint);
46 #ifndef CASADI_IM_INSTANTIATOR_CPP
void to_file(const std::string &filename, const std::string &format="") const
template class CASADI_EXPORT Matrix< casadi_int >
bool CASADI_EXPORT is_slice(const IM &x, bool ind1=false)
Is the IM a Slice.
GenericType::Dict Dict
C++ equivalent of Python's dict or MATLAB's struct.
std::string filename(const std::string &path)
Slice CASADI_EXPORT to_slice(const IM &x, bool ind1=false)
Convert IM to Slice.