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/DenseNonResizableVector.php
2019-06-12 11:06:18 +08:00

37 lines
632 B
PHP

<?php
namespace Arma\Internal;
/**
* Interface for non-resizable dense vectors (subview).
*
* @package Arma\Internal
*/
interface DenseNonResizableVector extends DenseVector, NonResizableVector
{
// Initialization
/**
* Set all the elements of an object to one.
*
* @return $this
*/
function ones();
/**
* Set all the elements to random values.
*
* Uses a uniform distribution in the [0,1] interval.
*
* @return $this
*/
function randu();
/**
* Set all the elements to random values.
*
* @return $this
*/
function randn();
}