This repository has been archived on 2020-06-07. You can view files and clone it, but cannot push or open issues or pull requests.
php-armadillo/stubs/Hdf5Opts.php

34 lines
637 B
PHP

<?php
namespace Arma;
/**
* Options when saving/loading data in HDF5 format.
*
* @package Arma
*/
abstract class Hdf5Opts
{
/**
* No extra options.
*/
const NONE = 0;
/**
* Save/load the data with columns transposed to rows (and vice versa).
*/
const TRANS = 1 << 0;
/**
* Instead of overwriting the file, append the specified dataset to the file.
*
* The specified dataset must not already exist in the file
*/
const APPEND = 1 << 1;
/**
* Instead of overwriting the file, replace the specified dataset in the file.
*/
const REPLACE = 1 << 2;
}