24 template <
typename VarType>
43 void assign_cgls(
CArray<VarType>& s_b, std::vector<std::map<int, VarType>>& s_matrix, std::vector<std::map<int, VarType>>& s_matrix_transposed);
45 void CGLS(
int i_max, VarType threshold);
void assign_cgls(CArray< VarType > &s_b, std::vector< std::map< int, VarType > > &s_matrix, std::vector< std::map< int, VarType > > &s_matrix_transposed)
void clear()
Free allocated memory. Should be called before the object is deleted.
void CGLS(int i_max, VarType threshold)
DArrayMap< VarType > SparseM
const SparseV & X() const
DArray< VarType > SparseV
~SparseMatrix()
Do not release memory here, call clear() explicitly.
This is an implementation of AdditiveCCD based on peridyno.
Array< T, DeviceType::GPU > DArray
ArrayMap< T, DeviceType::GPU > DArrayMap
Array< T, DeviceType::CPU > CArray