-
```c
static void f(int* n, double* t, double y[], double fy[], double* theta) {
fy[0] = y[1];
fy[1] = -y[0] - theta[0] * y[1];
}
```
-
`def _get_rotation_matrix(thetas):
bs, g = thetas.shape
device = thetas.device
thetas = thetas.reshape(-1) # [bs, n] --> [bs x n]
x = torch.cos(thetas)
y = torch.sin(th…
-
Create a test to see how Drake handles vector differentiation.
For example, consider a pendulum B of length L that has a simple rotation in world W.
The position vector from Wo (world origin) to Bp …
-
On `alcf-theta-knl` the error is:
```
(py3) sajid@thetalogin5:/projects/HEP_on_HPC/sajid/icarus_hepnos/balsam> balsam site sync
Updated site.
Restarting Site /lus/theta-fs0/projects/HEP_on_HPC/saj…
-
The API description has the following two methods for `vi`:
- `vi(model, alg)`
- `vi(model, alg, q::VariationalPosterior, θ)`
The first method is needed when the algorithm only supports one varia…
-
Due to a power outage, my computer shutdown. I restarted and when I launched Theta Guardian Node, a message on the bottom popped up "Node failed to launch - Failed to load or create key: could not dec…
-
#### Summary:
The functions for the categorical distribution only accept a column vector, it would be great if it could accept also row vectors.
#### Description:
I use the categorical distribu…
-
mk = (theta k+1 - theta k)/(tk+1 - tk)
what if k+1 exceed the size? should we set mk as 0 or mk = mk-1 ?
-
Soluzione Prof
-
RE: Our previous conversation, can you add the ability to override he fit points. This will be helpful for people calculating simple SLM beams which may not need many fit points.