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

37 lines
632 B
PHP
Raw Normal View History

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