[Scilab-Dev] (c++) sparse matrix creation

Stéphane Mottelet stephane.mottelet at utc.fr
Fri Sep 28 10:21:17 CEST 2018


Hello all,

After searching in sparse.hxx and sparse.cpp I didn' find a method in 
class Sparse:: allowing to create a matrix of given dimensions with 
preallocation of memory for an initial number of non-zero terms, i.e. 
such as

Sparse(int rows, int cols, int nnz, bool cplx = false);

Does such a mehtod exist ?

S.

-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet




More information about the dev mailing list