Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Testing latest pari + WASM + node.js... and it works?! Wow.

28495 views
License: GPL3
ubuntu2004
Function: List
Section: conversions
C-Name: gtolist
Prototype: DG
Help: List({x=[]}): transforms the vector or list x into a list. Empty list
 if x is omitted.
Description:
 ():list           mklist()
 (gen):list        listinit(gtolist($1))
Doc:
 transforms a (row or column) vector $x$ into a list, whose components are
 the entries of $x$. Similarly for a list, but rather useless in this case.
 For other types, creates a list with the single element $x$.
Variant: The variant \fun{GEN}{mklist}{void} creates an empty list.