関数initialize_array_station_info マニュアル

(The documentation of function initialize_array_station_info)

Last Update: 2025/8/7


◆機能・用途(Purpose)

struct array_station_info型構造体を初期化する。
Initialize a struct array_station_info-type structure.


◆形式(Format)

#include <array/station_info.h>
inline struct array_station_info initialize_array_station_info
(const int Nstations)


◆引数(Arguments)

Nstations アレイに含まれる観測点数。
The number of stations in the array.


◆戻り値(Return value)

メンバNに値を設定し、メンバname, x, y, zの動的メモリを確保した構造体。
A structure whose member N is set and dynamic memories for members name, x, y, and z are allocated.


◆使用例(Example)

struct array_station_info stations=initialize_array_station_info(15);