ckmatrix me retourne 1 sur l'exemple suivant, ce qui pose un probleme en mathml, car c'est affiche comme une matrice 4x4.
Code : Tout sélectionner
#include <giac/giac.h>
using namespace std;
using namespace giac;
int main(){
string s("[seq(seq(k*j,j=0..3),k=4..7)]");
cout << s << endl;
giac::context ct;
gen c(s,&ct);
c=eval(c,1,&ct);
cout << "c :" << c << endl;
cout << "check matrix :" << ckmatrix(c,&ct) << endl;
return 0;
}