Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91161537
compute_arithmetic.cc
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 8, 12:43
Size
342 B
Mime Type
text/x-c
Expires
Sun, Nov 10, 12:43 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22208989
Attached To
R7554 sp4e_exercices
compute_arithmetic.cc
View Options
#include "compute_arithmetic.hh"
/* -------------------------------------------------------------------------- */
ComputeArithmetic
::~
ComputeArithmetic
()
=
default
;
double
ComputeArithmetic
::
compute
(
unsigned
int
N
)
{
this
->
computeTerm
(
N
);
return
current_value
;
}
double
ComputeArithmetic
::
computeTerm
(
unsigned
int
k
){
return
k
;
}
Event Timeline
Log In to Comment