Powered by Apache

CVS log for OpenXM/src/asir-contrib/packages/src/quote.rr

[BACK] Up to [local] / OpenXM / src / asir-contrib / packages / src

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.24 / (download) - annotate - [select for diffs], Fri Mar 12 01:17:48 2021 UTC (3 years, 6 months ago) by takayama
Branch: MAIN
CVS Tags: HEAD
Changes since 1.23: +46 -3 lines
Diff to previous 1.23 (colored)

Operator order is introduced, work in progress.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Mar 11 06:14:57 2021 UTC (3 years, 6 months ago) by takayama
Branch: MAIN
Changes since 1.22: +17 -1 lines
Diff to previous 1.22 (colored)

quote_input_form() supports pure function derivatives.
[2077] function f(x,y,z);
[2078] quote_input_form(quote(f{1,0,0}(x,y,z)));
quote(f{1, 0, 0}(x, y, z))

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jan 24 01:15:00 2020 UTC (4 years, 8 months ago) by takayama
Branch: MAIN
Changes since 1.21: +8 -6 lines
Diff to previous 1.21 (colored)

Missing an initialization of strings.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Sep 22 06:23:40 2014 UTC (10 years ago) by ohara
Branch: MAIN
Changes since 1.20: +17 -1 lines
Diff to previous 1.20 (colored)

1. quote_replace accepts arguments as function names.
2. quote_replace_by_rule works for quotes like base_replace does.

Revision 1.20 / (download) - annotate - [select for diffs], Sun May 23 01:52:51 2010 UTC (14 years, 4 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_3_1_13b
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

bug fix of quote_to_quote.
Example:
eval_quote(quote_to_quote(0.000000000001)) caused a parse error in the previous version.
(0.0000000001 --> 1.0e-??)

Revision 1.19 / (download) - annotate - [select for diffs], Thu Oct 5 20:12:15 2006 UTC (17 years, 11 months ago) by takayama
Branch: MAIN
CVS Tags: R_1_3_1-2, RELEASE_1_2_3_12, DEB_REL_1_2_3-9
Changes since 1.18: +7 -1 lines
Diff to previous 1.18 (colored)

poly_sort(F) for quote F is partially implemented.
poly_expand(F) is an alias of poly_sort(F).

Revision 1.18 / (download) - annotate - [select for diffs], Thu Oct 5 08:30:36 2006 UTC (17 years, 11 months ago) by takayama
Branch: MAIN
Changes since 1.17: +48 -6 lines
Diff to previous 1.17 (colored)

 poly_sort(F|v,w,truncate)
 It expands {F} with a given variables {v}=V and a given weight {w}=W.
 It returns a quote object.
 If {trucate} option is set, the expansion is truncated at the given degree.
 example: poly_sort((x-y-a)^3 | v=[x,y], w=[-1,-1])
    returns a series expansion in terms of x and y.

The main functions are taka_quote_sort(), quote_sort_polynomial2().

Revision 1.17 / (download) - annotate - [select for diffs], Mon Nov 21 08:20:31 2005 UTC (18 years, 10 months ago) by takayama
Branch: MAIN
CVS Tags: KNOPPIX_2006
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored)

Added the case of n_op.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 9 07:36:05 2004 UTC (20 years, 1 month ago) by noro
Branch: MAIN
CVS Tags: RELEASE_1_2_3
Changes since 1.15: +11 -1 lines
Diff to previous 1.15 (colored)

Added a special treatment for "^" in quote_input_form_quote_list_b_op().

Revision 1.15 / (download) - annotate - [select for diffs], Tue Mar 9 07:01:59 2004 UTC (20 years, 6 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_2_KNOPPIX_b
Changes since 1.14: +13 -1 lines
Diff to previous 1.14 (colored)

Experimental codes for quote clean env.:
  taka_poly_factor and taka_poly_grobner accept a quote or a list of quotes.
  When a quote or a list of quotes is given as an argument, these functions
  return a quote or a list of quotes.

quote_to_obj  :  a frontend of  eval_quote

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jan 22 06:18:44 2002 UTC (22 years, 8 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_2_KNOPPIX, RELEASE_1_2_2, RELEASE_1_2_1
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

We no longer use Tag field to find the datatype of struct.
We use struct_type() function instead.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Sep 5 06:26:02 2001 UTC (23 years ago) by takayama
Branch: MAIN
Changes since 1.12: +4 -2 lines
Diff to previous 1.12 (colored)

base_replace() is used instead of eval_variables_in_quote().
Because eval_variables_in_quote() causes some troubles (ask Noro-san for details).

Revision 1.12 / (download) - annotate - [select for diffs], Wed Sep 5 02:10:55 2001 UTC (23 years ago) by takayama
Branch: MAIN
Changes since 1.11: +8 -1 lines
Diff to previous 1.11 (colored)

Supporting new data tag "variable".

Revision 1.11 / (download) - annotate - [select for diffs], Sat Sep 1 07:12:38 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.10: +4 -1 lines
Diff to previous 1.10 (colored)

print_tex_form(S) supports greek letters and subscript.
For example, print_tex_form(alpha123) outputs
\alpha_{123}.
In order to turn of qutomatic subscripting, set
  Print_tex_form_no_automatic_subscript = 1.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Aug 31 23:51:38 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.9: +15 -6 lines
Diff to previous 1.9 (colored)

base_replace(F,Rule) supports quote data.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 31 23:23:33 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.8: +22 -7 lines
Diff to previous 1.8 (colored)

quote_replace(F,x,A) : replace x in F by A. F and A are quote data.
The return value is also quote data.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Aug 31 12:58:24 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.7: +28 -2 lines
Diff to previous 1.7 (colored)

quote_replace(F,x,Y) :  replace x in F by Y where
F and Y are data of quote type.
It causes asir the core dump for now. (BUG)

Revision 1.7 / (download) - annotate - [select for diffs], Sun Aug 26 09:50:28 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.6: +13 -3 lines
Diff to previous 1.6 (colored)

Added new experimental functions
  poly_initial(I)
  poly_grobner_basis(F)
  poly_hilbert_polynomial(I)
which accept data structure
poly_ideal.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Aug 25 04:39:03 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.5: +2 -11 lines
Diff to previous 1.5 (colored)

New datatypes are added by using struct (experimental).
See datatype.rr.
base_field : field.
base_identity : identity.
base_text :  text which explains the meaning of identity.
poly_factored_polynomial :  polynomial in factored form.
poly_factored_rational   : rational in factored form.
poly_polynomial          : polynomial that belongs to a ring.
poly_ideal               : ideal
poly_ring                : ring

Revision 1.5 / (download) - annotate - [select for diffs], Wed Aug 22 05:38:10 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.4: +129 -2 lines
Diff to previous 1.4 (colored)

A new function quote_input_form() is added.
Examples:
[615]    quote_input_form(quote(1+2));
quote(1+2)
[616]    quote_input_form(quote(-1));
quote(-1)
[617]    quote_input_form(quote(x+1/2*y));
quote(x+1/2*y)
[618]    quote_input_form(quote_to_quote(-(x-1/3*y)^3));
quote(1/27*y^3-1/3*x*y^2+x^2*y-x^3)
[619]    quote_input_form(quote( (sin(x)+y)/(x-y) ));
quote((sin(x)+y) /(x-y) )
[620]    quote_input_form(quote([[1,2],[x-10,1/y]]));
quote( [  [ 1, 2],  [ x-10, 1/y]])
[621]    quote_input_form(quote(newmat(2,2,[[1,2],[1/x,exp(x)]])));
quote(newmat(2, 2,  [  [ 1, 2],  [ 1/x, exp(x)]]))

Revision 1.4 / (download) - annotate - [select for diffs], Wed Aug 22 05:24:18 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.3: +6 -1 lines
Diff to previous 1.3 (colored)

Added codes to support all binary codes to taka_print_tex_form().

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 21 11:27:16 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.2: +37 -1 lines
Diff to previous 1.2 (colored)

quote_sort_polynomial(F,V,W) : sort monomials in F by the order
defined by the weight vector W and returns the sorted polynomial
in the quote format.
Example:
  print_xdvi_form( quote_sort_polynomial((x-y)^3,[x,y],[1,1]));

Revision 1.2 / (download) - annotate - [select for diffs], Tue Aug 21 08:03:01 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.1: +52 -1 lines
Diff to previous 1.1 (colored)

quote_factored_form_quote() translates factored form into the quote form.
Example:
   print_tex_form( poly_factor( (x^10-y^10)/(x^3-y^3) ));
(This is a tentative code because specifications concerning quote and struct have not
 been fixed.)

Revision 1.1 / (download) - annotate - [select for diffs], Tue Aug 21 06:25:59 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN

quote.rr : utility functions for quote objects.
print_tex_form(S) : translate S into tex format.
print_xdvi_form(S) : generate dvi object and show it.
By using the quote object, the printing is getting satisfactory
for interractive use in mathematics.

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>