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

Since FY2019 the NASA Ames PAH IR Spectroscopic Database is being supported through a directed Work Package at NASA Ames titled: "Laboratory Astrophysics - The NASA Ames PAH IR Spectroscopic Database".
Since FY2023 the NASA Ames PAH IR Spectroscopic Database is being supported through the Laboratory Astrophysics Rd 2 directed Work Package at NASA Ames.
© Copyright 2021-2025, Christiaan Boersma