式(x + y)^n を展開した場合各項の係数(二項係数)は、パスカルの三角形によって求めることができる。パスカルの三角形とは、各段の端の数字は全て1、他の数字は一段上の左右の数字を足したものである。 二次元配列 cArray の全要素には0が格納され ...
Most methods that resize a CArray object or add elements to it use memcpy_s to move elements. This is a problem because memcpy_s is not compatible with any objects that require the constructor to be ...
ちなみに昔のMFCのコンテナクラスはコンテナに格納する型とそれを引数で与えるときの引数の型を与えるデザインになっていました。 template <class TYPE, class ARG_TYPE> class CArray; 格納する型が int のときは CArray< int, int > を使うことが多いです。 しかし、 CString の ...
Ruby/CArray is an extension library for the multi-dimensional numerical array class. The name "CArray" comes from a wrapper's meaning to a numerical array handled by the C language. CArray stores ...