Powered by Apache

CVS log for OpenXM_contrib2/asir2000/builtin/pf.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27 / (download) - annotate - [select for diffs], Sun Oct 4 03:14:07 2020 UTC (3 years, 6 months ago) by noro
Branch: MAIN
CVS Tags: HEAD
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Added function prototypes.

Revision 1.26 / (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.25: +29 -1 lines
Diff to previous 1.25 (colored)

Added elementary functions for interval arithmetic using mpfi

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

Changed a tab to two space charaters.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Mar 28 05:27:22 2018 UTC (6 years, 1 month ago) by noro
Branch: MAIN
Changes since 1.23: +14 -3 lines
Diff to previous 1.23 (colored)

1. Added x!=factorial(x) as a pure function. If x is a real number,
  It gives the value of Gamma(x+1).
2. Added abs(x) as a pure function.
3. One can use break, return and continue at the toplevel.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Mar 27 06:29:19 2018 UTC (6 years, 1 month ago) by noro
Branch: MAIN
Changes since 1.22: +11 -5 lines
Diff to previous 1.22 (colored)

If the control switch evalef is set to 1, then elementary functions
are immediately evaluated and no variables corresponding to the values
of elementary functions are appended to the variable list.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Aug 14 13:51:54 2015 UTC (8 years, 8 months ago) by fujimoto
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Removed unneeded 'defined(__MINGW64__)'.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Aug 6 10:01:52 2015 UTC (8 years, 8 months ago) by fujimoto
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Added defined(__MINGW32__) and defined(__MINGW64__) for mingw32/mingw64.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Aug 4 06:20:44 2015 UTC (8 years, 9 months ago) by noro
Branch: MAIN
Changes since 1.19: +25 -31 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Fri Sep 19 01:25:59 2014 UTC (9 years, 7 months ago) by noro
Branch: MAIN
Changes since 1.18: +18 -16 lines
Diff to previous 1.18 (colored)

If a switch 'evalef' (eval elementary function) is set to 1, then
instances of elementary functions with numerical arguments are immediately
evaluated without creating indeterminates.

[4] sin(1.2);
sin(1.2)
[5] ctrl("evalef",1);
1
[6] sin(1.2);
0.9320390859672263336090244044
[7] ctrl("bigfloat",1);
1
[8] sin(1.2);
0.9320390859672263496823216115
[9] setprec(100);
19
[10] sin(1.2);
0.9320390859672263496701344354948259954150705882087307353665978944502423415767920542157417224381184959624520466900203

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 14 04:47:17 2013 UTC (10 years, 10 months ago) by ohara
Branch: MAIN
CVS Tags: RELEASE_1_3_1_13b
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

Add some declarations.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Sep 14 06:41:20 2011 UTC (12 years, 7 months ago) by noro
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Fixed a bug in Pmap.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jul 23 01:04:29 2009 UTC (14 years, 9 months ago) by ohara
Branch: MAIN
CVS Tags: R_1_3_1-2
Changes since 1.15: +17 -11 lines
Diff to previous 1.15 (colored)

mapat and map (as function, not as keyword) accept options.

Example:
'map'(hoge,[1,2,3,4]|foo=bar,fuge=boo);

Revision 1.15 / (download) - annotate - [select for diffs], Tue Nov 18 20:52:47 2008 UTC (15 years, 5 months ago) by ohara
Branch: MAIN
CVS Tags: RELEASE_1_2_3_12
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

"call" accepts options.

Example:
[0] def foo() { printf("option=%a\n",getopt());}
[1] call(foo,[]|op1=x^2-1,op2="string");
option=[[op1,x^2-1],[op2,string]]

Revision 1.14 / (download) - annotate - [select for diffs], Tue Sep 2 17:23:33 2008 UTC (15 years, 8 months ago) by ohara
Branch: MAIN
Changes since 1.13: +26 -4 lines
Diff to previous 1.13 (colored)

The builtin function 'call' accepts a vector as second argument.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Sep 1 07:53:59 2008 UTC (15 years, 8 months ago) by ohara
Branch: MAIN
Changes since 1.12: +74 -2 lines
Diff to previous 1.12 (colored)

Add an implementation of map as a built-in function.
Example:
[0] def sq(A) { return A^2;}
[1] L=[[1,2],[3,4]];
[2] mapat(map,1,sq,L);
syntax error
0
[3] mapat('map',1,sq,L);
[[1,4],[9,16]]

Revision 1.12 / (download) - annotate - [select for diffs], Wed Oct 5 07:38:08 2005 UTC (18 years, 7 months ago) by noro
Branch: MAIN
CVS Tags: KNOPPIX_2006, DEB_REL_1_2_3-9
Changes since 1.11: +7 -2 lines
Diff to previous 1.11 (colored)

Added quote_match_rewrite(F,Pattern,[Cond,],Action).

Example: quote_match_rewrite(`x-2*3,`X-Z*Y,`is_number(Z),`f(X,Y,Z))

In this example, is_number(Z) is evaluated and if it is non-zero,
f(X,Y,Z) is evaluated. If F does not match Pattern, a VOID type object
is returned. Action may be any expression.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Sep 27 03:00:21 2005 UTC (18 years, 7 months ago) by noro
Branch: MAIN
Changes since 1.10: +11 -3 lines
Diff to previous 1.10 (colored)

Fixed a bug in flatten_quote().

Revision 1.10 / (download) - annotate - [select for diffs], Thu Sep 8 08:37:02 2005 UTC (18 years, 7 months ago) by noro
Branch: MAIN
Changes since 1.9: +42 -4 lines
Diff to previous 1.9 (colored)

Fixed a bug in a macro ISPFINS, which is a predicate for detecting a PFINS,
an instance of a pure function.
Added an experimental function funargs_ext(), which returns
[functor,dlist,alist], where dlist is the list of ranks of differentiation
and alist is the list of arguments.

Revision 1.9 / (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.8: +106 -7 lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Sun Jun 27 03:15:57 2004 UTC (19 years, 10 months ago) by noro
Branch: MAIN
Changes since 1.7: +10 -4 lines
Diff to previous 1.7 (colored)

Fixed a bug in arf_pwr and simplify_pow about 0^x.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 22 09:17:21 2004 UTC (19 years, 10 months ago) by noro
Branch: MAIN
Changes since 1.6: +84 -6 lines
Diff to previous 1.6 (colored)

Added a new function mapat(Func,Pos,Args)
Pos = 0|1|... specifies the position of argument in Args for iteration.
Example: mapat(subst,1,x+y+z,[x,y,z],2) => [y+z+1,x+z+1,x+y+1]

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

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

Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 9 01:36:06 2001 UTC (22 years, 6 months ago) by noro
Branch: MAIN
CVS Tags: RELEASE_1_2_1
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Conversion to ANSI style (not completed yet).

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

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

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 22 05:03:59 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.2: +2 -2 lines
Diff to previous 1.2 (colored)

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

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

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

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Dec 3 07:39:07 1999 UTC (24 years, 5 months ago) by noro
Branch: NORO
CVS Tags: RELEASE_20000124, RELEASE_1_1_2, 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:07 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>