math-test-functions 0.5.2

A collection of non linear functions for testing optimisation algorithms
Documentation
1
2
3
4
5
6
7
8
9
//! Zakharov2 test function

use crate::functions::zakharov::zakharov;
use ndarray::Array1;

/// Zakharov function variant (2D specific)
pub fn zakharov2(x: &Array1<f64>) -> f64 {
    zakharov(x)
}