Powered by Apache

CVS log for OpenXM_contrib2/asir2000/io/pexpr.c

[BACK] Up to [local] / OpenXM_contrib2 / asir2000 / io

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.46 / (download) - annotate - [select for diffs], Tue Dec 24 10:26:38 2019 UTC (4 years, 4 months ago) by kondoh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.45: +12 -8 lines
Diff to previous 1.45 (colored)

fix interval arithmetic

Revision 1.45 / (download) - annotate - [select for diffs], Tue Nov 12 10:52:04 2019 UTC (4 years, 5 months ago) by kondoh
Branch: MAIN
Changes since 1.44: +21 -1 lines
Diff to previous 1.44 (colored)

Added elementary functions for interval arithmetic using mpfi

Revision 1.44 / (download) - annotate - [select for diffs], Thu Mar 29 07:50:06 2018 UTC (6 years, 1 month ago) by ohara
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Add new value for ctrl("double_output",VALUE);
0 -> "%g" (defalut)
1 -> "%f"
2 -> "%e"

Revision 1.43 / (download) - annotate - [select for diffs], Thu Mar 29 01:32:53 2018 UTC (6 years, 1 month ago) by noro
Branch: MAIN
Changes since 1.42: +22 -22 lines
Diff to previous 1.42 (colored)

Changed a tab to two space charaters.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Aug 31 02:36:21 2017 UTC (6 years, 7 months ago) by noro
Branch: MAIN
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (colored)

DP object now accepts general data type as coefficients.
Added DPM (element of a free module) and several related functions:
dpm_ltod, dpm_dtol, dpm_ht, dpm_hm, dpm_hc, dpm_nf, dpm_weyl_nf etc.
A monomial of DPM is represented as <<d0,d1,...:k>>, which
represents x0^d0*x1^d1*...*ek (ek is the k-th standard base of k[X]^n).

Revision 1.41 / (download) - annotate - [select for diffs], Thu Aug 20 08:53:05 2015 UTC (8 years, 8 months ago) by ohara
Branch: MAIN
Changes since 1.40: +5 -2 lines
Diff to previous 1.40 (colored)

mpfr_asprintf works well on windows/visual studio.
However mpfr_printf/fprintf/sprintf sometimes generate exception.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Aug 4 06:20:45 2015 UTC (8 years, 8 months ago) by noro
Branch: MAIN
Changes since 1.39: +8 -10 lines
Diff to previous 1.39 (colored)

PARI is now being replaced by MPFR (GNU multiprecision floating-point reliable library).
1. eval() now calls functions in libmpfr.a.
2. PARI will be wrapped as an ox server 'ox_pari' (not yet).
Warning: Asir will not be built with interval arithmetics for a while.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Nov 16 23:42:54 2005 UTC (18 years, 5 months ago) by noro
Branch: MAIN
CVS Tags: R_1_3_1-2, RELEASE_1_3_1_13b, RELEASE_1_2_3_12, KNOPPIX_2006, DEB_REL_1_2_3-9
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

Added an experimental implementation of bibariate non-commutative
polynomial computation.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Dec 17 03:09:08 2004 UTC (19 years, 4 months ago) by noro
Branch: MAIN
CVS Tags: RELEASE_1_2_3
Changes since 1.37: +1 -2 lines
Diff to previous 1.37 (colored)

Added functions:
add_handler("intr" or "quit",func) put func on the top of the callback list.
clear_handler("intr" or "quit") clear the callback list.
list_handler("intr" or "quit")  ["fname1","fname2",...].

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jul 13 07:59:54 2004 UTC (19 years, 9 months ago) by noro
Branch: MAIN
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

Added quote_to_funargs(), funargs_to_quote().

An example:

ctrl("print_quote",1);
Q=quote((x+1)+(x+2));
/* FA = [fid,op,arg1,arg2] */
FA=quote_to_funargs(Q);
/* remove () from arg1 */
FA2=quote_to_funargs(FA[2])[1];
/* remove () from arg2 */
FA3=quote_to_funargs(FA[3])[1];
/* [fid,op,newarg1,newarg2] => quote */
funargs_to_quote([FA[0],FA[1],FA2,FA3]);

Revision 1.36 / (download) - annotate - [select for diffs], Fri May 14 06:02:54 2004 UTC (19 years, 11 months ago) by noro
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)

Added a new datatype DPV (=an element of free module).
Converter : dp_ltod([p1,p2,...]) -> modvect(dp1,dp2,...)
Ordering : dpv_ord(id) or dpv_ord(id,w)
       id : 0 or 1 or 2. w : a degree shift vector.
  id=0  => compare weight (with w) then compare pos
		  (the one with the largest pos is taken)
  id=1  => compare weight (with w) then compare pos
		  (the one with the smallest pos is taken)
  id=2  => the one with the smallest pos is taken
Functions : dpv_ht, dpv_hm, dpv_hc
  [pos,monomial or number] is returned.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Mar 17 03:22:47 2004 UTC (20 years, 1 month ago) by noro
Branch: MAIN
CVS Tags: RELEASE_1_2_2_KNOPPIX_b
Changes since 1.34: +17 -1215 lines
Diff to previous 1.34 (colored)

Restructing io/*expr.c.
The main part is stored in a new file pexpr_body.c.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Mar 17 02:23:45 2004 UTC (20 years, 1 month ago) by noro
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Fixed a bug.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Mar 17 02:10:31 2004 UTC (20 years, 1 month ago) by noro
Branch: MAIN
Changes since 1.32: +140 -2 lines
Diff to previous 1.32 (colored)

Adding an action for ctrl("print_quote",2).

Revision 1.32 / (download) - annotate - [select for diffs], Wed Mar 3 09:25:30 2004 UTC (20 years, 1 month ago) by noro
Branch: MAIN
CVS Tags: RELEASE_1_2_2_KNOPPIX
Changes since 1.31: +15 -1 lines
Diff to previous 1.31 (colored)

Implementing quotetotex().

Revision 1.31 / (download) - annotate - [select for diffs], Fri Feb 27 09:13:04 2004 UTC (20 years, 2 months ago) by noro
Branch: MAIN
Changes since 1.30: +51 -45 lines
Diff to previous 1.30 (colored)

Added an experimental interface to TeXmacs.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Feb 13 05:48:36 2004 UTC (20 years, 2 months ago) by saito
Branch: MAIN
Changes since 1.29: +5 -1 lines
Diff to previous 1.29 (colored)

transported asir to FreeBSD amd64

Revision 1.29 / (download) - annotate - [select for diffs], Mon Feb 9 08:23:30 2004 UTC (20 years, 2 months ago) by noro
Branch: MAIN
Changes since 1.28: +18 -4 lines
Diff to previous 1.28 (colored)

Added a function range(x,y), which generates a RANGE object.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Feb 4 07:42:07 2004 UTC (20 years, 2 months ago) by noro
Branch: MAIN
Changes since 1.27: +12 -1 lines
Diff to previous 1.27 (colored)

Added a new data type "Symbol".

Revision 1.27 / (download) - annotate - [select for diffs], Thu Dec 25 02:40:24 2003 UTC (20 years, 4 months ago) by noro
Branch: MAIN
Changes since 1.26: +5 -6 lines
Diff to previous 1.26 (colored)

Fixed printbf().

Revision 1.26 / (download) - annotate - [select for diffs], Wed Dec 24 08:00:38 2003 UTC (20 years, 4 months ago) by noro
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Fixed the word order of double float on Opteron.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Dec 2 06:56:48 2003 UTC (20 years, 5 months ago) by noro
Branch: MAIN
Changes since 1.24: +72 -2 lines
Diff to previous 1.24 (colored)

Added a ctrl flag "real_binary".

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jun 9 16:18:10 2003 UTC (20 years, 10 months ago) by saito
Branch: MAIN
Changes since 1.23: +11 -47 lines
Diff to previous 1.23 (colored)

add new functions, matc, matr.
And function vect, mat, matc, matr arguments can be accepted list, vect and
matrix.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jun 7 16:40:25 2003 UTC (20 years, 10 months ago) by saito
Branch: MAIN
Changes since 1.22: +139 -62 lines
Diff to previous 1.22 (colored)

chenge keyword prefixmode to outputstyle
ctrl("outputstyle",0) <--- default style
ctrl("outputstyle",1) <--- output sentense can be accepts inputs grammer.

Revision 1.22 / (download) - annotate - [select for diffs], Thu May 29 16:45:01 2003 UTC (20 years, 11 months ago) by saito
Branch: MAIN
Changes since 1.21: +69 -21 lines
Diff to previous 1.21 (colored)

add ctrl("prefixmode",*);
interval, matrix, vector type print different type.

interval [1,2] -> intval(1,2)
vector   [1 2 3] -> vect(1,2,3)
same as matrix.
and add new function vect and mat.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Feb 14 22:29:15 2003 UTC (21 years, 2 months ago) by ohara
Branch: MAIN
CVS Tags: RELEASE_1_2_2
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

Changing some MACROs and preprocessor directives:
for example, #if PARI was replaced by #if defined(PARI).

Revision 1.20 / (download) - annotate - [select for diffs], Wed Sep 11 07:23:27 2002 UTC (21 years, 7 months ago) by noro
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Modified for linking pari-2.2.4.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Sep 2 05:16:07 2002 UTC (21 years, 8 months ago) by noro
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Fixed a bug in printv().

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 8 04:14:39 2002 UTC (22 years, 3 months ago) by kondoh
Branch: MAIN
CVS Tags: RELEASE_1_2_1
Changes since 1.17: +12 -12 lines
Diff to previous 1.17 (colored)

bug fix for Interval Arithmetics

Revision 1.17 / (download) - annotate - [select for diffs], Tue Oct 9 01:36:21 2001 UTC (22 years, 6 months ago) by noro
Branch: MAIN
Changes since 1.16: +17 -10 lines
Diff to previous 1.16 (colored)

Conversion to ANSI style (not completed yet).

Revision 1.16 / (download) - annotate - [select for diffs], Mon Sep 3 07:01:08 2001 UTC (22 years, 7 months ago) by noro
Branch: MAIN
Changes since 1.15: +52 -1 lines
Diff to previous 1.15 (colored)

Added a new data type for finite field : GFSN (finite extension of
a small finite field)

setmod_ff(P,N,M)  (P^N < 2^20, N*M < 2^31) : generates GF((P^N)^M)
which is realized as a quotient ring of GF(P^N)[t].

Revision 1.15 / (download) - annotate - [select for diffs], Tue Aug 28 05:46:26 2001 UTC (22 years, 8 months ago) by noro
Branch: MAIN
Changes since 1.14: +7 -1 lines
Diff to previous 1.14 (colored)

Synchronized pexpr.c and spexpr.c.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Aug 6 01:48:33 2001 UTC (22 years, 8 months ago) by noro
Branch: MAIN
Changes since 1.13: +14 -3 lines
Diff to previous 1.13 (colored)

1. quotetolist(A) converts A (quoted expression) into a list.
2. ctrl("print_quote",1) => contents of quoted expressions are displayed.
3. CMO_TREE implementation (under construnction)

Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 20 02:34:23 2001 UTC (23 years ago) by noro
Branch: MAIN
Changes since 1.12: +13 -1 lines
Diff to previous 1.12 (colored)

Added a new data type 'QUOTE' (experimental).

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 15 05:52:12 2001 UTC (23 years, 1 month ago) by noro
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Changed the readable format of the primitive root representation.
r^k in GF(q) is displayed as @_k. (very dirty)

Revision 1.11 / (download) - annotate - [select for diffs], Tue Mar 13 01:10:27 2001 UTC (23 years, 1 month ago) by noro
Branch: MAIN
Changes since 1.10: +4 -1 lines
Diff to previous 1.10 (colored)

Added a new datatype 'GFS' (small finite field; primitive root expression)
in the number category. Its implementation is now ongoing.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 9 01:44:10 2001 UTC (23 years, 1 month ago) by noro
Branch: MAIN
Changes since 1.9: +11 -2 lines
Diff to previous 1.9 (colored)

Added ctrl() flag 'real_digit', which determines the output precision of
double float. The default value is 0 and it means that the precision is 6.
(the default setting of printf().)

Revision 1.9 / (download) - annotate - [select for diffs], Fri Dec 22 10:03:30 2000 UTC (23 years, 4 months ago) by saito
Branch: MAIN
Changes since 1.8: +86 -2 lines
Diff to previous 1.8 (colored)

Add to interval number function.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Dec 16 06:16:10 2000 UTC (23 years, 4 months ago) by noro
Branch: MAIN
Changes since 1.7: +16 -3 lines
Diff to previous 1.7 (colored)

Fixed the bug in sprintbf() and estimate_length().

Revision 1.7 / (download) - annotate - [select for diffs], Fri Dec 15 05:30:08 2000 UTC (23 years, 4 months ago) by noro
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Added 'floating style' output for PARI bigfloat. It is controlled by
ctrl("double_output",1|0).

Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 13 10:54:09 2000 UTC (23 years, 4 months ago) by noro
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Added a new control flag 'double_output'.

If double_output is set to 1 by 'ctrl("double_output",1),
double float number is displayed without 'eNN' notation.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 8 08:02:51 2000 UTC (23 years, 5 months ago) by noro
Branch: MAIN
Changes since 1.4: +24 -1 lines
Diff to previous 1.4 (colored)

Added a new datatype "BYTEARRAY" whose object id is 16(=O_BYTEARRAY).
This datatype corresponds to CMO_DATUM.

A BYTEARRAY is created by newbytearray(Len) or newbytearray(Len,List).
The usage is the same as newvect().

Revision 1.4 / (download) - annotate - [select for diffs], Tue Aug 22 05:04:18 2000 UTC (23 years, 8 months ago) by noro
Branch: MAIN
CVS Tags: maekawa-ipv6, STABLE_1_1_3, RELEASE_1_1_3
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Sorry, the email address in the license agreement was incorrect.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 21 08:31:38 2000 UTC (23 years, 8 months ago) by noro
Branch: MAIN
Changes since 1.2: +48 -1 lines
Diff to previous 1.2 (colored)

Added copyright notice and license agreement. It is mandatory to distribute
Risa/Asir source codes freely.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Feb 7 03:14:39 2000 UTC (24 years, 2 months ago) by noro
Branch: MAIN
CVS Tags: RELEASE_1_1_2
Changes since 1.1: +37 -51 lines
Diff to previous 1.1 (colored)

Added a switch "fortran_output" in ctrl().
If it is equal to 1, polynomials are displayed in fortran style
(x^2 -> x**2 etc.).
Numbers and keywords of arbitrary length can be accepted by the parser.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Dec 3 07:39:11 1999 UTC (24 years, 5 months ago) by noro
Branch: NORO
CVS Tags: RELEASE_20000124, ASIR2000
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Imported asir2000 as OpenXM_contrib2/asir2000.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Dec 3 07:39:11 1999 UTC (24 years, 5 months ago) by noro
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>