The Code-Bin
Links
Home
Add your code!
All Listings
About
Latest Entry
Featured Scripts
Author's Website
Latest Entries
FFMPEG Thumbnail Scr...
PHP, 0.8KB
Jul. 29, 10:24pm
John
Z80 Assembler, 190 bytes
Feb. 17, 3:36am
John
Z80 Assembler, 176 bytes
Sep. 13, 2:19am
John
Z80 Assembler, 77 bytes
Sep. 13, 2:18am
John
Z80 Assembler, 209 bytes
Sep. 13, 2:17am
header file
Posted by: RJ | October 16, 2009 @ 1:43pm
C++ Code
[
Download
]
#ifndef _EULER_H_ #define _EULER_H_ #include <vector> //#include <cmath> typedef std::vector< double > vec; typedef double (*functPtr)( double, vec ); class Euler { private: double timeStep; std::vector< double > initialConditions; std::vector< double > solution; public: Euler(); vec solve(std::vector< functPtr > functions); void setInitial(std::vector< double > initial); void setTimeStep(double time); }; #endif
Syntax Highlighting
[
Open in new window
]
Author Comments
none
Rating
4.64 / 8
80 Votes
http://codebin.yi.org/419
page generated in 0.01 seconds