Testing latest pari + WASM + node.js... and it works?! Wow.
License: GPL3
ubuntu2004
/* Copyright (C) 2000 The PARI group.12This file is part of the PARI/GP package.34PARI/GP is free software; you can redistribute it and/or modify it under the5terms of the GNU General Public License as published by the Free Software6Foundation; either version 2 of the License, or (at your option) any later7version. It is distributed in the hope that it will be useful, but WITHOUT8ANY WARRANTY WHATSOEVER.910Check the License for details. You should have received a copy of it, along11with the package; see the file 'COPYING'. If not, write to the Free Software12Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */1314#define mael2(m,x1,x2) (((GEN*) (m))[x1][x2])15#define mael3(m,x1,x2,x3) (((GEN**) (m))[x1][x2][x3])16#define mael4(m,x1,x2,x3,x4) (((GEN***) (m))[x1][x2][x3][x4])17#define mael5(m,x1,x2,x3,x4,x5) (((GEN****)(m))[x1][x2][x3][x4][x5])18#define mael mael21920#define gmael1(m,x1) (((GEN*) (m))[x1])21#define gmael2(m,x1,x2) (((GEN**) (m))[x1][x2])22#define gmael3(m,x1,x2,x3) (((GEN***) (m))[x1][x2][x3])23#define gmael4(m,x1,x2,x3,x4) (((GEN****) (m))[x1][x2][x3][x4])24#define gmael5(m,x1,x2,x3,x4,x5) (((GEN*****)(m))[x1][x2][x3][x4][x5])25#define gmael(m,x,y) gmael2(m,x,y)26#define gel(m,x) gmael1(m,x)2728#define gcoeff(a,i,j) (((GEN**)(a))[j][i])29#define coeff(a,i,j) (((GEN*)(a))[j][i])3031#define GSTR(x) ((char*) (((GEN) (x)) + 1 ))323334