37 /// Perform portfolio optimization for a provided matrix of historical returns and an array of expected returns
38 /// </summary>
39 /// <param name="historicalReturns">Matrix of annualized historical returns where each column represents a security and each row returns for the given date/time (size: K x N).</param>
40 /// <param name="expectedReturns">Array of double with the portfolio annualized expected returns (size: K x 1).</param>
41 /// <param name="covariance">Multi-dimensional array of double with the portfolio covariance of annualized returns (size: K x K).</param>
42 /// <returns>Array of double with the portfolio weights (size: K x 1)</returns>