NAPISD
PAHdb website C++ backend
Loading...
Searching...
No Matches
NNLS.h
1#ifndef _NNLS_H
2#define _NNLS_H
3
4#include <cassert>
5#include <cmath>
6#include <cstdio>
7#include <cstdlib>
8
9#define NNLS_MAX(a, b) ((a) >= (b) ? (a) : (b))
10#define NNLS_ABS(x) ((x) >= 0 ? (x) : -(x))
11
12int nnls(double **a, int m, int n, double *b, double *x, double *rnorm,
13 double *w, double *zz, int *index);
14
15int h12(int mode, int lpivot, int l1, int m, double *u, int u_dim1, double *up,
16 double *cm, int ice, int icv, int ncv);
17
18void g1(double a, double b, double *cterm, double *sterm, double *sig);
19
20#endif

From FY2025 onward the NASA Ames PAH IR Spectroscopic Database is being supported through the Laboratory Astrophysics Round 3 directed Work Package at NASA Ames.
From FY2023-2025 the NASA Ames PAH IR Spectroscopic Database was supported through the Laboratory Astrophysics Round 2 directed Work Package at NASA Ames.
From FY2019-2022 the NASA Ames PAH IR Spectroscopic Database was supported through a directed Work Package at NASA Ames titled: "Laboratory Astrophysics – The NASA Ames PAH IR Spectroscopic Database".
© Copyright 2021-2025, Christiaan Boersma