関数transpose_columnvector2rowvector マニュアル
(The documentation of function
transpose_columnvector2rowvector
)
Last Update: 2021/12/6
◆機能・用途
(Purpose)
列ベクトルの転置行列を計算する(行ベクトルになる)。
Calculate the transpose of a column vector; the result is a row vector.
◆形式
(Format)
#include <matrix/operation.h>
inline struct rowvector transpose_columnvector2rowvector
(const struct columnvector v)
◆引数
(Arguments)
v
元の列ベクトル
v
。
The original column vector
v
.
◆戻り値
(Return value)
v
の転置行列(行ベクトル)を表す構造体。 戻り値のメンバの値は以下のようになる。
A structure which represents the transpose (a row vector) of
v
. The values of members of the return value are as follows.
戻り値のメンバ
Member of the return value
値
Value
size
v.size
各
j
に対するmain[j]
main[j]
for each
j
v.main[j]
allocated
’y’
◆使用例
(Example)
struct columnvector v;
struct rowvector w=transpose_columnvector2rowvector(v);