projects
/
pom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afc8fe9
)
Automatic commit
author
Francois Fleuret
<francois@fleuret.org>
Fri, 6 Mar 2009 15:11:30 +0000
(16:11 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Fri, 6 Mar 2009 15:11:30 +0000
(16:11 +0100)
vector.h
patch
|
blob
|
history
diff --git
a/vector.h
b/vector.h
index
fdfe5fe
..
53ee71a
100644
(file)
--- a/
vector.h
+++ b/
vector.h
@@
-117,12
+117,6
@@
public:
return content[k];
}
- inline T norme() const {
- T s = 0;
- for(int i = 0; i<size; i++) s += content[i] * content[i];
- return sqrt(s);
- }
-
inline void print(std::ostream &os) const {
for(int i = 0; i < size; i++) os << content[i] << ((i < size - 1) ? " " : "\n");
}