src/Alg/Math/Algebra/Matrix.php
public function clear( $init = 0 )
	{
		for( $row = 0; $row < $this->getRowNumber(); $row++ )
			for( $column = 0; $column < $this->getColumnNumber(); $column++ )
				$this->setValue( $row, $column, $init );
	}
public function clear( $init = 0 )
	{
		for( $row = 0; $row < $this->getRowNumber(); $row++ )
			for( $column = 0; $column < $this->getColumnNumber(); $column++ )
				$this->setValue( $row, $column, $init );
	}
public function clear ( $ init = 0 ) { for ( $ row = 0 ; $ row < $ this -> getRowNumber ( ) ; $ row ++ ) for ( $ column = 0 ; $ column < $ this -> getColumnNumber ( ) ; $ column ++ ) $ this -> setValue ( $ row , $ column , $ init ) ; }
Clears Matrix by setting initial value.
@access		public
@param		int			$init			initial values in Matrix
@return		void
Clears Matrix by setting initial value .