META-INF.org.jaitools.jiffle.FunctionLookup.properties Maven / Gradle / Ivy
# Copyright 2011 Michael Bedward
#
# This file is part of jai-tools.
#
# jai-tools is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# jai-tools is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with jai-tools. If not, see .
#
# This file is used to initialize Jiffle's FunctionLookup class.
#
# DO NOT EDIT THIS FILE unless you are modifying the Jiffle compiler itself.
# Keys are either the name as used in Jiffle or name + numArgs for
# identically named functions.
#
# Values are: comma delimited:
# 1. name as used in script
# 2. runtime source name
# 3. function provider (JIFFLE, MATH or PROXY)
# 4. volatile (true or false)
# 5. return type: D or List
# 6. one or more argument types: D, List or "0" (zero) for no args
# General numeric functions
abs = abs, abs, MATH, false, D, D
acos = acos, acos, MATH, false, D, D
asin = asin, asin, MATH, false, D, D
atan = atan, atan, MATH, false, D, D
cos = cos, cos, MATH, false, D, D
degToRad = degToRad, degToRad, JIFFLE, false, D, D
exp = exp, exp, MATH, false, D, D
floor = floor, floor, MATH, false, D, D
isinf = isinf, isinf, JIFFLE, false, D, D
isnan = isnan, isnan, JIFFLE, false, D, D
isnull = isnull, isnull, JIFFLE, false, D, D
log1 = log, log, MATH, false, D, D
log2 = log, log2Arg, JIFFLE, false, D, D, D
radToDeg = radToDeg, radToDeg, JIFFLE, false, D, D
rand = rand, rand, JIFFLE, true, D, D
randInt = randInt, randInt, JIFFLE, true, D, D
round1 = round, round, MATH, false, D, D
round2 = round, round2Arg, JIFFLE, false, D, D, D
sign = sign, sign, JIFFLE, false, D, D
sin = sin, sin, MATH, false, D, D
sqrt = sqrt, sqrt, MATH, false, D, D
tan = tan, tan, MATH, false, D, D
# List manipulation functions
concatLL = concat, concatLL, JIFFLE, false, List, List, List
concatDL = concat, concatDL, JIFFLE, false, List, D, List
concatLD = concat, concatLD, JIFFLE, false, List, List, D
# Statistical functions
max2 = max, max, MATH, false, D, D, D
max = max, max, JIFFLE, false, D, List
mean = mean, mean, JIFFLE, false, D, List
min = min, min, JIFFLE, false, D, List
min2 = min, min, MATH, false, D, D, D
median = median, median, JIFFLE, false, D, List
mode = mode, mode, JIFFLE, false, D, List
range = range, range, JIFFLE, false, D, List
sdev = sdev, sdev, JIFFLE, false, D, List
sum = sum, sum, JIFFLE, false, D, List
variance = variance, variance, JIFFLE, false, D, List
# Logical operators
OR = OR, OR, JIFFLE, false, D, D, D
AND = AND, AND, JIFFLE, false, D, D, D
XOR = XOR, XOR, JIFFLE, false, D, D, D
GT = GT, GT, JIFFLE, false, D, D, D
GE = GE, GE, JIFFLE, false, D, D, D
LT = LT, LT, JIFFLE, false, D, D, D
LE = LE, LE, JIFFLE, false, D, D, D
EQ = EQ, EQ, JIFFLE, false, D, D, D
NE = NE, NE, JIFFLE, false, D, D, D
NOT = NOT, NOT, JIFFLE, false, D, D
# Image functions which are proxies for runtime variables
width = width, (double)getWidth(), PROXY, false, D, 0
height = height, (double)getHeight(), PROXY, false, D, 0
size = size, (double)getNumPixels(), PROXY, false, D, 0
x = x, (double)_x, PROXY, false, D, 0
y = y, (double)_y, PROXY, false, D, 0
xmin = xmin, (double)getMinX(), PROXY, false, D, 0
ymin = ymin, (double)getMinY(), PROXY, false, D, 0
xres = xres, getXRes(), PROXY, false, D, 0
xmax = xmax, (double)getMaxX(), PROXY, false, D, 0
ymax = ymax, (double)getMaxY(), PROXY, false, D, 0
yres = yres, getYRes(), PROXY, false, D, 0
© 2015 - 2025 Weber Informatics LLC | Privacy Policy