37 lines
630 B
PHP
37 lines
630 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 void
|
|
*/
|
|
function ones();
|
|
|
|
/**
|
|
* Set all the elements to random values.
|
|
*
|
|
* Uses a uniform distribution in the [0,1] interval.
|
|
*
|
|
* @return void
|
|
*/
|
|
function randu();
|
|
|
|
/**
|
|
* Set all the elements to random values.
|
|
*
|
|
* @return void
|
|
*/
|
|
function randn();
|
|
}
|