2021-09-01ãã1ã¶æéã®è¨äºä¸è¦§
C++ ã®SFINAE (Substitution Failure Is Not An Error)ã使ã£ã¦ï¼ã¯ã©ã¹ T ã« foo(int a, int b)ããããå¦ãã調ã¹ãæ¹æ³ã§ãï¼ ç°¡åãªä¾(class Tã« ãªã¼ãã¼ãã¼ããããé¢æ°ããªãå ´å) ã¾ãã¯ã·ã³ãã«ã«ï¼ã¯ã©ã¹ T ã«å¯¾ãã¦T::foo ãåå¨ãããã©ãã調â¦
debian ã® nvidia-graphics-drivers ãå¤ãã¾ã¾ï¼470.57.02 )ã§ãªããªãæ´æ°ãããªãã®ã§ï¼èªå㧠470.63.01 ã«æ´æ°ãã¾ããï¼470.57.02 ã¯Linux-5.14ããµãã¼ããã¦ãã¾ãããï¼ã¢ã¸ã¥ã¼ã«ããã«ãã§ããªãï¼ï¼ 470.63.01 ãªãLinux-5.14ããµãã¼ããã¦ãã¾â¦
mp4ãªã©ã®åç»ãã¡ã¤ã«ããï¼ç¹å®ã®ç« ï¼ãã£ãã¿ã¼ï¼ãåãåºãæ¹æ³ã§ãï¼åãåºãã¯ffmpegã使ãã¨ç°¡åãã¤é«éã§ãï¼é³å£°ã»ç»è³ªã®å£åãããã¾ããï¼ æé 1) ãã£ãã¿ã¼æ å ±ã®ç¢ºèª ffmpegä»å±ã®ffprobeã³ãã³ãã使ããã£ãã¿ã¼ã®ä¸è¦§ã確èªãã¾ã $ ffproâ¦
ä¸è¬åéè¡åï¼æ¬ä¼¼éè¡åï¼æå°äºä¹æ³ã«å¯¾å¿ãããã¤ï¼ã python ã§è¨ç®ãããµã³ãã«ç¹ç°å¤å解(SVD)ãå¿ è¦ãªã®ã§ï¼å®è£ 㯠numpy ã使ãã¾ãc++/eigen ã§å®è£ ããã³ã¼ã https://pyopyopyo.hatenablog.com/entry/2021/09/07/090000 ã®pythonçã«ãªãã¾ã imâ¦
ä¸è¬åéè¡åï¼æ¬ä¼¼éè¡åï¼æå°äºä¹æ³ã«å¯¾å¿ãããã¤ï¼ãc++ã§è¨ç®ãããµã³ãã«ç¹ç°å¤å解(SVD)ãå¿ è¦ãªã®ã§ï¼å®è£ 㯠Eigen ã使ãã¾ãpython/numpy ã®å®è£ ãç¨æãã¾ããï¼ãã¡ãã§ã https://pyopyopyo.hatenablog.com/entry/2021/09/14/161955 #include <Eigen/Dense></eigen/dense>â¦
/dev/null ã¿ãã㪠std::ostream ãä½ãæ¹æ³ï¼ æ¹æ³1 : std::ostreamãç¶æ¿ãã¦èªåã® null stream ãä½æãã 以ä¸ã®URLã§ç´¹ä»ããã¦ããæ¹æ³ stackoverflow.com #include <iostream> class NulStreambuf : public std::streambuf { char dummyBuffer[ 64 ]; protect</iostream>â¦