[\int_0^1 x_i]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
class C { | |
public: | |
class B; | |
class A { | |
public: | |
friend A operator+(const B & l, const B & r); | |
void hello() { std::cout << "hello!"; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
class C { | |
public: | |
class B; | |
class A { | |
public: | |
friend A operator+(const B & l, const B & r); | |
void hello() { std::cout << "hello!"; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cmath> | |
class Exponent; | |
class Number { | |
public: | |
Number(double v) : value(v) {} | |
double getVal() const { return value; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
// Get the hilbert index for a point along a 2D Hilbert curve. | |
// Daniel Schwen, 2014 | |
// | |
// ------- | |
// |01|10| | |
// ------- | |
// |00|11| | |
// ------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am dschwen on github. | |
* I am dschwen (https://keybase.io/dschwen) on keybase. | |
* I have a public key whose fingerprint is 9071 892B E0EC FB07 D778 5ACB 4D73 4E12 9611 8FE0 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
class Base { | |
public: | |
Base() {} | |
Base(const Base & a) { | |
std::cout << "In Base\n"; | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FirstName | LastName | Address1 | Phone | Zip | ||
---|---|---|---|---|---|---|
Dalton | Skinner | P.O. Box 374, 9689 Magna. Road | (458) 555-0362 | 84125 | id@Sed.org | |
Kirk | Kidd | Ap #692-3484 Phasellus Road | (697) 555-6989 | 65844 | vitae@convallisincursus.edu | |
Cleo | Riddle | P.O. Box 841, 4429 Aliquam St. | (690) 555-6058 | 59233 | arcu@nisi.org | |
Olga | Navarro | Ap #809-3508 Libero. Road | (870) 555-9331 | 39969 | rutrum.non.hendrerit@tinciduntDonec.ca | |
Olivia | Snider | P.O. Box 475, 4800 Tortor Av. | (644) 555-3957 | 50733 | sem.elit.pharetra@gravida.edu | |
Mira | George | 7043 Ligula. Av. | (496) 555-6952 | 62383 | nisi.nibh@magnaetipsum.com | |
Andrew | Landry | Ap #392-2775 Ornare Avenue | (668) 555-1476 | 53839 | Aliquam@ullamcorpernisl.edu | |
Colton | Meyer | Ap #439-2430 Nec, Street | (166) 555-6210 | 36615 | neque@inlobortis.com | |
Shellie | Buck | Ap #676-8128 Pharetra. Street | (142) 555-1728 | 76648 | dapibus@et.co.uk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <iomanip> | |
#include <sstream> | |
#include <string> | |
#include <cstdlib> | |
#include <cmath> | |
typedef double Real; | |
int main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
template <typename T> | |
class ref_wrapper | |
{ | |
public: | |
ref_wrapper() = delete; | |
ref_wrapper(T & obj) { ptr = &obj; } | |
ref_wrapper(const ref_wrapper<T> & ref) { ptr = ref.ptr; } |
OlderNewer