arael 0.6.0

Nonlinear optimization framework with compile-time symbolic differentiation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! A 2-item positional list is only allowed when the second item is
//! `root.<triplet>`. Two bare local blocks must be bracketed.

use arael::model::{CrossBlock, Param, SelfBlock};

#[arael::model]
#[arael(root, jacobian)]
#[arael(constraint(hb_pose, hb_other, {
    [(m.x - 1.0) * m.isigma]
}))]
struct M {
    x: Param<f64>,
    isigma: f64,
    hb_pose: SelfBlock<M>,
    hb_other: CrossBlock<M, M>,
}

fn main() {}