public function log(float $base = M_E) : self
    {
        $b = [];

        foreach ($this->a as $i => $row) {
            $temp = [];

            foreach ($row as $value) {
                $temp[] = log($value, $base);
            }

            $b[] = $temp;
        }

        return self::quick($b);
    }
public function log(float $base = M_E) : self
    {
        $b = [];

        foreach ($this->a as $i => $row) {
            $temp = [];

            foreach ($row as $value) {
                $temp[] = log($value, $base);
            }

            $b[] = $temp;
        }

        return self::quick($b);
    }
public function log ( float $ base = M_E ) : self { $ b = [ ] ; foreach ( $ this -> a as $ i => $ row ) { $ temp = [ ] ; foreach ( $ row as $ value ) { $ temp [ ] = log ( $ value , $ base ) ; } $ b [ ] = $ temp ; } return self :: quick ( $ b ) ; }
Return the logarithm of the matrix in specified base.

@param float $base
@return self
Return the logarithm of the matrix in specified base .