Skip to content

Mistakes in Trid function #2

Description

@gbelouze

Two mistakes

  • the latex formula should read r"f(\mathbf{x})=\sum_{i=1}^{d}(x_i-1)^2-\sum_{i=2}^{d}(x_ix_{i-1})"
  • the evaluation formula should be np.sum((X - 1) ** 2) - np.sum(X[1:] * X[:-1])

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions