29 #include "matrix_decl.hpp"
37 const std::string& lsolver,
const Dict& dict);
42 const std::string& lsolver,
const Dict& dict);
45 pinv(
const DM& A,
const std::string& lsolver,
50 rand(
const Sparsity& sp);
66 cse(
const std::vector<DM>& e);
69 std::vector<double>
DM::call(
const Function& f,
const std::vector<double>& dep);
72 std::ostream &stream,
const Dict& options)
const;
79 const double* nonzeros,
const std::string& format);
84 #ifndef CASADI_DM_INSTANTIATOR_CPP
static std::vector< Matrix< double > > call(const Function &f, const std::vector< Matrix< double > > &x)
static Matrix< double > expm_const(const Matrix< double > &A, const Matrix< double > &t)
void export_code(const std::string &lang, std::ostream &stream=casadi::uout(), const Dict &options=Dict()) const
Export matrix in specific language.
static Matrix< double > expm(const Matrix< double > &A)
static Matrix< double > inv(const Matrix< double > &A)
void to_file(const std::string &filename, const std::string &format="") const
static Matrix< double > _logsumexp(const Matrix< double > &x)
static Matrix< double > rand(casadi_int nrow=1, casadi_int ncol=1)
Create a matrix with uniformly distributed random numbers.
static Matrix< double > solve(const Matrix< double > &A, const Matrix< double > &b)
static Matrix< double > from_file(const std::string &filename, const std::string &format_hint="")
static std::vector< Matrix< double > > cse(const std::vector< Matrix< double > > &e)
static Matrix< double > pinv(const Matrix< double > &x)
template class CASADI_EXPORT Matrix< double >
GenericType::Dict Dict
C++ equivalent of Python's dict or MATLAB's struct.
std::string filename(const std::string &path)