Function trx::detect_positions_dtype

Function Documentation

std::string trx::detect_positions_dtype(const std::string &path)

Detect the dtype of the positions array for a TRX path.

Parameters:

path – Path to a TRX zip archive or directory.

Returns:

std::string dtype (e.g., float16/float32/float64) or empty if unknown.