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/DenseNonResizableMatrix.php

37 lines
633 B
PHP

<?php
namespace Arma\Internal;
/**
* Interface for non-resizable dense matrices (subview).
*
* @package Arma\Internal
*/
interface DenseNonResizableMatrix extends DenseMatrix, NonResizableMatrix
{
// 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();
}