List of all members | Public Member Functions | Public Attributes
casadi::SymbolicQrMemory Struct Reference

Memory for SymbolicQR
More...

#include <symbolic_qr.hpp>

Detailed Description

Definition at line 49 of file symbolic_qr.hpp.

Inheritance diagram for casadi::SymbolicQrMemory:
Inheritance graph
[legend]
Collaboration diagram for casadi::SymbolicQrMemory:
Collaboration graph
[legend]

Public Member Functions

void alloc (const Function &f)
 
void add_stat (const std::string &s)
 

Public Attributes

std::vector< const double * > arg
 
std::vector< double * > res
 
std::vector< casadi_int > iw
 
std::vector< double > w
 
std::vector< double > q
 
std::vector< double > r
 
bool is_sfact
 
bool is_nfact
 
std::map< std::string, FStatsfstats
 
FStatst_total
 

Member Function Documentation

◆ add_stat()

void casadi::ProtoFunctionMemory::add_stat ( const std::string &  s)
inlineinherited

◆ alloc()

void casadi::SymbolicQrMemory::alloc ( const Function f)

Definition at line 223 of file symbolic_qr.cpp.

223  {
224  arg.resize(std::max(arg.size(), f.sz_arg()));
225  res.resize(std::max(res.size(), f.sz_res()));
226  iw.resize(std::max(iw.size(), f.sz_iw()));
227  w.resize(std::max(w.size(), f.sz_w()));
228  }
std::vector< casadi_int > iw
Definition: symbolic_qr.hpp:53
std::vector< double * > res
Definition: symbolic_qr.hpp:52
std::vector< const double * > arg
Definition: symbolic_qr.hpp:51
std::vector< double > w
Definition: symbolic_qr.hpp:54

References arg, iw, res, casadi::Function::sz_arg(), casadi::Function::sz_iw(), casadi::Function::sz_res(), casadi::Function::sz_w(), and w.

Referenced by casadi::SymbolicQr::init_mem().

Member Data Documentation

◆ arg

std::vector<const double*> casadi::SymbolicQrMemory::arg

Definition at line 51 of file symbolic_qr.hpp.

Referenced by alloc().

◆ fstats

std::map<std::string, FStats> casadi::ProtoFunctionMemory::fstats
inherited

◆ is_nfact

bool casadi::LinsolMemory::is_nfact
inherited

Definition at line 39 of file linsol_internal.hpp.

Referenced by casadi::Linsol::nfact().

◆ is_sfact

bool casadi::LinsolMemory::is_sfact
inherited

Definition at line 39 of file linsol_internal.hpp.

Referenced by casadi::Linsol::sfact().

◆ iw

std::vector<casadi_int> casadi::SymbolicQrMemory::iw

Definition at line 53 of file symbolic_qr.hpp.

Referenced by alloc().

◆ q

std::vector<double> casadi::SymbolicQrMemory::q

Definition at line 60 of file symbolic_qr.hpp.

◆ r

std::vector<double> casadi::SymbolicQrMemory::r

Definition at line 60 of file symbolic_qr.hpp.

◆ res

std::vector<double*> casadi::SymbolicQrMemory::res

Definition at line 52 of file symbolic_qr.hpp.

Referenced by alloc().

◆ t_total

FStats* casadi::ProtoFunctionMemory::t_total
inherited

Definition at line 71 of file function_internal.hpp.

Referenced by casadi::LinsolCall< Tr >::eval(), and casadi::Linsol::solve().

◆ w

std::vector<double> casadi::SymbolicQrMemory::w

Definition at line 54 of file symbolic_qr.hpp.

Referenced by alloc().


The documentation for this struct was generated from the following files: