# [✓] Compile incomplete gamma function with C code?

Posted 10 months ago
825 Views
|
2 Replies
|
1 Total Likes
|
 Can I compile the Mathmatica incomplete gamma function Gamma(a,z), which accepts complex number with C code?
2 Replies
Sort By:
Posted 10 months ago
 The Compiled Function that can be compiled see list below. Probably Yes, Gamma function is on the list. CompileCompilerFunctions[] // Sort {Abs, AddTo, And, Append, AppendTo, Apply, ArcCos, ArcCosh, ArcCot, \ ArcCoth, ArcCsc, ArcCsch, ArcSec, ArcSech, ArcSin, ArcSinh, ArcTan, \ ArcTanh, Arg, Array, ArrayDepth, InternalBag, InternalBagPart, \ BitAnd, BitNot, BitOr, BitXor, Block, BlockRandom, Boole, Break, \ Cases, Catch, Ceiling, Chop, InternalCompileError, \ SystemPrivateCompileSymbol, Complement, ComposeList, \ CompoundExpression, Conjugate, ConjugateTranspose, Continue, Cos, \ Cosh, Cot, Coth, Count, Csc, Csch, Decrement, Delete, DeleteCases, \ Dimensions, Divide, DivideBy, Do, Dot, Drop, Equal, Erf, Erfc, EvenQ, \ Exp, InternalExpm1, Fibonacci, First, FixedPoint, FixedPointList, \ Flatten, NDSolveFEMFlattenAll, Floor, Fold, FoldList, For, \ FractionalPart, FreeQ, Gamma, CompileGetElement, Goto, Greater, \ GreaterEqual, Gudermannian, Haversine, If, Im, Implies, Increment, \ Indexed, Inequality, CompileInnerDo, Insert, IntegerDigits, \ IntegerPart, Intersection, InverseGudermannian, InverseHaversine, \ CompileIteratorCount, Join, Label, Last, Length, Less, LessEqual, \ List, Log, Log10, InternalLog1p, Log2, LogGamma, LogisticSigmoid, \ LucasL, Map, MapAll, MapAt, MapIndexed, MapThread, \ NDSolveFEMMapThreadDot, MatrixQ, Max, MemberQ, Min, Minus, Mod, \ CompileMod1, Module, Most, N, Negative, Nest, NestList, NonNegative, \ Not, OddQ, Or, OrderedQ, Out, Outer, Part, Partition, Piecewise, \ Plus, Position, Positive, Power, PreDecrement, PreIncrement, Prepend, \ PrependTo, Product, Quotient, Ramp, Random, RandomChoice, \ RandomComplex, RandomInteger, RandomReal, RandomSample, \ RandomVariate, Range, Re, RealAbs, RealSign, InternalReciprocalSqrt, \ ReplacePart, Rest, Return, Reverse, RotateLeft, RotateRight, Round, \ RuleCondition, SameQ, Scan, Sec, Sech, SeedRandom, Select, Set, \ SetDelayed, CompileSetIterate, Sign, Sin, Sinc, Sinh, Sort, Sqrt, \ InternalSquare, InternalStuffBag, Subtract, SubtractFrom, Sum, \ Switch, Table, Take, Tan, Tanh, TensorRank, Throw, Times, TimesBy, \ Tr, Transpose, Unequal, Union, Unitize, UnitStep, UnsameQ, VectorQ, \ Which, While, With, Xor}{Abs, AddTo, And, Append, AppendTo, Apply, ArcCos, ArcCosh, ArcCot, \ ArcCoth, ArcCsc, ArcCsch, ArcSec, ArcSech, ArcSin, ArcSinh, ArcTan, \ ArcTanh, Arg, Array, ArrayDepth, InternalBag, InternalBagPart, \ BitAnd, BitNot, BitOr, BitXor, Block, BlockRandom, Boole, Break, \ Cases, Catch, Ceiling, Chop, InternalCompileError, \ SystemPrivateCompileSymbol, Complement, ComposeList, \ CompoundExpression, Conjugate, ConjugateTranspose, Continue, Cos, \ Cosh, Cot, Coth, Count, Csc, Csch, Decrement, Delete, DeleteCases, \ Dimensions, Divide, DivideBy, Do, Dot, Drop, Equal, Erf, Erfc, EvenQ, \ Exp, InternalExpm1, Fibonacci, First, FixedPoint, FixedPointList, \ Flatten, NDSolveFEMFlattenAll, Floor, Fold, FoldList, For, \ FractionalPart, FreeQ, Gamma, CompileGetElement, Goto, Greater, \ GreaterEqual, Gudermannian, Haversine, If, Im, Implies, Increment, \ Indexed, Inequality, CompileInnerDo, Insert, IntegerDigits, \ IntegerPart, Intersection, InverseGudermannian, InverseHaversine, \ CompileIteratorCount, Join, Label, Last, Length, Less, LessEqual, \ List, Log, Log10, InternalLog1p, Log2, LogGamma, LogisticSigmoid, \ LucasL, Map, MapAll, MapAt, MapIndexed, MapThread, \ NDSolveFEMMapThreadDot, MatrixQ, Max, MemberQ, Min, Minus, Mod, \ CompileMod1, Module, Most, N, Negative, Nest, NestList, NonNegative, \ Not, OddQ, Or, OrderedQ, Out, Outer, Part, Partition, Piecewise, \ Plus, Position, Positive, Power, PreDecrement, PreIncrement, Prepend, \ PrependTo, Product, Quotient, Ramp, Random, RandomChoice, \ RandomComplex, RandomInteger, RandomReal, RandomSample, \ RandomVariate, Range, Re, RealAbs, RealSign, InternalReciprocalSqrt, \ ReplacePart, Rest, Return, Reverse, RotateLeft, RotateRight, Round, \ RuleCondition, SameQ, Scan, Sec, Sech, SeedRandom, Select, Set, \ SetDelayed, CompileSetIterate, Sign, Sin, Sinc, Sinh, Sort, Sqrt, \ InternalSquare, InternalStuffBag, Subtract, SubtractFrom, Sum, \ Switch, Table, Take, Tan, Tanh, TensorRank, Throw, Times, TimesBy, \ Tr, Transpose, Unequal, Union, Unitize, UnitStep, UnsameQ, VectorQ, \ Which, While, With, Xor} `