¡@

Home 

c++ Programming Glossary: iw

How to speed up my sparse matrix solver?

http://stackoverflow.com/questions/2388196/how-to-speed-up-my-sparse-matrix-solver

performance critical part is as follows size_t ic d_ny 1 iw d_ny ie d_ny 2 is 1 in 2 d_ny 1 for size_t y 1 y d_ny 1 y for.. 1 y for size_t x 1 x d_nx 1 x d_x ic d_b ic d_w ic d_x iw d_e ic d_x ie d_s ic d_x is d_n ic d_x in ic iw ie is in ic.. ic d_x iw d_e ic d_x ie d_s ic d_x is d_n ic d_x in ic iw ie is in ic 2 iw 2 ie 2 is 2 in 2 All arrays involved are of..

Custom stream manipulator for streaming integers in any base

http://stackoverflow.com/questions/6478745/custom-stream-manipulator-for-streaming-integers-in-any-base

which stores some data in the stream using xalloc and iword . Create a custom num_put facet which looks for your manipulator.. which we can store data for this manipulator. static int iw std ios_base xalloc return iw void apply std ostream os const.. this manipulator. static int iw std ios_base xalloc return iw void apply std ostream os const store the base value in the..

modular arithmetics and NTT (finite field DFT) optimizations

http://stackoverflow.com/questions/18577076/modular-arithmetics-and-ntt-finite-field-dft-optimizations

number theoretic transform public DWORD r L p N DWORD W iW rN fourier_NTT r 0 L 0 p 0 W 0 iW 0 rN 0 main interface void.. DWORD r L p N DWORD W iW rN fourier_NTT r 0 L 0 p 0 W 0 iW 0 rN 0 main interface void NTT DWORD dst DWORD src DWORD n 0.. src n helper functions bool init DWORD n init r L p W iW rN void NTT_fast DWORD dst DWORD src DWORD n DWORD w DWORD dst..