aboutsummaryrefslogtreecommitdiff
path: root/src/gp/utils.gp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gp/utils.gp')
-rw-r--r--src/gp/utils.gp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/gp/utils.gp b/src/gp/utils.gp
deleted file mode 100644
index 0f29394..0000000
--- a/src/gp/utils.gp
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * ecgen, tool for generating Elliptic curve domain parameters
- * Copyright (C) 2017 J08nY
- */
-/**
- * Converts a list to a vector.
- *
- * @param l list to convert
- * @return a vector of the lists values
- */
-list_to_vec(l:list) = {
- local(v:vec, n:int);
- n = length(l);
- v = vector(n);
- for(i=1, n,
- v[i] = l[i];
- );
- return(v);
-} \ No newline at end of file