update stubs
This commit is contained in:
parent
262c228e19
commit
d2b87f2533
|
@ -14,7 +14,7 @@ interface DenseNonResizableMatrix extends DenseMatrix, NonResizableMatrix
|
|||
/**
|
||||
* Set all the elements of an object to one.
|
||||
*
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function ones();
|
||||
|
||||
|
@ -23,14 +23,14 @@ interface DenseNonResizableMatrix extends DenseMatrix, NonResizableMatrix
|
|||
*
|
||||
* Uses a uniform distribution in the [0,1] interval.
|
||||
*
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function randu();
|
||||
|
||||
/**
|
||||
* Set all the elements to random values.
|
||||
*
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function randn();
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ interface DenseNonResizableVector extends DenseVector, NonResizableVector
|
|||
/**
|
||||
* Set all the elements of an object to one.
|
||||
*
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function ones();
|
||||
|
||||
|
@ -23,14 +23,14 @@ interface DenseNonResizableVector extends DenseVector, NonResizableVector
|
|||
*
|
||||
* Uses a uniform distribution in the [0,1] interval.
|
||||
*
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function randu();
|
||||
|
||||
/**
|
||||
* Set all the elements to random values.
|
||||
*
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function randn();
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ interface DenseResizableMatrix extends DenseMatrix, ResizableMatrix
|
|||
*
|
||||
* @param int $n_rows[optional]
|
||||
* @param int $n_cols[optional]
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function ones($n_rows, $n_cols);
|
||||
|
||||
|
@ -29,7 +29,7 @@ interface DenseResizableMatrix extends DenseMatrix, ResizableMatrix
|
|||
*
|
||||
* @param int $n_rows
|
||||
* @param int $n_cols
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function randu($n_rows, $n_cols);
|
||||
|
||||
|
@ -40,7 +40,7 @@ interface DenseResizableMatrix extends DenseMatrix, ResizableMatrix
|
|||
*
|
||||
* @param int $n_rows
|
||||
* @param int $n_cols
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function randn($n_rows, $n_cols);
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ interface DenseResizableVector extends DenseVector, ResizableVector
|
|||
* Set all the elements of an object to one, optionally first changing the size to specified dimensions.
|
||||
*
|
||||
* @param int $n_elem[optional]
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function ones($n_elem);
|
||||
|
||||
|
@ -27,7 +27,7 @@ interface DenseResizableVector extends DenseVector, ResizableVector
|
|||
* Uses a uniform distribution in the [0,1] interval.
|
||||
*
|
||||
* @param int $n_elem[optional]
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function randu($n_elem);
|
||||
|
||||
|
@ -37,7 +37,7 @@ interface DenseResizableVector extends DenseVector, ResizableVector
|
|||
* Uses a normal/Gaussian distribution with zero mean and unit variance.
|
||||
*
|
||||
* @param int $n_elem[optional]
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function randn($n_elem);
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ interface NonResizable
|
|||
/**
|
||||
* Set the elements of an object to zero.
|
||||
*
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function zeros();
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ interface NonResizableMatrix extends NonResizable, Matrix
|
|||
/**
|
||||
* Set the elements along the main diagonal to one and off-diagonal elements to zero.
|
||||
*
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function eye();
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ interface ResizableMatrix extends Resizable, Matrix
|
|||
*
|
||||
* @param int $n_rows[optional]
|
||||
* @param int $n_cols[optional]
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function zeros($n_rows, $n_cols);
|
||||
|
||||
|
@ -55,7 +55,7 @@ interface ResizableMatrix extends Resizable, Matrix
|
|||
*
|
||||
* @param int $n_rows[optional]
|
||||
* @param int $n_cols[optional]
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function eye($n_rows, $n_cols);
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ interface ResizableVector extends Resizable, Vector
|
|||
* Set the elements of an object to zero, optionally first changing the size to specified dimensions.
|
||||
*
|
||||
* @param int $n_elem[optional]
|
||||
* @return void
|
||||
* @return $this
|
||||
*/
|
||||
function zeros($n_elem);
|
||||
}
|
Reference in New Issue