Powered by Apache

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.38 / (download) - annotate - [select for diffs], Fri Sep 24 22:47:06 2021 UTC (2 years, 11 months ago) by takayama
Branch: MAIN
CVS Tags: HEAD
Changes since 1.37: +3 -2 lines
Diff to previous 1.37 (unified)

Bug fix: number_eval works for rational functions.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jun 5 03:09:56 2021 UTC (3 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.36: +19 -1 lines
Diff to previous 1.36 (unified)

Bug fix: subsetq --> subsequenceq, var(Pmat)==[] case.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Mar 9 02:47:43 2021 UTC (3 years, 6 months ago) by takayama
Branch: MAIN
Changes since 1.35: +27 -1 lines
Diff to previous 1.35 (unified)

base_preplace(S,Rule)
 It rewrites {S} by using the rule {Rule}. psubst is used instead of subst.
 The replacement is not performed for function arguments.
 example: base_preplace(exp(x)+x^2,[[x,a+1],[exp(x),b]]);
 example_description: x is replaced by a+1 and exp(x) is replaced by b in
 exp(x)+x^2.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Mar 20 01:10:55 2020 UTC (4 years, 5 months ago) by takayama
Branch: MAIN
Changes since 1.34: +15 -4 lines
Diff to previous 1.34 (unified)

Fixed a bug of base_is_equal().

Revision 1.34 / (download) - annotate - [select for diffs], Thu Mar 19 23:57:01 2020 UTC (4 years, 5 months ago) by takayama
Branch: MAIN
Changes since 1.33: +22 -1 lines
Diff to previous 1.33 (unified)

base_is_equal(L1,L2) compares any objects L1 and L2. Ex. base_is_equal([1,2,[3,4]],[1,2,[3,4]]);
base_f_definedp(Func) returns 1 when the function Func is defined. Ex. base_f_definedp(flist);

Revision 1.33 / (download) - annotate - [select for diffs], Sun Mar 12 00:39:26 2017 UTC (7 years, 6 months ago) by takayama
Branch: MAIN
Changes since 1.32: +8 -1 lines
Diff to previous 1.32 (unified)

*** empty log message ***

Revision 1.32 / (download) - annotate - [select for diffs], Wed Mar 8 00:34:00 2017 UTC (7 years, 6 months ago) by takayama
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (unified)

Bugfix. missing " is added.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Mar 7 11:47:57 2017 UTC (7 years, 6 months ago) by takayama
Branch: MAIN
Changes since 1.30: +15 -1 lines
Diff to previous 1.30 (unified)

Bug fixes for number_abs, matrix_matrix_to_list.

Revision 1.30 / (download) - annotate - [select for diffs], Fri May 2 07:08:35 2014 UTC (10 years, 4 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_3_1_13b
Changes since 1.29: +6 -1 lines
Diff to previous 1.29 (unified)

New functions.
taka_poly_coefficient(F,Deg,V), which accept rational, list, vector.
Modified functions.
taka_base_sum(Obj,0,From,To), Obj is assumed to be a list and Obj[From]+...+Obj[To] is returned.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Feb 27 23:27:32 2012 UTC (12 years, 6 months ago) by takayama
Branch: MAIN
Changes since 1.28: +19 -1 lines
Diff to previous 1.28 (unified)

Example:
  base_rebuild_opt([[hoge,1],[hage,1]] | remove_keys=["hage"])
returns
  [[hoge,1]]
It is used to remove given keys in the option_list.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jan 28 04:12:50 2012 UTC (12 years, 7 months ago) by takayama
Branch: MAIN
Changes since 1.27: +2 -3 lines
Diff to previous 1.27 (unified)

1. Bug fix of base_replace_n
2. Added matrix_adjugate.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Apr 29 11:12:04 2011 UTC (13 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.26: +43 -16 lines
Diff to previous 1.26 (unified)

base_sum, base_product, base_makelist accept a list as an argument.
base_sum(Obj,K,B,T)
 base_sum returns the sum of Obj where K runs in [B,T].
 Options are qt=1 (keep quote data), step (step size).
 When B is a list, K runs in B and T is ignored. <-- new.
 example: base_sum(k^2,k,1,10);
 example: base_sum(quote(x^2),x,1,10 | qt=1, step=0.5);
 example: base_sum(quote(x^2),x,[a,b,c],0 | qt=1);

poly_ord_w is defined.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Apr 27 08:41:04 2011 UTC (13 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (unified)

poly_elimination_ideal calls
noro_poly_elimination_ideal as the default.

poly_elimination_ideal(I,VV|grobner_basis,v,homo,grace,strategy)
 It computes the intersection of the ideal {I} and the subring K[{VV}].
 description:
 If grobner_basis is "yes", I is assumed to be a Grobner basis.
 The optional variable v is a list of variables which defines the ring
 of polynomials.
 example: poly_elimination_ideal([x^2+y^2-4,x*y-1],[x]);
 example: A = poly_grobner_basis([x^2+y^2-4,x*y-1]|order=2,v=[y,x]);
          poly_elimination_ideal(A,[x]|grobner_basis="yes");
 When strategy=1(default),
   nd_gr is used when trace=0(defauult),
   nd_gr_trace is used when trace=1.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Apr 27 06:48:58 2011 UTC (13 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.24: +15 -1 lines
Diff to previous 1.24 (unified)

base_var_list(Name,B,T)
 base_var_list generate a list of variables Name+Index where Index runs on [B,T].
 example: base_var_list(x,0,10);
 example: base_var_list(x,1,4 | d = 1);
 Options: d=1 (add d before the name).

[1385] base_var_list(x,1,10);
[x1,x2,x3,x4,x5,x6,x7,x8,x9,x10]
[1386] base_var_list(x,1,10 | d=1);
[dx1,dx2,dx3,dx4,dx5,dx6,dx7,dx8,dx9,dx10]

Revision 1.24 / (download) - annotate - [select for diffs], Wed Apr 27 05:59:46 2011 UTC (13 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.23: +45 -1 lines
Diff to previous 1.23 (unified)

Iterators: base_makelist, base_sum, base_product.
base_xxx(Obj,K,B,T) returns xxx of Obj where K runs in [B,T].
Examples:
   base_product(k^2,k,1,10);
   base_product(quote(x^2),x,1,10 | qt=1, step=0.5);

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jan 28 11:58:13 2010 UTC (14 years, 7 months ago) by takayama
Branch: MAIN
CVS Tags: R_1_3_1-2
Changes since 1.22: +14 -1 lines
Diff to previous 1.22 (unified)

taka_base_replace_n() uses
substr2np() when it is possible.
Todo: replace base_replace by taka_base_replace_n in taka_runge_kutta.rr

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jan 13 06:00:42 2005 UTC (19 years, 8 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_3_12, RELEASE_1_2_3, KNOPPIX_2006, DEB_REL_1_2_3-9
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (unified)

Fixed a bug of number_imaginary_part().

Revision 1.21 / (download) - annotate - [select for diffs], Thu Nov 27 11:41:08 2003 UTC (20 years, 9 months ago) by ohara
Branch: MAIN
CVS Tags: RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX
Changes since 1.20: +1 -9 lines
Diff to previous 1.20 (unified)

take_base_replace is reduced.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Sep 14 09:12:24 2003 UTC (21 years ago) by ohara
Branch: MAIN
Changes since 1.19: +6 -1 lines
Diff to previous 1.19 (unified)

taka_base_replace can act on DPOLYNOMIAL.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Dec 5 02:16:31 2002 UTC (21 years, 9 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_2
Changes since 1.18: +11 -1 lines
Diff to previous 1.18 (unified)

Added number_is_integer(X), number_floor(X), number_ceiling(X)
to asir-contrib.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Nov 16 08:09:31 2002 UTC (21 years, 10 months ago) by takayama
Branch: MAIN
Changes since 1.17: +20 -1 lines
Diff to previous 1.17 (unified)

taka_runge_kutta.rr : the fourth order adaptive Runge-Kutta method.
taka_pfp.rr         : Evaluating p F p-1 by using the fourth order adaptive
                      Runge-Kutta method. (work in progress)
                      As for algorithmic aspects, see Numerical Recipes.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Oct 4 03:04:50 2002 UTC (21 years, 11 months ago) by takayama
Branch: MAIN
Changes since 1.16: +28 -1 lines
Diff to previous 1.16 (unified)

Added functions
  base_subsets_of_size(K,S)
and
  matrix_submatrix(M,Index)

Revision 1.16 / (download) - annotate - [select for diffs], Thu Dec 13 09:27:45 2001 UTC (22 years, 9 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_1
Changes since 1.15: +46 -1 lines
Diff to previous 1.15 (unified)

  Syntax: list base_permutation(list L) :   All permutations of L.
  Example:
  [771] base_permutation([1,2,3]);
        [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]

  Syntax: list base_choose(list L,number M) : all subsets of L of size M.
  Example:
  [841] taka_base_choose([1,2,3,4],2);
        [[4,3],[3,2],[4,2],[2,1],[3,1],[4,1]]

  plucker_relation returns the plucker relations.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Sep 5 06:26:02 2001 UTC (23 years ago) by takayama
Branch: MAIN
Changes since 1.14: +13 -1 lines
Diff to previous 1.14 (unified)

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.14 / (download) - annotate - [select for diffs], Fri Aug 31 23:51:38 2001 UTC (23 years ago) by takayama
Branch: MAIN
Changes since 1.13: +13 -3 lines
Diff to previous 1.13 (unified)

base_replace(F,Rule) supports quote data.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Aug 26 09:50:28 2001 UTC (23 years ago) by takayama
Branch: MAIN
Changes since 1.12: +18 -1 lines
Diff to previous 1.12 (unified)

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

Revision 1.12 / (download) - annotate - [select for diffs], Sat Aug 25 04:39:03 2001 UTC (23 years ago) by takayama
Branch: MAIN
Changes since 1.11: +2 -6 lines
Diff to previous 1.11 (unified)

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.11 / (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.10: +11 -1 lines
Diff to previous 1.10 (unified)

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.10 / (download) - annotate - [select for diffs], Tue Aug 21 02:12:26 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (unified)

recmap --> map  (map is enough in some cases.)

Revision 1.9 / (download) - annotate - [select for diffs], Tue Aug 21 02:07:18 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.8: +6 -57 lines
Diff to previous 1.8 (unified)

Codes are shorten by using recmap.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Aug 20 06:40:34 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.7: +37 -1 lines
Diff to previous 1.7 (unified)

Added functions :
  poly_elimination_ideal(I,V,VV|grobner_basis=?)
  base_subsetq(A,B)
  base_intersection(A,B)
  base_prune(A,S)  :  prune A from the set S.
  poly_factor(F)

Revision 1.7 / (download) - annotate - [select for diffs], Mon Aug 20 00:14:02 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.6: +1 -4 lines
Diff to previous 1.6 (unified)

Deleted an unnecessary code.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 19 09:55:18 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.5: +79 -1 lines
Diff to previous 1.5 (unified)

Functions base_cancel(), base_flatten(), poly_solve_linear() are
added. The names tell the functions by themselves, I hope.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Aug 17 11:57:51 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.4: +21 -29 lines
Diff to previous 1.4 (unified)

Added matrix_ * functions (eigenvalues, diagonal, kernel, ... etc)
to names.rr.  These functions call omatrix_* functions in the file Matrix.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Aug 15 04:20:04 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.3: +2 -4 lines
Diff to previous 1.3 (unified)

Fixed careless mistakes.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 14 13:13:45 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.2: +28 -5 lines
Diff to previous 1.2 (unified)

base_replace(Obj,Rule) : replacement function for general objects.
There still remains bug concerning the function matrix_clone.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Aug 11 02:59:24 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.1: +66 -33 lines
Diff to previous 1.1 (unified)

taka_base_replace(S,Rule) : a replacement function for generic object.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 10 08:37:08 2001 UTC (23 years, 1 month ago) by takayama
Branch: MAIN

Added a new function omatrix_eigenvalues().

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>