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

        foreach ($this->a as $value) {
            $b[] = log($value, $base);
        }

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

        foreach ($this->a as $value) {
            $b[] = log($value, $base);
        }

        return static::quick($b);
    }
public function log ( float $ base = M_E ) : self { $ b = [ ] ; foreach ( $ this -> a as $ value ) { $ b [ ] = log ( $ value , $ base ) ; } return static :: quick ( $ b ) ; }
Take the log to the given base of each element in the vector.

@param float $base
@return self
Take the log to the given base of each element in the vector .