SDDSlib
Loading...
Searching...
No Matches
SDDSutils.h
1/*************************************************************************\
2* Copyright (c) 2002 The University of Chicago, as Operator of Argonne
3* National Laboratory.
4* Copyright (c) 2002 The Regents of the University of California, as
5* Operator of Los Alamos National Laboratory.
6* This file is distributed subject to a Software License Agreement found
7* in the file LICENSE that is included with this distribution.
8\*************************************************************************/
9
10long appendToStringArray(char ***item, long items, char *newItem);
11long expandColumnPairNames(SDDS_DATASET *SDDSin, char ***name,
12 char ***errorName, long names,
13 char **excludeName, long excludeNames,
14 long typeMode, long typeValue);
15
16char *multiplyColumnUnits(SDDS_DATASET *SDDSin, char *name1, char *name2);
17char *divideColumnUnits(SDDS_DATASET *SDDSin, char *name1, char *name2);
18/* basically just composes 1/(units) */
19char *makeFrequencyUnits(SDDS_DATASET *SDDSin, char *indepName);
20
21long compareParameterValues(void *param1, void *param2, long type);
22void moveToStringArray(char ***target, long *targets, char **source,
23 long sources);
24
25int64_t greatestProductOfSmallPrimes1(int64_t rows, int64_t *primeList, int64_t nPrimes);
26int64_t greatestProductOfSmallPrimes(int64_t rows);