-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompile.m
More file actions
31 lines (25 loc) · 1.62 KB
/
Copy pathcompile.m
File metadata and controls
31 lines (25 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
(* ::Package:: *)
(************************************************************************)
(* This file was generated automatically by the Mathematica front end. *)
(* It contains Initialization cells from a Notebook file, which *)
(* typically will have the same name as this file except ending in *)
(* ".nb" instead of ".m". *)
(* *)
(* This file is intended to be loaded into the Mathematica kernel using *)
(* the package loading commands Get or Needs. Doing so is equivalent *)
(* to using the Evaluate Initialization Cells menu command in the front *)
(* end. *)
(* *)
(* DO NOT EDIT THIS FILE. This entire file is regenerated *)
(* automatically each time the parent Notebook file is saved in the *)
(* Mathematica front end. Any changes you make to this file will be *)
(* overwritten. *)
(************************************************************************)
(* ::Input:: *)
Needs["CompiledFunctionTools`"](*For Compile Print*)
(*compiledfunction//CompilePrint*)
(* ::Input:: *)
(*http://mathematica.stackexchange.com/questions/24595/compiling-more-functions-that-dont-call-mainevaluate*)
FastCompiledFunctionQ[function_CompiledFunction]:=(Needs["CompiledFunctionTools`"];
StringFreeQ[CompiledFunctionTools`CompilePrint@function,"MainEvaluate"])
(*compiledfunction//FastCompiledFunctionQ*)