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/internal/ResizableVector.php

23 lines
534 B
PHP
Raw Normal View History

2019-03-10 15:23:11 +00:00
<?php
namespace Arma\Internal;
interface ResizableVector extends Resizable
{
/**
* Recreate the object according to given size specifications, while preserving the elements
* as well as the layout of the elements.
*
* @param int $n_elem
* @return void
*/
function resize($n_elem);
/**
* Change the size of an object, without explicitly preserving data and without initialising the elements.
*
* @param int $n_elem
* @return void
*/
function setSize($n_elem);
}