Tiago Gomes
a2e54a235a
Factor: improve factor multiplication
...
Pass the argument as reference-to-const and also allow chaining of multiplications.
2013-03-21 21:49:12 +00:00
Tiago Gomes
e2ca97c8de
Factor: use the default copy constructor
2013-03-21 21:20:28 +00:00
Tiago Gomes
7193d2238d
Move template definitions to source file and use explicite template instantiation.
2013-03-04 17:58:32 +00:00
Tiago Gomes
93fa793683
Separate TFactor and Factor classes.
...
Rename TFactor to GenericFactor. GenericFactor.cpp is empty for now.
2013-03-04 15:47:47 +00:00
Tiago Gomes
98efd54da7
Remove unused member function
2013-03-04 15:10:51 +00:00
Tiago Gomes
902624f557
f(void) vs f()
...
"In fact, the f(void) style has been called an "abomination" by Bjarne Stroustrup, the creator of C++, Dennis Ritchie, the co-creator of C, and Doug McIlroy, head of the research department where Unix was born."
2013-02-28 19:45:37 +00:00
Tiago Gomes
2bc123d72c
Update class, struct and enum bracket style
2013-02-13 14:26:47 +00:00
Tiago Gomes
e178c1af04
Change namespace name to be in Pascal case
2013-02-08 21:12:46 +00:00
Tiago Gomes
6a1a209ee3
Revert "Improve namespace names"
...
This reverts commit 973df43fe0
.
On a second thought, namespaces are close to classes in the sense that both encapsulate data, so they should both use Pascal case notation.
2013-02-08 21:01:53 +00:00
Tiago Gomes
206cf0a9c7
Trivial
2013-02-08 00:20:01 +00:00
Tiago Gomes
973df43fe0
Improve namespace names
2013-02-08 00:15:41 +00:00
Tiago Gomes
6f83ceb6f5
Put the code inside a horus namespace
2013-02-07 23:53:13 +00:00
Tiago Gomes
5c84a2f532
Improve includes
2013-02-07 20:09:10 +00:00
Tiago Gomes
544d0aa39e
Improve header guards (again)
2013-02-07 17:50:33 +00:00
Tiago Gomes
bb7a530da3
Avoid importing the std namespace
2013-02-07 13:37:15 +00:00
Tiago Gomes
7b60e88545
Improve Header guards
2013-02-06 22:58:42 +00:00
Tiago Gomes
80452bf75d
Small improvements
2013-02-06 00:29:29 +00:00
Tiago Gomes
42a5bc493a
Move methods with more than two lines to outside of class definition
2013-02-06 00:29:03 +00:00
Tiago Gomes
485c3e34b2
Use more DISALLOW_COPY_AND_ASSIGN
2012-12-27 22:25:45 +00:00
Tiago Gomes
cbea630fbf
Cosmetic fixes
2012-12-27 12:54:58 +00:00
Tiago Gomes
01d8f8e178
More whitespace cleanups
2012-12-20 23:19:10 +00:00
Tiago Gomes
3eb6b76ddd
Whitespace clean
2012-12-17 18:39:42 +00:00
Tiago Gomes
4708685ed4
fix bug in Factor::contains
2012-06-01 14:03:39 +01:00
Tiago Gomes
250d122fc8
prefix is better than postfix
2012-05-28 14:12:18 +01:00
Tiago Gomes
3986012e56
rename CutIndexer to MapIndexer
2012-05-28 12:32:15 +01:00
Tiago Gomes
3290834dfe
be consistent with other functions
2012-05-28 12:24:10 +01:00
Tiago Gomes
fb9bb5c8b5
remove unused method
2012-05-28 12:18:39 +01:00
Tiago Gomes
6034f7a264
refactor the function to reorder arguments
2012-05-28 12:17:47 +01:00
Tiago Gomes
1239832c21
refactor the way we calculate the product of two factors
2012-05-26 20:58:56 +01:00
Tiago Gomes
918666d7f6
add a randomize function
2012-05-26 20:44:39 +01:00
Tiago Gomes
c1bd230e61
small improvement
2012-05-25 21:26:40 +01:00
Tiago Gomes
4b2ffee015
minor renaming
2012-05-25 21:22:48 +01:00
Tiago Gomes
2efca0c85a
refactor indexer classes and receive te ranges as a constant reference
2012-05-25 21:16:08 +01:00
Tiago Gomes
5ff161b10f
refactor functions for summing out
2012-05-25 20:15:05 +01:00
Tiago Gomes
af6601837c
size_t invasion
2012-05-24 22:55:20 +01:00
Tiago Gomes
acc5ab056a
some refactorings
2012-05-24 16:14:13 +01:00
Tiago Gomes
444eaacc63
add operators to manipulate vectors of parameters
2012-05-24 14:55:30 +01:00
Tiago Gomes
6c77afb3ae
ok, second try
2012-05-23 14:56:01 +01:00