OSDN Git Service

mint/mint-lib.git
13 years agorefactoring decimal method master
Tomohiro Nishimura [Mon, 10 May 2010 06:00:31 +0000 (15:00 +0900)]
refactoring decimal method

13 years agoadd Rakefile into gem
Tomohiro Nishimura [Mon, 10 May 2010 05:47:29 +0000 (14:47 +0900)]
add Rakefile into gem

13 years agofix zero-division bug in decimal_arithmetic
Tomohiro Nishimura [Mon, 10 May 2010 05:43:33 +0000 (14:43 +0900)]
fix zero-division bug in decimal_arithmetic

14 years agoimproved problem that was generated by fractional_arithmetic
Tomohiro Nishimura [Sun, 18 Apr 2010 17:22:00 +0000 (02:22 +0900)]
improved problem that was generated by  fractional_arithmetic

14 years agofix fraction with minus numerator bug
Tomohiro Nishimura [Sun, 18 Apr 2010 17:08:12 +0000 (02:08 +0900)]
fix fraction with minus numerator bug

14 years agoimproved fractional_arithmetic generator
Tomohiro Nishimura [Fri, 16 Apr 2010 02:54:23 +0000 (11:54 +0900)]
improved fractional_arithmetic generator

14 years agorefactored
Tomohiro Nishimura [Fri, 16 Apr 2010 02:28:39 +0000 (11:28 +0900)]
refactored

14 years agofix fraction with parenthesis bug
Tomohiro Nishimura [Thu, 15 Apr 2010 09:26:07 +0000 (18:26 +0900)]
fix fraction with parenthesis bug

14 years agofix is_lowest_term? method for irreducible fractions
Tomohiro Nishimura [Thu, 15 Apr 2010 08:49:39 +0000 (17:49 +0900)]
fix is_lowest_term? method for irreducible fractions

14 years agosquare_root_arithmetic generates more solvable problems
Tomohiro Nishimura [Thu, 15 Apr 2010 03:02:43 +0000 (12:02 +0900)]
square_root_arithmetic generates more solvable problems

14 years agoadd factorize to Integer class
Tomohiro Nishimura [Wed, 14 Apr 2010 09:02:32 +0000 (18:02 +0900)]
add factorize to Integer class

14 years agoadd use_coefficient option to factorization generator
Tomohiro Nishimura [Wed, 14 Apr 2010 07:24:48 +0000 (16:24 +0900)]
add use_coefficient option to factorization generator

14 years agofix some documents
Tomohiro Nishimura [Wed, 14 Apr 2010 07:06:00 +0000 (16:06 +0900)]
fix some documents

14 years agofix root does not constract bug in solver
Tomohiro Nishimura [Wed, 14 Apr 2010 06:30:23 +0000 (15:30 +0900)]
fix root does not constract bug in solver

14 years agofix generation documentation
Tomohiro Nishimura [Fri, 2 Apr 2010 06:46:52 +0000 (15:46 +0900)]
fix generation documentation

14 years agoremove debug code
Tomohiro Nishimura [Sat, 27 Mar 2010 08:30:32 +0000 (17:30 +0900)]
remove debug code

14 years agofix fration with parenthesis bug
Tomohiro Nishimura [Sat, 27 Mar 2010 06:56:59 +0000 (15:56 +0900)]
fix fration with parenthesis bug

14 years agorefactored parser
Tomohiro Nishimura [Fri, 26 Mar 2010 17:31:36 +0000 (02:31 +0900)]
refactored parser

14 years agoadd spec for parser bug
Tomohiro Nishimura [Fri, 26 Mar 2010 17:09:15 +0000 (02:09 +0900)]
add spec for parser bug

14 years agofix parser a littele
Tomohiro Nishimura [Fri, 26 Mar 2010 17:08:58 +0000 (02:08 +0900)]
fix parser a littele

14 years agofix parser bug when parse parenthesis with minus
Tomohiro Nishimura [Fri, 26 Mar 2010 11:52:30 +0000 (20:52 +0900)]
fix parser bug when parse parenthesis with minus

14 years agoadd spec for parser bug (has not solved yet)
Tomohiro Nishimura [Fri, 26 Mar 2010 10:58:49 +0000 (19:58 +0900)]
add spec for parser bug (has not solved yet)

14 years agofix complex_number_arithmetic with 0 bug
Tomohiro Nishimura [Fri, 26 Mar 2010 09:37:18 +0000 (18:37 +0900)]
fix complex_number_arithmetic with 0 bug

14 years agofix zero division problem in ordinary_arithmetic generator
Tomohiro Nishimura [Fri, 26 Mar 2010 08:19:20 +0000 (17:19 +0900)]
fix zero division problem in ordinary_arithmetic generator

14 years agoremove prime? method from generator utilities
Tomohiro Nishimura [Fri, 26 Mar 2010 03:59:14 +0000 (12:59 +0900)]
remove prime? method from generator utilities

14 years agoadd forgotten options to square_root_arithmetic generator
Tomohiro Nishimura [Thu, 25 Mar 2010 08:04:31 +0000 (17:04 +0900)]
add forgotten options to square_root_arithmetic generator

14 years agosquare_root_arithmetic generator creates root number at least 1
Tomohiro Nishimura [Thu, 25 Mar 2010 06:59:36 +0000 (15:59 +0900)]
square_root_arithmetic generator creates root number at least 1

14 years agosuport (\d + sqrt(\d)) style square_root_arithmetic
Tomohiro Nishimura [Wed, 24 Mar 2010 09:57:34 +0000 (18:57 +0900)]
suport (\d + sqrt(\d)) style square_root_arithmetic

  * and remove validations (not work!)

14 years agosquare_root_arithmetic generator spec is now all green
Tomohiro Nishimura [Wed, 24 Mar 2010 09:33:03 +0000 (18:33 +0900)]
square_root_arithmetic generator spec is now all green

14 years agochange default options for square_root_arithmetic generator
Tomohiro Nishimura [Wed, 24 Mar 2010 06:16:27 +0000 (15:16 +0900)]
change default options for square_root_arithmetic generator

14 years agofix coefficient in square_root_arithmetic
Tomohiro Nishimura [Tue, 23 Mar 2010 15:04:30 +0000 (00:04 +0900)]
fix coefficient in square_root_arithmetic

14 years agorefactored linear_function_graph generator
Tomohiro Nishimura [Tue, 23 Mar 2010 13:47:55 +0000 (22:47 +0900)]
refactored linear_function_graph generator

14 years agorefactored square_root_arithmetic generator
Tomohiro Nishimura [Sun, 21 Mar 2010 18:21:22 +0000 (03:21 +0900)]
refactored square_root_arithmetic generator

14 years agorefactored complex_number_arithmetic generator
Tomohiro Nishimura [Sun, 21 Mar 2010 17:41:50 +0000 (02:41 +0900)]
refactored complex_number_arithmetic generator

14 years agomove parenthesis into create_complex_number
Tomohiro Nishimura [Sun, 21 Mar 2010 17:17:57 +0000 (02:17 +0900)]
move parenthesis into create_complex_number

14 years agoremove unuse require
Tomohiro Nishimura [Sun, 21 Mar 2010 16:57:10 +0000 (01:57 +0900)]
remove unuse require

14 years agoadd forgotten call of naked mathod in expression tree
Tomohiro Nishimura [Fri, 19 Mar 2010 08:04:39 +0000 (17:04 +0900)]
add forgotten call of naked mathod in expression tree

14 years agofix document for quadratic_equation generator
Tomohiro Nishimura [Thu, 18 Mar 2010 06:38:13 +0000 (15:38 +0900)]
fix document for quadratic_equation generator

14 years agofix quadratic_equation generator
Tomohiro Nishimura [Thu, 18 Mar 2010 06:21:14 +0000 (15:21 +0900)]
fix quadratic_equation generator

14 years agoadd coefficient option to expansion generator
Tomohiro Nishimura [Thu, 18 Mar 2010 04:28:51 +0000 (13:28 +0900)]
add coefficient option to expansion generator

14 years agofix document for using coefficient generator
Tomohiro Nishimura [Thu, 18 Mar 2010 04:27:51 +0000 (13:27 +0900)]
fix document for using coefficient generator

14 years agofix multiple operator representation
Tomohiro Nishimura [Thu, 18 Mar 2010 03:58:02 +0000 (12:58 +0900)]
fix multiple operator representation

14 years agoadd spec for quadratic_equation generator
Tomohiro Nishimura [Thu, 18 Mar 2010 03:12:16 +0000 (12:12 +0900)]
add spec for quadratic_equation generator

14 years agodelete debug coe
Tomohiro Nishimura [Thu, 18 Mar 2010 03:11:55 +0000 (12:11 +0900)]
delete debug coe

14 years agoquadratic_equation generator has p_minus option now
Tomohiro Nishimura [Thu, 18 Mar 2010 02:52:46 +0000 (11:52 +0900)]
quadratic_equation generator has p_minus option now

14 years agofix document for ordinary arithmetic generator
Tomohiro Nishimura [Thu, 18 Mar 2010 02:52:13 +0000 (11:52 +0900)]
fix document for ordinary arithmetic generator

14 years agofix document for generator and add rake task
Tomohiro Nishimura [Thu, 18 Mar 2010 01:54:50 +0000 (10:54 +0900)]
fix document for generator and add rake task

14 years agofix multiple operator representation
Tomohiro Nishimura [Thu, 18 Mar 2010 01:04:27 +0000 (10:04 +0900)]
fix multiple operator representation

14 years agoadd NullExpression
Tomohiro Nishimura [Wed, 17 Mar 2010 16:05:44 +0000 (01:05 +0900)]
add NullExpression

14 years agofix expression with minus bug
Tomohiro Nishimura [Wed, 17 Mar 2010 09:13:07 +0000 (18:13 +0900)]
fix expression with minus bug

14 years agofractional_arithmetic problem is in lowest term now.
Tomohiro Nishimura [Wed, 17 Mar 2010 05:37:46 +0000 (14:37 +0900)]
fractional_arithmetic problem is in lowest term now.

14 years agofix minus bug in expression_tree
Tomohiro Nishimura [Wed, 17 Mar 2010 05:20:16 +0000 (14:20 +0900)]
fix minus bug in expression_tree

14 years agofix minus with parenthesis bug
Tomohiro Nishimura [Wed, 17 Mar 2010 02:35:36 +0000 (11:35 +0900)]
fix minus with parenthesis bug

14 years agofix expansion generator
Tomohiro Nishimura [Tue, 16 Mar 2010 10:10:20 +0000 (19:10 +0900)]
fix expansion generator

14 years agofix generator option bug
Tomohiro Nishimura [Tue, 16 Mar 2010 03:52:09 +0000 (12:52 +0900)]
fix generator option bug

14 years agofix spec a bit for factorization generator
Tomohiro Nishimura [Tue, 16 Mar 2010 03:06:46 +0000 (12:06 +0900)]
fix spec a bit for factorization generator

14 years agorefacored partial_fraction_expansion generator
Tomohiro Nishimura [Tue, 16 Mar 2010 02:54:19 +0000 (11:54 +0900)]
refacored partial_fraction_expansion generator

14 years agofix document for expansion generator
Tomohiro Nishimura [Sat, 13 Mar 2010 08:27:26 +0000 (17:27 +0900)]
fix document for expansion generator

14 years agofix document for quadratic_equation generator
Tomohiro Nishimura [Sat, 13 Mar 2010 03:03:54 +0000 (12:03 +0900)]
fix document for quadratic_equation generator

14 years agorefactored spec for high_order_expression_base
Tomohiro Nishimura [Fri, 12 Mar 2010 20:43:53 +0000 (05:43 +0900)]
refactored spec for high_order_expression_base

14 years agorefactored spec for fractional_expression_arithmetic generator
Tomohiro Nishimura [Fri, 12 Mar 2010 20:35:17 +0000 (05:35 +0900)]
refactored spec for fractional_expression_arithmetic generator

14 years agorefactored spec for complex_fractional_arithmetic generator
Tomohiro Nishimura [Fri, 12 Mar 2010 19:32:02 +0000 (04:32 +0900)]
refactored spec for complex_fractional_arithmetic generator

14 years agorefactored spec for square_root_arithmetic generator
Tomohiro Nishimura [Fri, 12 Mar 2010 18:38:11 +0000 (03:38 +0900)]
refactored spec for square_root_arithmetic generator

14 years agorefactored spec for complex_number_arithmetic generator
Tomohiro Nishimura [Fri, 12 Mar 2010 18:16:06 +0000 (03:16 +0900)]
refactored spec for complex_number_arithmetic generator

14 years agofix shared examples for arithmetic
Tomohiro Nishimura [Fri, 12 Mar 2010 18:15:45 +0000 (03:15 +0900)]
fix shared examples for arithmetic

14 years agorefactored spec for decimal_arithmetic generator
Tomohiro Nishimura [Fri, 12 Mar 2010 18:00:13 +0000 (03:00 +0900)]
refactored spec for decimal_arithmetic generator

14 years agorefactored spec for ordinary_arithmetic generator
Tomohiro Nishimura [Fri, 12 Mar 2010 17:36:37 +0000 (02:36 +0900)]
refactored spec for ordinary_arithmetic generator

14 years agorefacotred spec for arithmetic_base generator
Tomohiro Nishimura [Fri, 12 Mar 2010 17:28:29 +0000 (02:28 +0900)]
refacotred spec for arithmetic_base generator

14 years agorefactored generator base spec
Tomohiro Nishimura [Fri, 12 Mar 2010 17:06:59 +0000 (02:06 +0900)]
refactored generator base spec

14 years agorefactored spec
Tomohiro Nishimura [Fri, 12 Mar 2010 11:22:36 +0000 (20:22 +0900)]
refactored spec

14 years agoremove useless error class
Tomohiro Nishimura [Thu, 11 Mar 2010 18:42:29 +0000 (03:42 +0900)]
remove useless error class

14 years agofix generator document
Tomohiro Nishimura [Thu, 11 Mar 2010 18:42:09 +0000 (03:42 +0900)]
fix generator document

14 years agofix minor bug in quadratic_equation generator
Tomohiro Nishimura [Thu, 11 Mar 2010 18:10:39 +0000 (03:10 +0900)]
fix minor bug in quadratic_equation generator

14 years agoadd :nodoc: for RDoc
Tomohiro Nishimura [Thu, 11 Mar 2010 14:01:34 +0000 (23:01 +0900)]
add :nodoc: for RDoc

14 years agofix rdoc task option
Tomohiro Nishimura [Thu, 11 Mar 2010 13:55:12 +0000 (22:55 +0900)]
fix rdoc task option

14 years agofix test for factorization generator
Tomohiro Nishimura [Thu, 11 Mar 2010 13:47:19 +0000 (22:47 +0900)]
fix test for factorization generator

14 years agofix test for expansion generator
Tomohiro Nishimura [Thu, 11 Mar 2010 13:32:55 +0000 (22:32 +0900)]
fix test for expansion generator

14 years agoadd test and document for quadratic_equation generator
Tomohiro Nishimura [Thu, 11 Mar 2010 13:25:15 +0000 (22:25 +0900)]
add test and document for quadratic_equation generator

14 years agoadd min option for params in quadratic_equation generator
Tomohiro Nishimura [Thu, 11 Mar 2010 13:14:43 +0000 (22:14 +0900)]
add min option for params in quadratic_equation generator

14 years agouse auto-generated square numbers
Tomohiro Nishimura [Thu, 11 Mar 2010 02:28:00 +0000 (11:28 +0900)]
use auto-generated square numbers

14 years agouse Prime.prime? in quadratic_equation generator
Tomohiro Nishimura [Thu, 11 Mar 2010 01:49:36 +0000 (10:49 +0900)]
use Prime.prime? in quadratic_equation generator

14 years agoadd Prime.prime? to generator utilities
Tomohiro Nishimura [Thu, 11 Mar 2010 01:45:08 +0000 (10:45 +0900)]
add Prime.prime? to generator utilities

14 years agouse create_integer block in quadratic_equation generator
Tomohiro Nishimura [Thu, 11 Mar 2010 00:44:16 +0000 (09:44 +0900)]
use create_integer block in quadratic_equation generator

14 years agocreate_integer becomes to be accepted block.
Tomohiro Nishimura [Wed, 10 Mar 2010 23:46:43 +0000 (08:46 +0900)]
create_integer becomes to be accepted block.

14 years agouse create_integer in quadratic_equation generator
Tomohiro Nishimura [Wed, 10 Mar 2010 23:03:10 +0000 (08:03 +0900)]
use create_integer in quadratic_equation generator

14 years agoadd test for quadratic_equation generator
Tomohiro Nishimura [Wed, 10 Mar 2010 22:53:38 +0000 (07:53 +0900)]
add test for quadratic_equation generator

14 years agoadd sort trick for expansion generator
Tomohiro Nishimura [Mon, 8 Mar 2010 10:26:53 +0000 (19:26 +0900)]
add sort trick for expansion generator

14 years agofix common_utils bug
Tomohiro Nishimura [Mon, 8 Mar 2010 10:15:50 +0000 (19:15 +0900)]
fix common_utils bug

14 years agoadd some document and fix a bit in generator base
Tomohiro Nishimura [Mon, 8 Mar 2010 09:36:52 +0000 (18:36 +0900)]
add some document and fix a bit in generator base

14 years agoMerge branch 'master' of git.sourceforge.jp:/gitroot/mint/mint-lib
Tomohiro Nishimura [Mon, 8 Mar 2010 09:24:53 +0000 (18:24 +0900)]
Merge branch 'master' of git.sourceforge.jp:/gitroot/mint/mint-lib

Conflicts:
lib/mint/generator/arithmetic_base.rb

14 years agoremove do_with method from generator base class
Tomohiro Nishimura [Mon, 8 Mar 2010 09:21:16 +0000 (18:21 +0900)]
remove do_with method from generator base class

14 years agomove term_number into bsae class
Tomohiro Nishimura [Mon, 8 Mar 2010 09:07:42 +0000 (18:07 +0900)]
move term_number into bsae class

14 years agomove term_number into bsae class
Tomohiro Nishimura [Mon, 8 Mar 2010 09:07:42 +0000 (18:07 +0900)]
move term_number into bsae class

14 years agorefacotored square_root_arithmetic generator
Tomohiro Nishimura [Mon, 8 Mar 2010 08:48:15 +0000 (17:48 +0900)]
refacotored square_root_arithmetic generator

14 years agorefactored complex_number_arithmetic generator
Tomohiro Nishimura [Mon, 8 Mar 2010 08:18:53 +0000 (17:18 +0900)]
refactored complex_number_arithmetic generator

14 years agomove generate_problem into base class
Tomohiro Nishimura [Mon, 8 Mar 2010 08:11:47 +0000 (17:11 +0900)]
move generate_problem into base class

  * Arithmetic generator
  * HighOrderExpression generator

14 years agoadd spesific spec task
Tomohiro Nishimura [Mon, 8 Mar 2010 07:12:31 +0000 (16:12 +0900)]
add spesific spec task

14 years agoremove arithmetic solver base
Tomohiro Nishimura [Mon, 8 Mar 2010 07:12:16 +0000 (16:12 +0900)]
remove arithmetic solver base

14 years agoremove useless document
Tomohiro Nishimura [Mon, 8 Mar 2010 06:29:57 +0000 (15:29 +0900)]
remove useless document

14 years agoremove example
Tomohiro Nishimura [Mon, 8 Mar 2010 06:28:37 +0000 (15:28 +0900)]
remove example