8.1.1.8.1.1. skimpy.utils.compile_sympy

[———]

Copyright 2017 Laboratory of Computational Systems Biotechnology (LCSB), Ecole Polytechnique Federale de Lausanne (EPFL), Switzerland

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIE CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

8.1.1.8.1.1.1. Attributes

COMPILER

INCLUDE

FUNCTION_DEFINITION_HEADER

FUNCTION_DEFINITION_FOOTER

8.1.1.8.1.1.2. Functions

make_cython_function(symbols, expressions[, quiet, ...])

write_code_to_tempfile(code[, file_path])

generate_vectorized_code(inputs, expressions[, ...])

generate_a_code_line_simplfied(input[, optimize])

generate_a_code_line(input[, optimize])

8.1.1.8.1.1.3. Module Contents

skimpy.COMPILER = 'gcc -fPIC -shared -w -O3'
skimpy.INCLUDE = Multiline-String
Show Value
"""#include <stdlib.h>
#include <math.h>
"""
skimpy.FUNCTION_DEFINITION_HEADER = Multiline-String
Show Value
"""void function(double *input_array, double *output_array){
"""
Show Value
""";
}"""
skimpy.make_cython_function(symbols, expressions, quiet=True, simplify=True, optimize=False, pool=None)
skimpy.write_code_to_tempfile(code, file_path=None)
skimpy.generate_vectorized_code(inputs, expressions, simplify=True, optimize=False, pool=None)
skimpy.generate_a_code_line_simplfied(input, optimize=False)
skimpy.generate_a_code_line(input, optimize=False)