29 #include "matrix_decl.hpp"
34 bool CASADI_EXPORT
is_slice(
const IM& x,
bool ind1=
false);
42 void CASADI_EXPORT
IM::to_file(
const std::string& filename,
43 const Sparsity& sp,
const casadi_int* nonzeros,
44 const std::string& format_hint);
46 #ifndef CASADI_IM_INSTANTIATOR_CPP
Sparse matrix class. SX and DM are specializations.
void to_file(const std::string &filename, const std::string &format="") const
Class representing a Slice.
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.
Slice CASADI_EXPORT to_slice(const IM &x, bool ind1=false)
Convert IM to Slice.