function stockExpReturn() { //retorno esperado para mais de uma aчуo $i = 0; foreach ($this->_stocks as $stock) { $matrix = new Finance_Matrix($this->ArrayRet[$stock]); $this->returns[$i] = round($matrix->MeanMatrix($this->ArrayRet[$stock]), 4); $i++; } return $this->returns; }