├── .idea
├── .name
├── kotlinc.xml
├── .gitignore
├── AndroidProjectSystem.xml
├── vcs.xml
└── inspectionProfiles
│ └── Project_Default.xml
├── app
├── .gitignore
└── src
│ └── main
│ ├── ic_launcher-playstore.png
│ ├── res
│ ├── mipmap-hdpi
│ │ ├── ic_launcher.webp
│ │ ├── ic_launcher_round.webp
│ │ └── ic_launcher_foreground.webp
│ ├── mipmap-mdpi
│ │ ├── ic_launcher.webp
│ │ ├── ic_launcher_round.webp
│ │ └── ic_launcher_foreground.webp
│ ├── mipmap-xhdpi
│ │ ├── ic_launcher.webp
│ │ ├── ic_launcher_round.webp
│ │ └── ic_launcher_foreground.webp
│ ├── mipmap-xxhdpi
│ │ ├── ic_launcher.webp
│ │ ├── ic_launcher_round.webp
│ │ └── ic_launcher_foreground.webp
│ ├── mipmap-xxxhdpi
│ │ ├── ic_launcher.webp
│ │ ├── ic_launcher_round.webp
│ │ └── ic_launcher_foreground.webp
│ ├── values
│ │ ├── ic_launcher_background.xml
│ │ └── strings.xml
│ ├── mipmap-anydpi-v26
│ │ ├── ic_launcher.xml
│ │ └── ic_launcher_round.xml
│ ├── drawable
│ │ └── baseline_play_arrow_24.xml
│ └── xml
│ │ ├── backup_rules.xml
│ │ └── data_extraction_rules.xml
│ └── java
│ └── com
│ └── symja
│ └── app
│ └── SymjaApplication.java
├── modules
├── jlatex
│ ├── .gitignore
│ ├── README.md
│ ├── jlatexmath
│ │ ├── build.gradle
│ │ └── jlatexmath-debug.aar
│ ├── jlatexmath-font-greek
│ │ ├── build.gradle
│ │ └── jlatexmath-font-greek-debug.aar
│ ├── jlatexmath-font-cyrillic
│ │ ├── build.gradle
│ │ └── jlatexmath-font-cyrillic-debug.aar
│ └── build.sh
├── common
│ ├── .gitignore
│ ├── consumer-rules.pro
│ └── src
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ └── java
│ │ │ └── com
│ │ │ └── symja
│ │ │ └── common
│ │ │ └── datastrcture
│ │ │ ├── json
│ │ │ ├── JsonIO.java
│ │ │ └── WrongJsonFormatException.java
│ │ │ └── IExportable.java
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── symja
│ │ └── programming
│ │ └── ExampleUnitTest.java
├── programming
│ ├── .gitignore
│ ├── consumer-rules.pro
│ └── src
│ │ ├── main
│ │ ├── assets
│ │ │ ├── doc
│ │ │ │ └── functions
│ │ │ │ │ ├── None.md
│ │ │ │ │ ├── Owerflow.md
│ │ │ │ │ ├── Real.md
│ │ │ │ │ ├── Complexes.md
│ │ │ │ │ ├── EvalF.md
│ │ │ │ │ ├── Int.md
│ │ │ │ │ ├── Reals.md
│ │ │ │ │ ├── Indeterminate.md
│ │ │ │ │ ├── Integers.md
│ │ │ │ │ ├── Integer.md
│ │ │ │ │ ├── WordBoundary.md
│ │ │ │ │ ├── C.md
│ │ │ │ │ ├── Diff.md
│ │ │ │ │ ├── Whitespace.md
│ │ │ │ │ ├── Verbatim.md
│ │ │ │ │ ├── Divergence.md
│ │ │ │ │ ├── StartOfLine.md
│ │ │ │ │ ├── Graphics3D.md
│ │ │ │ │ ├── RegularExpression.md
│ │ │ │ │ ├── WhitespaceCharacter.md
│ │ │ │ │ ├── Alternatives.md
│ │ │ │ │ ├── HexidecimalCharacter.md
│ │ │ │ │ ├── StartOfString.md
│ │ │ │ │ ├── Span.md
│ │ │ │ │ ├── MatrixForm.md
│ │ │ │ │ ├── NumberString.md
│ │ │ │ │ ├── Booleans.md
│ │ │ │ │ ├── Parenthesis.md
│ │ │ │ │ ├── JacobiP.md
│ │ │ │ │ ├── DigitCharacter.md
│ │ │ │ │ ├── LetterCharacter.md
│ │ │ │ │ ├── FittedModel.md
│ │ │ │ │ ├── FileNames.md
│ │ │ │ │ ├── Except.md
│ │ │ │ │ ├── Null.md
│ │ │ │ │ ├── String.md
│ │ │ │ │ ├── SlotSequence.md
│ │ │ │ │ ├── Undefined.md
│ │ │ │ │ ├── $Line.md
│ │ │ │ │ ├── Ln.md
│ │ │ │ │ ├── MissingQ.md
│ │ │ │ │ ├── ArrayPlot.md
│ │ │ │ │ ├── IntegerQ.md
│ │ │ │ │ ├── TestResultObject.md
│ │ │ │ │ ├── MinFilter.md
│ │ │ │ │ ├── PlusMinus.md
│ │ │ │ │ ├── Underflow.md
│ │ │ │ │ ├── $RecursionLimit.md
│ │ │ │ │ ├── ListQ.md
│ │ │ │ │ ├── GraphComplement.md
│ │ │ │ │ ├── FactorSquareFree.md
│ │ │ │ │ ├── SymbolQ.md
│ │ │ │ │ ├── $HistoryLength.md
│ │ │ │ │ ├── DialogInput.md
│ │ │ │ │ ├── LowerCaseQ.md
│ │ │ │ │ ├── NumericQ.md
│ │ │ │ │ ├── SystemDialogInput.md
│ │ │ │ │ ├── True.md
│ │ │ │ │ ├── False.md
│ │ │ │ │ ├── GraphDifference.md
│ │ │ │ │ ├── GraphUnion.md
│ │ │ │ │ ├── Input.md
│ │ │ │ │ ├── NHoldFirst.md
│ │ │ │ │ ├── HoldAll.md
│ │ │ │ │ ├── Out.md
│ │ │ │ │ ├── FactorSquareFreeList.md
│ │ │ │ │ ├── ListPlot3D.md
│ │ │ │ │ ├── NHoldRest.md
│ │ │ │ │ ├── NumberQ.md
│ │ │ │ │ ├── ToString.md
│ │ │ │ │ ├── $IterationLimit.md
│ │ │ │ │ ├── $OperatingSystem.md
│ │ │ │ │ ├── Close.md
│ │ │ │ │ ├── HoldRest.md
│ │ │ │ │ ├── Defer.md
│ │ │ │ │ ├── DigitQ.md
│ │ │ │ │ ├── InputString.md
│ │ │ │ │ ├── Evaluate.md
│ │ │ │ │ ├── HoldFirst.md
│ │ │ │ │ ├── RandomReal.md
│ │ │ │ │ ├── SemanticImport.md
│ │ │ │ │ ├── GraphIntersection.md
│ │ │ │ │ ├── Abort.md
│ │ │ │ │ ├── AbsArg.md
│ │ │ │ │ ├── GraphDisjointUnion.md
│ │ │ │ │ ├── PieChart.md
│ │ │ │ │ ├── TensorRank.md
│ │ │ │ │ ├── $MaxMachineNumber.md
│ │ │ │ │ ├── $ScriptCommandLine.md
│ │ │ │ │ ├── Accumulate.md
│ │ │ │ │ ├── MatrixPlot.md
│ │ │ │ │ ├── RandomInteger.md
│ │ │ │ │ ├── $MinMachineNumber.md
│ │ │ │ │ ├── Catenate.md
│ │ │ │ │ ├── ClearAll.md
│ │ │ │ │ ├── $Assumptions.md
│ │ │ │ │ ├── CarlsonRC.md
│ │ │ │ │ ├── CompoundExpression.md
│ │ │ │ │ ├── KeysExistsQ.md
│ │ │ │ │ ├── SyntaxQ.md
│ │ │ │ │ ├── Unitize.md
│ │ │ │ │ ├── CarlsonRD.md
│ │ │ │ │ ├── CarlsonRF.md
│ │ │ │ │ ├── CarlsonRG.md
│ │ │ │ │ ├── Reverse.md
│ │ │ │ │ ├── AddTo.md
│ │ │ │ │ ├── CarlsonRJ.md
│ │ │ │ │ ├── Chop.md
│ │ │ │ │ ├── TrigExpand.md
│ │ │ │ │ ├── DivideBy.md
│ │ │ │ │ ├── FactorTerms.md
│ │ │ │ │ ├── InverseFunction.md
│ │ │ │ │ ├── MaxFilter.md
│ │ │ │ │ ├── NonNegative.md
│ │ │ │ │ ├── NonPositive.md
│ │ │ │ │ ├── OwnValues.md
│ │ │ │ │ ├── TimesBy.md
│ │ │ │ │ ├── BoxWhiskerChart.md
│ │ │ │ │ ├── Histogram.md
│ │ │ │ │ ├── RemoveDiacritics.md
│ │ │ │ │ ├── TensorDimensions.md
│ │ │ │ │ ├── UpValues.md
│ │ │ │ │ ├── Delete.md
│ │ │ │ │ ├── SymbolName.md
│ │ │ │ │ ├── CompiledFunction.md
│ │ │ │ │ ├── EulerE.md
│ │ │ │ │ ├── SemanticImportString.md
│ │ │ │ │ ├── BrayCurtisDistance.md
│ │ │ │ │ ├── DeleteDuplicatesBy.md
│ │ │ │ │ ├── Fold.md
│ │ │ │ │ ├── SubtractFrom.md
│ │ │ │ │ ├── Composition.md
│ │ │ │ │ ├── Decrement.md
│ │ │ │ │ ├── Interrupt.md
│ │ │ │ │ ├── JacobiMatrix.md
│ │ │ │ │ ├── Surd.md
│ │ │ │ │ ├── DiscreteDelta.md
│ │ │ │ │ ├── MatchQ.md
│ │ │ │ │ ├── TakeLargest.md
│ │ │ │ │ ├── TakeSmallest.md
│ │ │ │ │ ├── ToExpression.md
│ │ │ │ │ ├── ToLowerCase.md
│ │ │ │ │ ├── ToUpperCase.md
│ │ │ │ │ ├── ValueQ.md
│ │ │ │ │ ├── AiryAi.md
│ │ │ │ │ ├── AiryBi.md
│ │ │ │ │ ├── BarChart.md
│ │ │ │ │ ├── BooleanQ.md
│ │ │ │ │ ├── Cofactor.md
│ │ │ │ │ ├── ConstantArray.md
│ │ │ │ │ ├── Quiet.md
│ │ │ │ │ ├── AtomQ.md
│ │ │ │ │ ├── ByteArrayQ.md
│ │ │ │ │ ├── Khinchin.md
│ │ │ │ │ ├── MeanFilter.md
│ │ │ │ │ ├── Riffle.md
│ │ │ │ │ ├── Area.md
│ │ │ │ │ ├── ArgMin.md
│ │ │ │ │ ├── ComposeList.md
│ │ │ │ │ ├── Cosh.md
│ │ │ │ │ ├── JacobiSymbol.md
│ │ │ │ │ ├── List.md
│ │ │ │ │ ├── LowerTriangularMatrixQ.md
│ │ │ │ │ ├── MathMLForm.md
│ │ │ │ │ ├── UpperTriangularMatrixQ.md
│ │ │ │ │ ├── Arg.md
│ │ │ │ │ ├── ArgMax.md
│ │ │ │ │ ├── CountDistinct.md
│ │ │ │ │ ├── Divisible.md
│ │ │ │ │ ├── FactorTermsList.md
│ │ │ │ │ ├── Identity.md
│ │ │ │ │ ├── InputForm.md
│ │ │ │ │ ├── SubsetQ.md
│ │ │ │ │ ├── TakeWhile.md
│ │ │ │ │ ├── AiryAiPrime.md
│ │ │ │ │ ├── AiryBiPrime.md
│ │ │ │ │ ├── DownValues.md
│ │ │ │ │ ├── ExactNumberQ.md
│ │ │ │ │ ├── Pause.md
│ │ │ │ │ ├── Break.md
│ │ │ │ │ ├── CatalanNumber.md
│ │ │ │ │ ├── EndPackage.md
│ │ │ │ │ ├── LengthWhile.md
│ │ │ │ │ ├── LevelQ.md
│ │ │ │ │ ├── ListConvolve.md
│ │ │ │ │ ├── Roots.md
│ │ │ │ │ ├── Subfactorial.md
│ │ │ │ │ ├── TeXForm.md
│ │ │ │ │ ├── Last.md
│ │ │ │ │ ├── StackBegin.md
│ │ │ │ │ ├── TrigReduce.md
│ │ │ │ │ ├── CarmichaelLambda.md
│ │ │ │ │ ├── Div.md
│ │ │ │ │ ├── PreIncrement.md
│ │ │ │ │ ├── Rationalize.md
│ │ │ │ │ ├── AbsoluteTiming.md
│ │ │ │ │ ├── FourierMatrix.md
│ │ │ │ │ ├── PreDecrement.md
│ │ │ │ │ ├── RightComposition.md
│ │ │ │ │ ├── Unique.md
│ │ │ │ │ ├── CirclePoints.md
│ │ │ │ │ ├── DeleteCases.md
│ │ │ │ │ ├── OneIdentity.md
│ │ │ │ │ ├── SinhIntegral.md
│ │ │ │ │ ├── TakeLargestBy.md
│ │ │ │ │ ├── BeginPackage.md
│ │ │ │ │ ├── CosIntegral.md
│ │ │ │ │ ├── PauliMatrix.md
│ │ │ │ │ ├── Perimeter.md
│ │ │ │ │ ├── Subtract.md
│ │ │ │ │ ├── TakeSmallestBy.md
│ │ │ │ │ ├── UpperCaseQ.md
│ │ │ │ │ ├── BooleanVariables.md
│ │ │ │ │ ├── DensityHistogram.md
│ │ │ │ │ ├── DiracDelta.md
│ │ │ │ │ ├── Insert.md
│ │ │ │ │ └── SinIntegral.md
│ │ │ ├── fonts
│ │ │ │ └── JetBrainsMono-Regular.ttf
│ │ │ ├── textmate
│ │ │ │ ├── mathematica
│ │ │ │ │ ├── syntaxes
│ │ │ │ │ │ └── source.txt
│ │ │ │ │ └── language-configuration.json
│ │ │ │ └── languages.json
│ │ │ └── template
│ │ │ │ └── iframe_template.html
│ │ ├── res
│ │ │ ├── values-es
│ │ │ │ └── strings.xml
│ │ │ ├── values-fr
│ │ │ │ └── strings.xml
│ │ │ ├── values-de
│ │ │ │ └── strings.xml
│ │ │ ├── values-pl
│ │ │ │ └── strings.xml
│ │ │ ├── values-ru
│ │ │ │ └── strings.xml
│ │ │ ├── values-vi
│ │ │ │ └── strings.xml
│ │ │ ├── values-zh-rCN
│ │ │ │ └── strings.xml
│ │ │ ├── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── symja_prgm_DragButton.xml
│ │ │ │ ├── FactorDiagramView.xml
│ │ │ │ ├── ids.xml
│ │ │ │ ├── attrs.xml
│ │ │ │ ├── symja_prgm_SymjaEditor.xml
│ │ │ │ └── values.xml
│ │ │ ├── drawable
│ │ │ │ ├── symja_prgm_thumb_drawable.xml
│ │ │ │ ├── symja_prgm_track_drawable.xml
│ │ │ │ ├── symja_prgm_thumb.xml
│ │ │ │ ├── symja_prgm_baseline_keyboard_arrow_down_24.xml
│ │ │ │ ├── symja_prgm_baseline_clear_24.xml
│ │ │ │ ├── symja_prgm_track.xml
│ │ │ │ ├── symja_prgm_outline_info_24.xml
│ │ │ │ ├── symja_prgm_baseline_keyboard_arrow_right_24.xml
│ │ │ │ ├── symja_prgm_baseline_content_copy_24.xml
│ │ │ │ ├── symja_prgm_main_tab_indicator.xml
│ │ │ │ ├── symja_prgm_baseline_more_vert_24.xml
│ │ │ │ ├── symja_prgm_round_expand_less_24.xml
│ │ │ │ ├── symja_prgm_round_expand_more_24.xml
│ │ │ │ ├── symja_prgm_round_book_24.xml
│ │ │ │ ├── symja_prgm_round_home_24.xml
│ │ │ │ ├── symja_prgm_baseline_zoom_out_map_24.xml
│ │ │ │ ├── symja_prgm_round_content_copy_18.xml
│ │ │ │ ├── symja_prgm_round_keyboard_arrow_right_24.xml
│ │ │ │ ├── symja_prgm_round_clear_all_24.xml
│ │ │ │ ├── symja_prgm_baseline_content_paste_24.xml
│ │ │ │ ├── symja_prgm_round_play_circle_outline_18.xml
│ │ │ │ ├── symja_prgm_round_play_circle_outline_24.xml
│ │ │ │ ├── symja_prgm_baseline_help_outline_24.xml
│ │ │ │ ├── symja_prgm_round_label_important_24.xml
│ │ │ │ ├── symja_prgm_round_undo_24.xml
│ │ │ │ ├── symja_prgm_round_close_24.xml
│ │ │ │ ├── symja_prgm_round_redo_24.xml
│ │ │ │ └── symja_prgm_round_search_24.xml
│ │ │ ├── layout
│ │ │ │ ├── symja_prgm_programming_list_item_space.xml
│ │ │ │ ├── symja_prgm_direction_button.xml
│ │ │ │ └── symja_prgm_list_item_markdown_mathview.xml
│ │ │ └── values-sw600dp
│ │ │ │ └── values.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── symja
│ │ │ │ ├── editor
│ │ │ │ └── SymjaEditorDelegate.java
│ │ │ │ └── programming
│ │ │ │ ├── settings
│ │ │ │ └── IUserSettings.java
│ │ │ │ ├── view
│ │ │ │ ├── ActivityConstants.java
│ │ │ │ ├── dragbutton
│ │ │ │ │ ├── DragListener.java
│ │ │ │ │ └── DragView.java
│ │ │ │ ├── text
│ │ │ │ │ └── SimpleTextWatcher.java
│ │ │ │ └── popupmenu
│ │ │ │ │ └── OnMenuItemClickListener.java
│ │ │ │ ├── console
│ │ │ │ ├── viewholder
│ │ │ │ │ └── SpaceViewHolder.java
│ │ │ │ └── OnProgrammingItemClickListener.java
│ │ │ │ ├── document
│ │ │ │ ├── view
│ │ │ │ │ ├── MarkdownViewDelegate.java
│ │ │ │ │ ├── NativeMarkdownTableView.java
│ │ │ │ │ └── ext
│ │ │ │ │ │ ├── TeXExtension.java
│ │ │ │ │ │ └── TeX.java
│ │ │ │ └── model
│ │ │ │ │ └── FunctionDocumentItem.java
│ │ │ │ └── database
│ │ │ │ └── IDatabase.java
│ │ └── AndroidManifest.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── symja
│ │ └── programming
│ │ └── ExampleUnitTest.java
├── ncalc-editor
│ ├── .gitignore
│ ├── consumer-rules.pro
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── res
│ │ ├── values-vi
│ │ │ └── strings.xml
│ │ ├── drawable-hdpi
│ │ │ └── outline_info_black_24.png
│ │ ├── drawable-mdpi
│ │ │ └── outline_info_black_24.png
│ │ ├── drawable-xhdpi
│ │ │ └── outline_info_black_24.png
│ │ ├── drawable-xxhdpi
│ │ │ └── outline_info_black_24.png
│ │ ├── drawable-xxxhdpi
│ │ │ └── outline_info_black_24.png
│ │ ├── values
│ │ │ └── attrs.xml
│ │ └── drawable
│ │ │ ├── round_book_24.xml
│ │ │ └── round_check_24.xml
│ │ └── java
│ │ └── org
│ │ └── gjt
│ │ └── sp
│ │ └── jedit
│ │ └── awt
│ │ └── Font.java
└── symja-evaluator
│ ├── .gitignore
│ ├── consumer-rules.pro
│ └── src
│ ├── main
│ ├── java
│ │ └── com
│ │ │ └── symja
│ │ │ └── evaluator
│ │ │ └── config
│ │ │ └── SymjaEvalConfigOption.java
│ └── AndroidManifest.xml
│ └── test
│ └── java
│ └── com
│ └── symja
│ └── programming
│ └── ExampleUnitTest.java
├── img.png
├── docs
├── img.png
├── img_1.png
├── img_2.png
├── img_3.png
├── img_4.png
├── img_5.png
├── img_6.png
├── img_7.png
├── img_8.png
└── img_9.png
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── .gitmodules
├── .gitignore
└── .github
├── workflows
└── android.yml
└── FUNDING.yml
/.idea/.name:
--------------------------------------------------------------------------------
1 | Symja
--------------------------------------------------------------------------------
/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
--------------------------------------------------------------------------------
/modules/jlatex/.gitignore:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/modules/common/.gitignore:
--------------------------------------------------------------------------------
1 | /build
--------------------------------------------------------------------------------
/modules/common/consumer-rules.pro:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/modules/programming/.gitignore:
--------------------------------------------------------------------------------
1 | /build
--------------------------------------------------------------------------------
/modules/programming/consumer-rules.pro:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/modules/ncalc-editor/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/modules/ncalc-editor/consumer-rules.pro:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/modules/symja-evaluator/.gitignore:
--------------------------------------------------------------------------------
1 | /build
--------------------------------------------------------------------------------
/modules/symja-evaluator/consumer-rules.pro:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/img.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/img.png
--------------------------------------------------------------------------------
/docs/img.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/docs/img.png
--------------------------------------------------------------------------------
/docs/img_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/docs/img_1.png
--------------------------------------------------------------------------------
/docs/img_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/docs/img_2.png
--------------------------------------------------------------------------------
/docs/img_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/docs/img_3.png
--------------------------------------------------------------------------------
/docs/img_4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/docs/img_4.png
--------------------------------------------------------------------------------
/docs/img_5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/docs/img_5.png
--------------------------------------------------------------------------------
/docs/img_6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/docs/img_6.png
--------------------------------------------------------------------------------
/docs/img_7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/docs/img_7.png
--------------------------------------------------------------------------------
/docs/img_8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/docs/img_8.png
--------------------------------------------------------------------------------
/docs/img_9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/docs/img_9.png
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/modules/ncalc-editor/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/ic_launcher-playstore.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/ic_launcher-playstore.png
--------------------------------------------------------------------------------
/modules/jlatex/README.md:
--------------------------------------------------------------------------------
1 | Source from https://github.com/tranleduy2000/jlatex
2 |
3 | Building:
4 |
5 | ```shell
6 | ./build.sh
7 | ```
--------------------------------------------------------------------------------
/modules/jlatex/jlatexmath/build.gradle:
--------------------------------------------------------------------------------
1 | configurations.maybeCreate("default")
2 | artifacts.add("default", file('jlatexmath-debug.aar'))
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "symja_android_library"]
2 | path = symja_android_library
3 | url = https://github.com/axkr/symja_android_library.git
4 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/modules/jlatex/jlatexmath/jlatexmath-debug.aar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/modules/jlatex/jlatexmath/jlatexmath-debug.aar
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/None.md:
--------------------------------------------------------------------------------
1 | ## None
2 |
3 | ```
4 | None
5 | ```
6 |
7 | > is a possible value for `Span` and `Quiet`.
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/modules/jlatex/jlatexmath-font-greek/build.gradle:
--------------------------------------------------------------------------------
1 | configurations.maybeCreate("default")
2 | artifacts.add("default", file('jlatexmath-font-greek-debug.aar'))
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/modules/jlatex/jlatexmath-font-cyrillic/build.gradle:
--------------------------------------------------------------------------------
1 | configurations.maybeCreate("default")
2 | artifacts.add("default", file('jlatexmath-font-cyrillic-debug.aar'))
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp
--------------------------------------------------------------------------------
/modules/common/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/modules/symja-evaluator/src/main/java/com/symja/evaluator/config/SymjaEvalConfigOption.java:
--------------------------------------------------------------------------------
1 | package com.symja.evaluator.config;
2 |
3 | public enum SymjaEvalConfigOption {
4 | }
--------------------------------------------------------------------------------
/app/src/main/res/values/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FEFEFE
4 |
--------------------------------------------------------------------------------
/modules/ncalc-editor/src/main/res/values-vi/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Mặc định
4 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/fonts/JetBrainsMono-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/modules/programming/src/main/assets/fonts/JetBrainsMono-Regular.ttf
--------------------------------------------------------------------------------
/modules/symja-evaluator/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/modules/jlatex/jlatexmath-font-greek/jlatexmath-font-greek-debug.aar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/modules/jlatex/jlatexmath-font-greek/jlatexmath-font-greek-debug.aar
--------------------------------------------------------------------------------
/modules/jlatex/jlatexmath-font-cyrillic/jlatexmath-font-cyrillic-debug.aar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/modules/jlatex/jlatexmath-font-cyrillic/jlatexmath-font-cyrillic-debug.aar
--------------------------------------------------------------------------------
/modules/ncalc-editor/src/main/res/drawable-hdpi/outline_info_black_24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/modules/ncalc-editor/src/main/res/drawable-hdpi/outline_info_black_24.png
--------------------------------------------------------------------------------
/modules/ncalc-editor/src/main/res/drawable-mdpi/outline_info_black_24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/modules/ncalc-editor/src/main/res/drawable-mdpi/outline_info_black_24.png
--------------------------------------------------------------------------------
/modules/ncalc-editor/src/main/res/drawable-xhdpi/outline_info_black_24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/modules/ncalc-editor/src/main/res/drawable-xhdpi/outline_info_black_24.png
--------------------------------------------------------------------------------
/modules/ncalc-editor/src/main/res/drawable-xxhdpi/outline_info_black_24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/modules/ncalc-editor/src/main/res/drawable-xxhdpi/outline_info_black_24.png
--------------------------------------------------------------------------------
/modules/ncalc-editor/src/main/res/drawable-xxxhdpi/outline_info_black_24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/axkr/symja-example/HEAD/modules/ncalc-editor/src/main/res/drawable-xxxhdpi/outline_info_black_24.png
--------------------------------------------------------------------------------
/.idea/kotlinc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/textmate/mathematica/syntaxes/source.txt:
--------------------------------------------------------------------------------
1 | https://github.com/shadanan/mathematica-tmbundle/tree/master/Syntaxes
2 |
3 | Check all to make sure it works on Android
--------------------------------------------------------------------------------
/modules/programming/src/main/res/values-es/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Copiado
3 | Ajustes
4 |
5 |
--------------------------------------------------------------------------------
/modules/common/src/main/java/com/symja/common/datastrcture/json/JsonIO.java:
--------------------------------------------------------------------------------
1 | package com.symja.common.datastrcture.json;
2 |
3 | public interface JsonIO {
4 | void writeToJson(JSONObject out) throws JSONException;
5 | }
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/values-fr/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Copié
4 | Paramètres
5 |
6 |
--------------------------------------------------------------------------------
/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 | androidTestResultsUserPreferences.xml
5 | deploymentTargetDropDown.xml
6 | *.iml
7 | deploymentTargetSelector.xml
8 | migrations.xml
9 | runConfigurations.xml
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Owerflow.md:
--------------------------------------------------------------------------------
1 | ## Owerflow
2 |
3 | ```
4 | Owerflow( )
5 | ```
6 | > represents a number too large to be represented by Symja.
7 |
8 | ### Examples
9 |
10 | ```
11 | ```
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Real.md:
--------------------------------------------------------------------------------
1 | ## Real
2 |
3 | ```
4 | Real
5 | ```
6 |
7 | > is the head of real (floating point) numbers.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Head(1.5)
13 | Real
14 | ```
15 |
--------------------------------------------------------------------------------
/modules/ncalc-editor/src/main/res/values/attrs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/AndroidProjectSystem.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/values-de/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Kopiert
4 | Einstellungen
5 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/values-pl/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Skopiowano
4 | Ustawienia
5 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Complexes.md:
--------------------------------------------------------------------------------
1 | ## Complexes
2 |
3 | ```
4 | Complexes
5 | ```
6 |
7 | > is the set of complex numbers.
8 |
9 |
10 | See
11 | * [Wikipedia - Complex number](https://en.wikipedia.org/wiki/Complex_number)
--------------------------------------------------------------------------------
/modules/programming/src/main/res/values-ru/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Скопировано
4 | Настройки
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/values-vi/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Cài đặt
6 | Đã sao chép
7 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/EvalF.md:
--------------------------------------------------------------------------------
1 | ## EvalF
2 |
3 | ```
4 | EvalF(expr)
5 | ```
6 |
7 | > the `EvalF` function is an alias for the numerical evaluation function `N(...)` and will be replaced in the parser step.
8 |
9 | ### Related terms
10 | [N](N.md)
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/values-zh-rCN/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 已复制到剪贴板
6 |
7 | 设定
8 |
9 |
10 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Sat Apr 15 02:05:06 ICT 2023
2 | distributionBase=GRADLE_USER_HOME
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
4 | distributionPath=wrapper/dists
5 | zipStorePath=wrapper/dists
6 | zipStoreBase=GRADLE_USER_HOME
7 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Int.md:
--------------------------------------------------------------------------------
1 | ## Int
2 |
3 | The `Int` command is an alias for the integration function `Integrate(...)`
4 |
5 | ### Related terms
6 | [D](D.md), [DSolve](DSolve.md), [Integrate](Integrate.md), [Limit](Limit.md), [ND](ND.md), [NIntegrate](NIntegrate.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Reals.md:
--------------------------------------------------------------------------------
1 | ## Reals
2 |
3 | ```
4 | Reals
5 | ```
6 |
7 | > is the set of real numbers.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Refine(D(Abs(x),x), Element(x, Reals))
13 | x/Abs(x)
14 |
15 | >> Element(Infinity,Reals)
16 | False
17 | ```
18 |
--------------------------------------------------------------------------------
/modules/programming/src/main/java/com/symja/editor/SymjaEditorDelegate.java:
--------------------------------------------------------------------------------
1 | package com.symja.editor;
2 |
3 | import io.github.rosemoe.sora.lang.completion.CompletionItem;
4 |
5 | public interface SymjaEditorDelegate {
6 | void onSuggestionIconClicked(int position, CompletionItem completionItem);
7 | }
8 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Indeterminate.md:
--------------------------------------------------------------------------------
1 | ## Indeterminate
2 |
3 | ```
4 | Indeterminate
5 | ```
6 |
7 | > represents an indeterminate result.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> 0^0
13 | Indeterminate
14 |
15 | >> Tan(Indeterminate)
16 | Indeterminate
17 | ```
18 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Integers.md:
--------------------------------------------------------------------------------
1 | ## Integers
2 |
3 | ```
4 | Integers
5 | ```
6 |
7 | > is the set of integer numbers.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Solve({x^2 + 2 y^3 == 3681, x > 0, y > 0}, {x, y}, Integers)
13 | {{x->15,y->12},{x->41,y->10},{x->57,y->6}}
14 | ```
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Integer.md:
--------------------------------------------------------------------------------
1 | ## Integer
2 |
3 | ```
4 | Integer
5 | ```
6 |
7 | > is the head of integers.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Head(5)
13 | Integer
14 |
15 | >> {a, b} = {2^10000, 2^10000 + 1}; {a == b, a < b, a <= b}
16 | {False, True, True}
17 | ```
18 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #66D6D6D6
4 |
5 | #00000000
6 | #FFFFFF
7 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/WordBoundary.md:
--------------------------------------------------------------------------------
1 | ## WordBoundary
2 |
3 | ```
4 | WordBoundary
5 | ```
6 |
7 | > represents the boundary between words.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> StringReplace("apple banana orange artichoke", "e" ~~ WordBoundary -> "E")
13 | applE banana orangE artichokE
14 | ```
--------------------------------------------------------------------------------
/modules/programming/src/main/java/com/symja/programming/settings/IUserSettings.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming.settings;
2 |
3 | public interface IUserSettings {
4 | void put(String key, String value);
5 |
6 | void putString(String key, String value);
7 |
8 | String getString(String key, String value);
9 |
10 | }
11 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/C.md:
--------------------------------------------------------------------------------
1 | ## C
2 |
3 | ```
4 | C(n)
5 | ```
6 |
7 | > represents the `n`-th constant in a solution to a differential equation.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> DSolve({y'(x)==y(x)+2},y(x), x)
13 | {{y(x)->-2+E^x*C(1)}}
14 | ```
15 |
16 | ### Related terms
17 | [DSolve](DSolve.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Diff.md:
--------------------------------------------------------------------------------
1 | ## Diff
2 |
3 | ```
4 | Diff(f, x)
5 | ```
6 |
7 | > the `Diff` command is an alias for the partial derivative function `D(f, x)`.
8 |
9 | ### Related terms
10 | [D](D.md), [DSolve](DSolve.md), [Integrate](Integrate.md), [Limit](Limit.md), [ND](ND.md), [NIntegrate](NIntegrate.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Whitespace.md:
--------------------------------------------------------------------------------
1 | ## Whitespace
2 |
3 | ```
4 | Whitespace
5 | ```
6 |
7 | > represents a sequence of whitespace characters.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> StringMatchQ(\"\r \n", Whitespace)
13 | True
14 |
15 | >> StringSplit("a \n b \r\n c d", Whitespace)
16 | {a,b,c,d}
17 | ```
--------------------------------------------------------------------------------
/modules/programming/src/main/res/values/symja_prgm_DragButton.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Verbatim.md:
--------------------------------------------------------------------------------
1 | ## Verbatim
2 |
3 | ```
4 | Verbatim(expr)
5 | ```
6 |
7 | > prevents pattern constructs in `expr` from taking effect, allowing them to match themselves.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> _ /. Verbatim(_)->t
13 | t
14 |
15 | >> x /. Verbatim[_]->t
16 | x
17 | ```
18 |
--------------------------------------------------------------------------------
/modules/programming/src/main/java/com/symja/programming/view/ActivityConstants.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming.view;
2 |
3 | public class ActivityConstants {
4 | public static final int RESULT_NEED_RESTART = 31201;
5 | public static final int REQUEST_CODE_SETTING = 1312;
6 | public static final int REQUEST_CODE_HISTORY = 123;
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Symja
3 | Calculate
4 | Result
5 | Stdout
6 | Stderr
7 | Latex
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/baseline_play_arrow_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Divergence.md:
--------------------------------------------------------------------------------
1 | ## Divergence
2 |
3 | ```
4 | Divergence({f1, f2, f3,...},{x1, x2, x3,...})
5 | ```
6 |
7 | > compute the divergence (alias for `Div`).
8 |
9 | See:
10 | * [Wikipedia - Divergence](http://en.wikipedia.org/wiki/Divergence)
11 |
12 | ### Related terms
13 | [Div](Div.md)
14 |
15 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/textmate/languages.json:
--------------------------------------------------------------------------------
1 | {
2 | "languages": [
3 | {
4 | "grammar": "textmate/mathematica/syntaxes/Mathematica.tmLanguage",
5 | "name": "mathematica",
6 | "scopeName": "source.mathematica",
7 | "languageConfiguration": "textmate/mathematica/language-configuration.json"
8 | }
9 | ]
10 | }
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/StartOfLine.md:
--------------------------------------------------------------------------------
1 | ## StartOfLine
2 |
3 | ```
4 | StartOfLine
5 | ```
6 |
7 | > begine a new stack and evaluate `èxpr`. Use `Stack(_)` as a subexpression in `expr` to return the stack elements.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> StringSplit("abc\ndef\nhij",StartOfLine)
13 | {abc,def,hij}
14 | ```
15 |
--------------------------------------------------------------------------------
/modules/common/src/main/java/com/symja/common/datastrcture/json/WrongJsonFormatException.java:
--------------------------------------------------------------------------------
1 | package com.symja.common.datastrcture.json;
2 |
3 | public class WrongJsonFormatException extends RuntimeException {
4 | public WrongJsonFormatException(JsonMap properties) {
5 | super("Couldn't find appropriate token with properties: " + properties);
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Graphics3D.md:
--------------------------------------------------------------------------------
1 | ## Graphics3D
2 |
3 | ```
4 | Graphics3D(primitives, options)
5 | ```
6 |
7 | > represents a three-dimensional graphic.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Graphics3D(Polygon({{0,0,0}, {0,1,1}, {1,0,0}}))
13 | -Graphics3D-
14 |
15 | >> Graphics3D(Sphere())
16 | -Graphics3D-
17 | ```
18 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/RegularExpression.md:
--------------------------------------------------------------------------------
1 | ## RegularExpression
2 |
3 | ```
4 | RegularExpression("regex")
5 |
6 | ```
7 |
8 | > represents the regular expression specified by the string `“regex”`.
9 |
10 | ### Examples
11 |
12 | ```
13 | >> StringSplit("1.23, 4.56 7.89",RegularExpression("(\\s|,)+"))
14 | {1.23,4.56,7.89}
15 | ```
16 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/WhitespaceCharacter.md:
--------------------------------------------------------------------------------
1 | ## WhitespaceCharacter
2 |
3 | ```
4 | WhitespaceCharacter
5 | ```
6 |
7 | > represents a single whitespace character.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> StringMatchQ("\n", WhitespaceCharacter)
13 | True
14 |
15 | >> StringSplit("a\nb\nc d", WhitespaceCharacter)
16 | {a,b,c,d}
17 | ```
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Alternatives.md:
--------------------------------------------------------------------------------
1 | ## Alternatives
2 |
3 | ```
4 | Alternatives(p1, p2, ..., p_i)
5 | ```
6 |
7 | or
8 |
9 | ```
10 | p1 | p2 | ... | p_i
11 | ```
12 |
13 | > is a pattern that matches any of the patterns `p1, p2,...., p_i`.
14 |
15 | ### Examples
16 |
17 | ```
18 | >> a+b+c+d/.(a|b)->t
19 | c + d + 2 t
20 | ```
21 |
22 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/HexidecimalCharacter.md:
--------------------------------------------------------------------------------
1 | ## HexidecimalCharacter
2 |
3 | ```
4 | HexidecimalCharacter
5 | ```
6 |
7 | > represents the characters `0-9`, `a-f` and `A-F`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> StringMatchQ(#,HexidecimalCharacter) & /@ {"a","1","A","x","H"," ","."}
13 | {True,True,True,False,False,False,False}
14 | ```
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/StartOfString.md:
--------------------------------------------------------------------------------
1 | ## StartOfString
2 |
3 | ```
4 | StartOfString
5 | ```
6 |
7 | > represents the start of a string.
8 |
9 | ### Examples
10 |
11 | Test whether strings start with `“a”`:
12 |
13 | ```
14 | >> StringMatchQ(#, StartOfString ~~"a" ~~__) &/@ {"apple", "banana", "artichoke"}
15 | {True,False,True}
16 | ```
17 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_thumb_drawable.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
9 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_track_drawable.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
9 |
--------------------------------------------------------------------------------
/app/src/main/java/com/symja/app/SymjaApplication.java:
--------------------------------------------------------------------------------
1 | package com.symja.app;
2 |
3 | import android.app.Application;
4 |
5 | import org.matheclipse.core.basic.AndroidLoggerFix;
6 |
7 | public class SymjaApplication extends Application {
8 |
9 | @Override
10 | public void onCreate() {
11 | super.onCreate();
12 | AndroidLoggerFix.fix();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Span.md:
--------------------------------------------------------------------------------
1 | ## Span
2 |
3 | ```
4 | Span
5 | ```
6 |
7 | > is the head of span ranges like `1;;3`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> ;; // FullForm
13 | Span(1, All)
14 |
15 | >> 1;;4;;2 // FullForm
16 | Span(1, 4, 2)
17 |
18 | >> 2;;-2 // FullForm
19 | Span(2, -2)
20 |
21 | >> ;;3 // FullForm
22 | Span(1, 3)
23 | ```
24 |
--------------------------------------------------------------------------------
/modules/programming/src/main/java/com/symja/programming/view/dragbutton/DragListener.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming.view.dragbutton;
2 |
3 | import androidx.annotation.NonNull;
4 |
5 | public interface DragListener {
6 |
7 | @SuppressWarnings("UnusedReturnValue")
8 | boolean onDrag(@NonNull DragButton view, @NonNull DragDirection direction, String text, DragButton.State state);
9 | }
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/MatrixForm.md:
--------------------------------------------------------------------------------
1 | ## MatrixForm
2 |
3 | ```
4 | MatrixForm(matrix)
5 | ```
6 |
7 | > print a `matrix` or sparse array in matrix form
8 |
9 |
10 | ### Examples
11 |
12 |
13 | ```
14 | >> SparseArray({{1, 1} -> 1, {2, 2} -> 2, {3, 3} -> 3, {1, 3} -> 4}) // MatrixForm
15 |
16 | >> A = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}; MatrixForm(A)
17 | ```
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/NumberString.md:
--------------------------------------------------------------------------------
1 | ## NumberString
2 |
3 | ```
4 | NumberString
5 | ```
6 |
7 | > represents the characters in a number.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> StringMatchQ("1234", NumberString)
13 | True
14 |
15 | >> StringMatchQ("1234.5", NumberString(
16 | True
17 |
18 | >> StringMatchQ("1.2‘20", NumberString)
19 | False
20 | ```
21 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/values/FactorDiagramView.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Booleans.md:
--------------------------------------------------------------------------------
1 | ## Booleans
2 |
3 | ```
4 | Booleans
5 | ```
6 |
7 | > is the set of boolean values.
8 |
9 | ### Examples
10 | ```
11 | >> Solve(Xor(a, b, c, d) && (a || b) && ! (c || d), {a, b, c, d}, Booleans)
12 | {{a->False,b->True,c->False,d->False},{a->True,b->False,c->False,d->False}}
13 | ```
14 |
15 | ### Related terms
16 | [Solve](Solve.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Parenthesis.md:
--------------------------------------------------------------------------------
1 | ## Parenthesis
2 |
3 | ```
4 | Parenthesis(expr)
5 | ```
6 |
7 | > print `expr` with parenthesis surrounded in output forms.
8 |
9 |
10 | ### Examples
11 |
12 | ```
13 | >> x+Parenthesis(a+b+c)
14 | x+(a+b+c)
15 |
16 | >> TeXForm(x+Parenthesis(a+b+c))
17 | x+(a+b+c)
18 |
19 | >> MathMLForm(x+Parenthesis(a+b+c))
20 |
21 | ```
22 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/values/ids.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/values/attrs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_thumb.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/JacobiP.md:
--------------------------------------------------------------------------------
1 | ## JacobiP
2 |
3 | ```
4 | JacobiP(n, a, b, z)
5 | ```
6 |
7 | > returns the Jacobi polynomial.
8 |
9 |
10 | See
11 | * [Wikipedia - Jacobi polynomials](https://en.wikipedia.org/wiki/Jacobi_polynomials)
12 |
13 | ### Examples
14 |
15 | ```
16 | >> JacobiP(2, a, b, z)
17 | 1/4*(1/2*(1+b)*(2+b)*(1-z)^2+(2+a)*(2+b)*(-1+z)*(1+z)+1/2*(1+a)*(2+a)*(1+z)^2)
18 | ```
19 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_baseline_keyboard_arrow_down_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/layout/symja_prgm_programming_list_item_space.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/values-sw600dp/values.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 200dp
4 | 100dp
5 | 16dp
6 | 16dp
7 | 500dp
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/DigitCharacter.md:
--------------------------------------------------------------------------------
1 | ## DigitCharacter
2 |
3 | ```
4 | DigitCharacter
5 | ```
6 |
7 | > represents the digits 0-9.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> StringMatchQ("1", DigitCharacter)
13 | True
14 |
15 | >> StringMatchQ("a", DigitCharacter)
16 | False
17 |
18 | >> StringMatchQ("12", DigitCharacter)
19 | False
20 |
21 | >> StringMatchQ("123245", DigitCharacter..)
22 | True
23 | ```
24 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/LetterCharacter.md:
--------------------------------------------------------------------------------
1 | ## LetterCharacter
2 |
3 | ```
4 | LetterCharacter
5 | ```
6 |
7 | > represents letters..
8 |
9 | ### Examples
10 |
11 | ```
12 | >> StringMatchQ(#, LetterCharacter)& /@ {"a", "1", "A", " ", "."}
13 | {True,False,True,False,False}
14 | ```
15 |
16 | LetterCharacter also matches unicode characters.
17 |
18 | ```
19 | >> StringMatchQ("\[Lambda]",LetterCharacter)
20 | ```
21 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/values/symja_prgm_SymjaEditor.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/FittedModel.md:
--------------------------------------------------------------------------------
1 | ## FittedModel
2 |
3 | ```
4 | FittedModel( )
5 | ```
6 |
7 | > `FittedModel`holds the model generated with `LinearModelFit`
8 |
9 | See:
10 | * [Wikipedia - Linear regression](https://en.wikipedia.org/wiki/Linear_regression)
11 |
12 | ### Examples
13 |
14 | ```
15 |
16 | ```
17 |
18 | ### Related terms
19 | [FindFit](FindFit.md), [Fit](Fit.md), [LinearModelFit](LinearModelFit.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/FileNames.md:
--------------------------------------------------------------------------------
1 | ## FileNames
2 |
3 | ```
4 | FileNames( )
5 | ```
6 |
7 | > returns a list with the filenames in the current working folder..
8 |
9 | ```
10 | FileNames(string-pattern)'
11 | ```
12 |
13 | > returns a list with the filenames in the current working folder that matches with `string-pattern`.
14 |
15 | ### Examples
16 |
17 | ```
18 | >> FileNames()
19 |
20 | >> FileNames("*.m")
21 |
22 | ```
23 |
--------------------------------------------------------------------------------
/modules/programming/src/main/java/com/symja/programming/console/viewholder/SpaceViewHolder.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming.console.viewholder;
2 |
3 | import android.view.View;
4 |
5 | import androidx.annotation.NonNull;
6 | import androidx.recyclerview.widget.RecyclerView;
7 |
8 | public class SpaceViewHolder extends RecyclerView.ViewHolder {
9 |
10 | public SpaceViewHolder(@NonNull View itemView) {
11 | super(itemView);
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_baseline_clear_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/java/com/symja/programming/document/view/MarkdownViewDelegate.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming.document.view;
2 |
3 | import android.view.View;
4 |
5 | import androidx.annotation.NonNull;
6 | import androidx.annotation.Nullable;
7 |
8 | public interface MarkdownViewDelegate {
9 | void onLinkClick(@Nullable CharSequence title, @NonNull String url);
10 |
11 | void onCopyCodeButtonClicked(@Nullable View v, @NonNull String code);
12 | }
13 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Except.md:
--------------------------------------------------------------------------------
1 | ## Except
2 |
3 | ```
4 | Except(c)
5 | ```
6 |
7 | > represents a pattern object that matches any expression except those matching `c`.
8 |
9 | ```
10 | Except(c, p)
11 | ```
12 |
13 | > represents a pattern object that matches `p` but not `c`.
14 |
15 | ### Examples
16 |
17 | ```
18 | >> Cases({x, a, b, x, c}, Except(x))
19 | {a,b,c}
20 |
21 | >> Cases({a, 0, b, 1, c, 2, 3}, Except(1, _Integer))
22 | {0,2,3}
23 | ```
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Null.md:
--------------------------------------------------------------------------------
1 | ## Null
2 |
3 | ```
4 | Null
5 | ```
6 |
7 | > is the implicit result of expressions that do not yield a result.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> FullForm[a:=b]
13 | "Null"
14 | ```
15 |
16 | ### Github
17 |
18 | * [Implementation of Null](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ConstantDefinitions.java#L13)
19 |
--------------------------------------------------------------------------------
/modules/programming/src/main/java/com/symja/programming/document/model/FunctionDocumentItem.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming.document.model;
2 |
3 | import androidx.annotation.NonNull;
4 | import androidx.annotation.Nullable;
5 |
6 | public class FunctionDocumentItem extends DocumentItem {
7 |
8 | public FunctionDocumentItem(@NonNull String assetPath, @NonNull String name, @Nullable String description) {
9 | super(assetPath, name, description);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/String.md:
--------------------------------------------------------------------------------
1 | ## String
2 |
3 | ```
4 | String
5 | ```
6 |
7 | > is the head of strings..
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Head("abc")
13 | String
14 |
15 | >> "abc"
16 | "abc"
17 | ```
18 |
19 | Use `InputForm` to display quotes around strings:
20 |
21 | ```
22 | >> InputForm("abc")
23 | "abc"
24 | ```
25 |
26 | `FullForm` also displays quotes:
27 |
28 | ```
29 | >> FullForm("abc" + 2)
30 | Plus(2, "abc")
31 | ```
32 |
--------------------------------------------------------------------------------
/modules/programming/src/main/java/com/symja/programming/database/IDatabase.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming.database;
2 |
3 | import org.json.JSONException;
4 |
5 | import java.util.List;
6 |
7 | public interface IDatabase {
8 | List getAll();
9 |
10 | void insert(I item) throws JSONException;
11 |
12 | void update(I item) throws JSONException;
13 |
14 | void delete(I item) throws JSONException;
15 |
16 | void clear() throws JSONException;
17 | }
18 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_track.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/caches
5 | /.idea/libraries
6 | /.idea/modules.xml
7 | /.idea/workspace.xml
8 | /.idea/navEditor.xml
9 | /.idea/assetWizardSettings.xml
10 | .DS_Store
11 | /build
12 | /captures
13 | .externalNativeBuild
14 | .cxx
15 | local.properties
16 | /.idea/misc.xml
17 | /.idea/gradle.xml
18 | /.idea/compiler.xml
19 | /.idea/other.xml
20 | /.idea/markdown-navigator.xml
21 | /.idea/markdown-navigator-enh.xml
22 |
23 | build
24 | /app/release/
25 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/SlotSequence.md:
--------------------------------------------------------------------------------
1 | ## SlotSequence
2 |
3 | ```
4 | ##
5 | ```
6 |
7 | > is the sequence of arguments supplied to a pure function.
8 |
9 | ```
10 | ##n
11 | ```
12 |
13 | > starts with the `n`-th argument.
14 |
15 |
16 | ### Examples
17 |
18 | ```
19 | >> Plus(##)& [1, 2, 3]
20 | 5
21 |
22 | >> Plus(##2)& [1, 2, 3]
23 | 5
24 |
25 | >> ## // InputForm
26 | ##1
27 | ```
28 |
29 | ### Related terms
30 | [Function](Function.md), [Slot](Slot.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Undefined.md:
--------------------------------------------------------------------------------
1 | ## Undefined
2 |
3 | ```
4 | Undefined
5 | ```
6 |
7 | > represents an undefined result for example in the `ConditionalExpression` function.
8 |
9 | ### Examples
10 |
11 | If the condition in `ConditionalExpression` is `False`, `Undefined` will be returned:
12 |
13 | ```
14 | >> ConditionalExpression(Sin(x)^2, 42==1)
15 | Undefined
16 | ```
17 |
18 | ### Related terms
19 | [ConditionalExpression](ConditionalExpression.md),
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/$Line.md:
--------------------------------------------------------------------------------
1 | ## $Line
2 |
3 | ```
4 | $Line
5 | ```
6 |
7 | > holds the current input line number.
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | ### Implementation status
18 |
19 | * ✅ - full supported
20 |
21 | ### Github
22 |
23 | * [Implementation of $Line](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ConstantDefinitions.java#L348)
24 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Ln.md:
--------------------------------------------------------------------------------
1 | ## Ln
2 |
3 | ```
4 | Ln(z)
5 | ```
6 |
7 | > returns the base-`E` logarithm of `z`. `Ln(z)` will be converted to `Log(z)` in symbolic mode.
8 |
9 | The `Ln` function is an alias for the `Log` function and will be replaced in the parser step.
10 |
11 |
12 | See
13 | * [Wikipedia - Logarithm](https://en.wikipedia.org/wiki/Logarithm)
14 |
15 | ### Examples
16 |
17 | ```
18 | >> Ln(E)
19 | 1
20 |
21 | >> Ln(x)
22 | Log(x)
23 | ```
24 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/values/values.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 200dp
6 | 100dp
7 | 6dp
8 | 6dp
9 | 8dp
10 |
11 | 300dp
12 |
13 |
14 |
--------------------------------------------------------------------------------
/modules/programming/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/MissingQ.md:
--------------------------------------------------------------------------------
1 | ## MissingQ
2 |
3 | ```
4 | MissingQ(expr)
5 | ```
6 |
7 | > returns `True` if `expr` is a `Missing()` expression.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> MissingQ(Missing("Test message"))
13 | True
14 | ```
15 |
16 | ### Github
17 |
18 | * [Implementation of MissingQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/expression/BuiltInSymbol.java#L1090)
19 |
--------------------------------------------------------------------------------
/modules/common/src/main/java/com/symja/common/datastrcture/IExportable.java:
--------------------------------------------------------------------------------
1 | package com.symja.common.datastrcture;
2 |
3 | import androidx.annotation.Nullable;
4 |
5 | import java.util.List;
6 | import java.util.function.Consumer;
7 |
8 | public interface IExportable {
9 |
10 | List getExportFormats();
11 |
12 | @Nullable
13 | default Data exportNow(Data.Format format) {
14 | return null;
15 | }
16 |
17 | void export(Data.Format format, Consumer callback);
18 | }
19 |
--------------------------------------------------------------------------------
/modules/common/src/test/java/com/symja/programming/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_outline_info_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ArrayPlot.md:
--------------------------------------------------------------------------------
1 | ## ArrayPlot
2 |
3 | ```
4 | ArrayPlot( matrix-of-values )
5 | ```
6 |
7 | > generate a rectangle image for the `matrix-of-values`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> ArrayPlot(RandomReal(1, {10, 20}))
13 | ```
14 |
15 | ### Related terms
16 | [ListPlot](ListPlot.md), [ListLogPlot](ListLogPlot.md), [ListLogLogPlot](ListLogLogPlot.md), [Manipulate](Manipulate.md), [ParametricPlot](ParametricPlot.md), [Plot](Plot.md), [Plot3D](Plot3D.md)
17 |
18 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_baseline_keyboard_arrow_right_24.xml:
--------------------------------------------------------------------------------
1 |
8 |
11 |
12 |
--------------------------------------------------------------------------------
/modules/programming/src/test/java/com/symja/programming/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/modules/symja-evaluator/src/test/java/com/symja/programming/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/modules/ncalc-editor/src/main/java/org/gjt/sp/jedit/awt/Font.java:
--------------------------------------------------------------------------------
1 | package org.gjt.sp.jedit.awt;
2 |
3 | import android.graphics.Typeface;
4 |
5 | public class Font {
6 | public static final int ITALIC = Typeface.ITALIC;
7 | public static final int BOLD = Typeface.BOLD;
8 | public static final int NORMAL = Typeface.NORMAL;
9 | private int style;
10 |
11 | public Font(int style) {
12 | this.style = style;
13 | }
14 |
15 | public int getStyle() {
16 | return style;
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/IntegerQ.md:
--------------------------------------------------------------------------------
1 | ## IntegerQ
2 |
3 | ```
4 | IntegerQ(expr)
5 | ```
6 |
7 | > returns `True` if `expr` is an integer, and `False` otherwise.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> IntegerQ(3)
13 | 4
14 |
15 | >> IntegerQ(Pi)
16 | False
17 | ```
18 |
19 | ### Github
20 |
21 | * [Implementation of IntegerQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/expression/BuiltInSymbol.java#L685)
22 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/TestResultObject.md:
--------------------------------------------------------------------------------
1 | ## TestResultObject
2 |
3 | ```
4 | TestResultObject( ... )
5 | ```
6 |
7 | > is an association wrapped in a `TestResultObject`returned from `VerificationTest` which stores the results from executing a single unit test.
8 |
9 | ### Examples
10 |
11 |
12 | ```
13 | >> VerificationTest(3! < 3^3)
14 | TestResultObject(Outcome->Success,TestID->None)
15 | ```
16 |
17 | ### Related terms
18 | [TestReport](TestReport.md), [VerificationTest](VerificationTest.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_baseline_content_copy_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/MinFilter.md:
--------------------------------------------------------------------------------
1 | ## MinFilter
2 |
3 | ```
4 | MinFilter(list, r)
5 | ```
6 |
7 | > filter which evaluates the `Min` of `list` for the radius `r`.
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | ### Implementation status
16 |
17 | * ✅ - full supported
18 |
19 | ### Github
20 |
21 | * [Implementation of MinFilter](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/FilterFunctions.java#L32)
22 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/PlusMinus.md:
--------------------------------------------------------------------------------
1 | ## PlusMinus
2 |
3 | ```
4 | PlusMinus(a, b, ...)
5 |
6 | a ± b ± ...
7 | ```
8 |
9 | or
10 |
11 | ```
12 | PlusMinus(a)
13 |
14 | ± a
15 | ```
16 |
17 | > has no built-in evaluating function, but represents the structure of the `±` operator.
18 |
19 | See
20 | * [Wikipedia - Plus-minus sign](https://en.wikipedia.org/wiki/Plus%E2%80%93minus_sign)
21 |
22 | ### Examples
23 |
24 | ```
25 | >> \[PlusMinus] x
26 | ±x
27 |
28 | >> x \[PlusMinus] y
29 | x±y
30 | ```
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Underflow.md:
--------------------------------------------------------------------------------
1 | ## Underflow
2 |
3 | ```
4 | Underflow( )
5 | ```
6 | > represents a number too small to be represented by Symja.
7 |
8 | ### Examples
9 |
10 | ```
11 | ```
12 |
13 | ### Implementation status
14 |
15 | * ✅ - full supported
16 |
17 | ### Github
18 |
19 | * [Implementation of Underflow](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Arithmetic.java#L2616)
20 |
--------------------------------------------------------------------------------
/modules/programming/src/main/java/com/symja/programming/view/dragbutton/DragView.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming.view.dragbutton;
2 |
3 | import androidx.annotation.Nullable;
4 |
5 | import java.util.HashMap;
6 |
7 | public interface DragView {
8 | void setOnDragListener(@Nullable DragListener listener);
9 |
10 | void setVibrateOnDrag(boolean vibrateOnDrag);
11 |
12 | HashMap getDirectionTextMap();
13 |
14 | void setDirectionTextMap(HashMap directionTextMap);
15 | }
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/$RecursionLimit.md:
--------------------------------------------------------------------------------
1 | ## $RecursionLimit
2 |
3 | ```
4 | $RecursionLimit
5 | ```
6 |
7 | > holds the current input line number
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | ### Implementation status
18 |
19 | * ✅ - full supported
20 |
21 | ### Github
22 |
23 | * [Implementation of $RecursionLimit](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ConstantDefinitions.java#L471)
24 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ListQ.md:
--------------------------------------------------------------------------------
1 | ## ListQ
2 |
3 | ```
4 | ListQ(expr)
5 | ```
6 |
7 | > tests whether `expr` is a `List`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> ListQ({1, 2, 3})
13 | True
14 |
15 | >> ListQ({{1, 2}, {3, 4}})
16 | True
17 |
18 | >> ListQ(x)
19 | False
20 | ```
21 |
22 | ### Github
23 |
24 | * [Implementation of ListQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/expression/BuiltInSymbol.java#L13)
25 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_main_tab_indicator.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 |
7 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/GraphComplement.md:
--------------------------------------------------------------------------------
1 | ## GraphComplement
2 |
3 | ```
4 | GraphComplement(graph)
5 | ```
6 |
7 | > returns the graph complement of `graph`.
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | ### Implementation status
17 |
18 | * ✅ - full supported
19 |
20 | ### Github
21 |
22 | * [Implementation of GraphComplement](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/GraphFunctions.java#L207)
23 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_baseline_more_vert_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/FactorSquareFree.md:
--------------------------------------------------------------------------------
1 | ## FactorSquareFree
2 |
3 | ```
4 | FactorSquareFree(polynomial)
5 | ```
6 |
7 | > factor the polynomial expression `polynomial` square free.
8 |
9 |
10 |
11 |
12 |
13 |
14 | ### Implementation status
15 |
16 | * ✅ - full supported
17 |
18 | ### Github
19 |
20 | * [Implementation of FactorSquareFree](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Algebra.java#L2558)
21 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/SymbolQ.md:
--------------------------------------------------------------------------------
1 | ## SymbolQ
2 |
3 | ```
4 | SymbolQ(x)
5 | ```
6 |
7 | > is `True` if `x` is a symbol, or `False` otherwise.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> SymbolQ(a)
13 | True
14 |
15 | >> SymbolQ(1)
16 | False
17 |
18 | >> SymbolQ(a + b)
19 | False
20 | ```
21 |
22 | ### Github
23 |
24 | * [Implementation of SymbolQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/expression/BuiltInSymbol.java#L2077)
25 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/$HistoryLength.md:
--------------------------------------------------------------------------------
1 | ## $HistoryLength
2 |
3 | ```
4 | $HistoryLength
5 | ```
6 |
7 | > specifies the maximum number of `In` and `Out` entries.
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | ### Implementation status
18 |
19 | * ✅ - full supported
20 |
21 | ### Github
22 |
23 | * [Implementation of $HistoryLength](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ConstantDefinitions.java#L240)
24 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/DialogInput.md:
--------------------------------------------------------------------------------
1 | ## DialogInput
2 |
3 |
4 | ```
5 | DialogInput()
6 | ```
7 |
8 | > if the file system is enabled, the user can input a string in a dialog box.
9 |
10 |
11 | ```
12 | DialogInput("info-string")
13 | ```
14 |
15 | > if the file system is enabled, additionally show the `info-string` in the dialog box.
16 |
17 |
18 |
19 |
20 | ### Examples
21 |
22 | Convert the input with `ToExpression` into a Symja expression
23 |
24 | ```
25 | >> ToExpression(DialogInput("::"))^3
26 | ```
27 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/LowerCaseQ.md:
--------------------------------------------------------------------------------
1 | ## LowerCaseQ
2 |
3 | ```
4 | LowerCaseQ(str)
5 | ```
6 |
7 | > is `True` if the given `str` is a string which only contains lower case characters.
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | ### Implementation status
16 |
17 | * ✅ - full supported
18 |
19 | ### Github
20 |
21 | * [Implementation of LowerCaseQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/StringFunctions.java#L943)
22 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_round_expand_less_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/backup_rules.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
13 |
--------------------------------------------------------------------------------
/modules/ncalc-editor/src/main/res/drawable/round_book_24.xml:
--------------------------------------------------------------------------------
1 |
7 |
10 |
11 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/NumericQ.md:
--------------------------------------------------------------------------------
1 | ## NumericQ
2 |
3 | ```
4 | NumericQ(expr)
5 | ```
6 |
7 | > returns `True` if `expr` is an explicit numeric expression, and `False` otherwise.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> NumericQ(E+Pi)
13 | True
14 |
15 | >> NumericQ(Sqrt(3))
16 | True
17 | ```
18 |
19 | ### Github
20 |
21 | * [Implementation of NumericQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/expression/BuiltInSymbol.java#L1388)
22 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/SystemDialogInput.md:
--------------------------------------------------------------------------------
1 | ## SystemDialogInput
2 |
3 |
4 | ```
5 | SystemDialogInput("FileOpen")
6 | ```
7 |
8 | > if the file system is enabled, open a file chooser dialog box.
9 |
10 |
11 | ```
12 | SystemDialogInput("FileSave")
13 | ```
14 |
15 | > if the file system is enabled, open a file chooser dialog box.
16 |
17 |
18 | ```
19 | SystemDialogInput("Directory")
20 | ```
21 |
22 | > if the file system is enabled, open a directory chooser dialog box.
23 |
24 |
25 | ### Examples
26 |
27 |
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/True.md:
--------------------------------------------------------------------------------
1 | ## True
2 |
3 | ```
4 | True
5 | ```
6 |
7 | > the constant `True` represents the boolean value **true**
8 |
9 | See:
10 | * [Wikipedia - Truth value](http://en.wikipedia.org/wiki/Truth_value)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> Pi > E
16 | True
17 | ```
18 |
19 | ### Github
20 |
21 | * [Implementation of True](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ConstantDefinitions.java#L35)
22 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/False.md:
--------------------------------------------------------------------------------
1 | ## False
2 |
3 | ```
4 | False
5 | ```
6 |
7 | > the constant `False` represents the boolean value **false**
8 |
9 | See
10 | * [Wikipedia - Truth value](https://en.wikipedia.org/wiki/Truth_value)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> Pi < E
16 | False
17 | ```
18 |
19 | ### Github
20 |
21 | * [Implementation of False](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ConstantDefinitions.java#L2817)
22 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/GraphDifference.md:
--------------------------------------------------------------------------------
1 | ## GraphDifference
2 |
3 | ```
4 | GraphDifference(graph1, graph2)
5 | ```
6 |
7 | > returns the graph difference of `graph1`, `graph2`.
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | ### Implementation status
17 |
18 | * ✅ - full supported
19 |
20 | ### Github
21 |
22 | * [Implementation of GraphDifference](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/GraphFunctions.java#L246)
23 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/GraphUnion.md:
--------------------------------------------------------------------------------
1 | ## GraphUnion
2 |
3 | ```
4 | GraphUnion(graph1, graph2, graph3,...)
5 | ```
6 |
7 | > returns the graph union of `graph1`, `graph2`, `graph3`,...
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | ### Implementation status
17 |
18 | * ✅ - full supported
19 |
20 | ### Github
21 |
22 | * [Implementation of GraphUnion](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/GraphFunctions.java#L360)
23 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Input.md:
--------------------------------------------------------------------------------
1 | ## Input
2 |
3 |
4 | ```
5 | Input()
6 | ```
7 |
8 | > if the file system is enabled, the user can input an expression. After input this expression will be evaluated immediately.
9 |
10 |
11 | ```
12 | Input("string")
13 | ```
14 |
15 | > if the file system is enabled, show the string in the console and allow the user input.
16 |
17 |
18 |
19 |
20 | ### Examples
21 |
22 | ```
23 | >> InputString("::")^3
24 | ```
25 |
26 | ### Related terms
27 | [InputString](InputString.md)[Import](Import.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/NHoldFirst.md:
--------------------------------------------------------------------------------
1 | ## NHoldFirst
2 |
3 | ```
4 | NHoldFirst
5 | ```
6 |
7 | > is an attribute that protects the first argument of a function from numeric evaluation.
8 |
9 |
10 | ### Related terms
11 | [Attributes](Attributes.md), [ClearAttributes](ClearAttributes.md), [Constant](Constant.md), [Flat](Flat.md), [HoldAll](HoldAll.md), [HoldFirst](HoldFirst.md), [HoldRest](HoldRest.md), [Listable](Listable.md), [NHoldAll](NHoldAll.md), [NHoldRest](NHoldRest.md), [Orderless](Orderless.md), [SetAttributes](SetAttributes.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/java/com/symja/programming/document/view/NativeMarkdownTableView.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming.document.view;
2 |
3 | import android.content.Context;
4 | import android.util.AttributeSet;
5 | import android.widget.TableLayout;
6 |
7 | public class NativeMarkdownTableView extends TableLayout {
8 | public NativeMarkdownTableView(Context context) {
9 | super(context);
10 | }
11 |
12 | public NativeMarkdownTableView(Context context, AttributeSet attrs) {
13 | super(context, attrs);
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_round_expand_more_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/HoldAll.md:
--------------------------------------------------------------------------------
1 | ## HoldAll
2 |
3 | ```
4 | HoldAll
5 | ```
6 |
7 | > is an attribute specifying that all arguments of a function should be left unevaluated.
8 |
9 |
10 |
11 | ### Related terms
12 | [Attributes](Attributes.md), [ClearAttributes](ClearAttributes.md), [Constant](Constant.md), [Flat](Flat.md), [HoldFirst](HoldFirst.md), [HoldRest](HoldRest.md), [Listable](Listable.md), [NHoldAll](NHoldAll.md), [NHoldFirst](NHoldFirst.md), [NHoldRest](NHoldRest.md), [Orderless](Orderless.md), [SetAttributes](SetAttributes.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Out.md:
--------------------------------------------------------------------------------
1 | ## Out
2 |
3 | ```
4 | Out(k)
5 | ```
6 |
7 | > gives the result of the `k`th input line.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> 42
13 | 42
14 |
15 | >> %
16 | 42
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | ### Implementation status
26 |
27 | * ✅ - full supported
28 |
29 | ### Github
30 |
31 | * [Implementation of Out](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/reflection/system/Out.java#L17)
32 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/template/iframe_template.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | PageTitle
5 |
6 |
7 |
8 |
16 |
17 |
18 |
19 | `1`
20 |
21 |
22 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_round_book_24.xml:
--------------------------------------------------------------------------------
1 |
7 |
10 |
11 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_round_home_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/FactorSquareFreeList.md:
--------------------------------------------------------------------------------
1 | ## FactorSquareFreeList
2 |
3 | ```
4 | FactorSquareFreeList(polynomial)
5 | ```
6 |
7 | > get the square free factors of the polynomial expression `polynomial`.
8 |
9 |
10 |
11 |
12 |
13 |
14 | ### Implementation status
15 |
16 | * ✅ - full supported
17 |
18 | ### Github
19 |
20 | * [Implementation of FactorSquareFreeList](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Algebra.java#L2630)
21 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ListPlot3D.md:
--------------------------------------------------------------------------------
1 | ## ListPlot3D
2 |
3 | ```
4 | ListPlot3D( { list-of-polygons } )
5 | ```
6 |
7 | > generate a JavaScript list plot 3D control for the `list-of-polygons`.
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | ### Implementation status
17 |
18 | * ✅ - full supported
19 |
20 | ### Github
21 |
22 | * [Implementation of ListPlot3D](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/reflection/system/ListPlot3D.java#L17)
23 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/NHoldRest.md:
--------------------------------------------------------------------------------
1 | ## NHoldRest
2 |
3 | ```
4 | NHoldRest
5 | ```
6 |
7 | > is an attribute that protects all but the first argument of a function from numeric evaluation.
8 |
9 |
10 | ### Related terms
11 | [Attributes](Attributes.md), [ClearAttributes](ClearAttributes.md), [Constant](Constant.md), [Flat](Flat.md), [HoldAll](HoldAll.md), [HoldFirst](HoldFirst.md), [HoldRest](HoldRest.md), [Listable](Listable.md), [NHoldAll](NHoldAll.md), [NHoldFirst](NHoldFirst.md), [Orderless](Orderless.md), [SetAttributes](SetAttributes.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/NumberQ.md:
--------------------------------------------------------------------------------
1 | ## NumberQ
2 |
3 | ```
4 | NumberQ(expr)
5 | ```
6 |
7 | > returns `True` if `expr` is an explicit number, and `False` otherwise.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> NumberQ(3+I)
13 | True
14 |
15 | >> NumberQ(5!)
16 | True
17 |
18 | >> NumberQ(Pi)
19 | False
20 | ```
21 |
22 | ### Github
23 |
24 | * [Implementation of NumberQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/expression/BuiltInSymbol.java#L15)
25 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ToString.md:
--------------------------------------------------------------------------------
1 | ## ToString
2 |
3 | ```
4 | ToString(expr)
5 | ```
6 |
7 | > converts `expr` into a string.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> "Java" <> ToString(8)
13 | Java8
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of ToString](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/StringFunctions.java#L3049)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/$IterationLimit.md:
--------------------------------------------------------------------------------
1 | ## $IterationLimit
2 |
3 | ```
4 | $IterationLimit
5 | ```
6 |
7 | > specifies the maximum number of times a reevaluation of an expression may happen.
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | ### Implementation status
18 |
19 | * ✅ - full supported
20 |
21 | ### Github
22 |
23 | * [Implementation of $IterationLimit](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ConstantDefinitions.java#L315)
24 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/$OperatingSystem.md:
--------------------------------------------------------------------------------
1 | ## $OperatingSystem
2 |
3 | ```
4 | $OperatingSystem
5 | ```
6 |
7 | > gives the type of operating system ("Windows", "MacOSX", or "Unix") running Symja.
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | ### Implementation status
17 |
18 | * ✅ - full supported
19 |
20 | ### Github
21 |
22 | * [Implementation of $OperatingSystem](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ConstantDefinitions.java#L414)
23 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Close.md:
--------------------------------------------------------------------------------
1 | ## Close
2 |
3 | ```
4 | Close(stream)
5 | ```
6 |
7 | > closes an input or output `stream`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Close(StringToStream("123abc"))
13 | String
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of Close](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/FileFunctions.java#L300)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/HoldRest.md:
--------------------------------------------------------------------------------
1 | ## HoldRest
2 |
3 | ```
4 | HoldRest
5 | ```
6 |
7 | > is an attribute specifying that all but the first argument of a function should be left unevaluated.
8 |
9 |
10 |
11 | ### Related terms
12 | [Attributes](Attributes.md), [ClearAttributes](ClearAttributes.md), [Constant](Constant.md), [Flat](Flat.md), [HoldAll](HoldAll.md), [HoldFirst](HoldFirst.md), [Listable](Listable.md), [NHoldAll](NHoldAll.md), [NHoldFirst](NHoldFirst.md), [NHoldRest](NHoldRest.md), [Orderless](Orderless.md), [SetAttributes](SetAttributes.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_baseline_zoom_out_map_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Defer.md:
--------------------------------------------------------------------------------
1 | ## Defer
2 |
3 | ```
4 | Defer(expr)
5 | ```
6 |
7 | > `Defer` doesn't evaluate `expr` and didn't appear in the output
8 |
9 |
10 | ### Examples
11 |
12 | ```
13 | >> Defer(3*2)
14 | 3*2
15 | ```
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of Defer](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Programming.java#L624)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/DigitQ.md:
--------------------------------------------------------------------------------
1 | ## DigitQ
2 |
3 | ```
4 | DigitQ(str)
5 | ```
6 |
7 | > returns `True` if `str` is a string which contains only digits.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> DigitQ("1234")
13 | True
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of DigitQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/PredicateQ.java#L408)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/InputString.md:
--------------------------------------------------------------------------------
1 | ## InputString
2 |
3 |
4 | ```
5 | InputString()
6 | ```
7 |
8 | > if the file system is enabled, the user can input a string.
9 |
10 |
11 | ```
12 | InputString("string")
13 | ```
14 |
15 | > if the file system is enabled, additionally show the `string` in the console.
16 |
17 |
18 |
19 |
20 | ### Examples
21 |
22 | Convert the input with `ToExpression` into a Symja expression
23 |
24 | ```
25 | >> ToExpression(InputString("::"))^3
26 | ```
27 |
28 | ### Related terms
29 | [Input](Input.md)[Import](Import.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_round_content_copy_18.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Evaluate.md:
--------------------------------------------------------------------------------
1 | ## Evaluate
2 |
3 | ```
4 | Evaluate(expr)
5 | ```
6 |
7 | > the `Evaluate` function will be executed even if the function attributes `HoldFirst, HoldRest, HoldAll` are set for the function head.
8 |
9 |
10 |
11 |
12 |
13 |
14 | ### Implementation status
15 |
16 | * ✅ - full supported
17 |
18 | ### Github
19 |
20 | * [Implementation of Evaluate](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/PatternMatching.java#L634)
21 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/HoldFirst.md:
--------------------------------------------------------------------------------
1 | ## HoldFirst
2 |
3 | ```
4 | HoldFirst
5 | ```
6 |
7 | > is an attribute specifying that the first argument of a function should be left unevaluated.
8 |
9 | ### Related terms
10 | [Attributes](Attributes.md), [ClearAttributes](ClearAttributes.md), [Constant](Constant.md), [Flat](Flat.md), [HoldAll](HoldAll.md), [HoldFirst](HoldFirst.md), [HoldRest](HoldRest.md), [Listable](Listable.md), [NHoldAll](NHoldAll.md), [NHoldFirst](NHoldFirst.md), [NHoldRest](NHoldRest.md), [Orderless](Orderless.md), [SetAttributes](SetAttributes.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/RandomReal.md:
--------------------------------------------------------------------------------
1 | ## RandomReal
2 |
3 | ```
4 | RandomReal()
5 | ```
6 |
7 | > create a random number between `0.0` and `1.0`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> RandomReal( )
13 | 0.53275
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of RandomReal](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/RandomFunctions.java#L592)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/SemanticImport.md:
--------------------------------------------------------------------------------
1 | ## SemanticImport
2 |
3 | ```
4 | SemanticImport("path-to-filename")
5 | ```
6 |
7 | > if the file system is enabled, import the data from CSV files and do a semantic interpretation of the columns.
8 |
9 | Dataset uses:
10 | * [Github - JTablesaw - Java dataframe and visualization library ](https://github.com/jtablesaw/tablesaw)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> SemanticImport("./data/test.csv")
16 | ```
17 |
18 | ### Related terms
19 | [Dataset](Dataset.md), [SemanticImportString](SemanticImportString.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/GraphIntersection.md:
--------------------------------------------------------------------------------
1 | ## GraphIntersection
2 |
3 | ```
4 | GraphIntersection(graph1, graph2, graph3,...)
5 | ```
6 |
7 | > returns the graph intersection of `graph1`, `graph2`, `graph3`,...
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | ### Implementation status
17 |
18 | * ✅ - full supported
19 |
20 | ### Github
21 |
22 | * [Implementation of GraphIntersection](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/GraphFunctions.java#L123)
23 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_round_keyboard_arrow_right_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Abort.md:
--------------------------------------------------------------------------------
1 | ## Abort
2 |
3 | ```
4 | Abort()
5 | ```
6 |
7 | > aborts an evaluation completely and returns `$Aborted`.
8 |
9 | ### Examples
10 | ```
11 | >> Print("a"); Abort(); Print("b")
12 | $Aborted
13 | ```
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of Abort](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Programming.java#L146)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/AbsArg.md:
--------------------------------------------------------------------------------
1 | ## AbsArg
2 |
3 | ```
4 | AbsArg(expr)
5 | ```
6 |
7 | > returns a list of 2 values of the complex number `Abs(expr), Arg(expr)`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> AbsArg(I)
13 | {1, Pi/2}
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of AbsArg](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Arithmetic.java#L390)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/GraphDisjointUnion.md:
--------------------------------------------------------------------------------
1 | ## GraphDisjointUnion
2 |
3 | ```
4 | GraphDisjointUnion(graph1, graph2, graph3,...)
5 | ```
6 |
7 | > returns the disjoint graph union of `graph1`, `graph2`, `graph3`,...
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | ### Implementation status
17 |
18 | * ✅ - full supported
19 |
20 | ### Github
21 |
22 | * [Implementation of GraphDisjointUnion](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/GraphFunctions.java#L343)
23 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/PieChart.md:
--------------------------------------------------------------------------------
1 | ## PieChart
2 |
3 | ```
4 | PieChart(list-of-values)
5 | ```
6 |
7 | > plot a pie chart from a `list-of-values`.
8 |
9 | ### Examples
10 |
11 |
12 | ```
13 | >> PieChart({25, 33, 33, 10})
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of PieChart](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ManipulateFunction.java#L1926)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/TensorRank.md:
--------------------------------------------------------------------------------
1 | ## TensorRank
2 |
3 | ```
4 | TensorRank(t)
5 | ```
6 |
7 | > return the rank of the tensor `t`.
8 |
9 |
10 | ### Examples
11 |
12 | ```
13 | >> TensorRank({{1,2},{3,4},{a,b},{c,d}})
14 | 2
15 | ```
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of TensorRank](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/TensorFunctions.java#L970)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_round_clear_all_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/layout/symja_prgm_direction_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/$MaxMachineNumber.md:
--------------------------------------------------------------------------------
1 | ## $MaxMachineNumber
2 |
3 | ```
4 | $MaxMachineNumber
5 | ```
6 |
7 | > return the largest positive finite Java `double` value (`Double.MAX_VALUE` approx. `1.7976931348623157*^308`)
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | ### Implementation status
16 |
17 | * ✅ - full supported
18 |
19 | ### Github
20 |
21 | * [Implementation of $MaxMachineNumber](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ConstantDefinitions.java#L391)
22 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/$ScriptCommandLine.md:
--------------------------------------------------------------------------------
1 | ## $ScriptCommandLine
2 |
3 | ```
4 | $ScriptCommandLine
5 | ```
6 |
7 | > is a list of string arguments when running Symja in script mode. The list starts with the name of the script.
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | ### Implementation status
16 |
17 | * ✅ - full supported
18 |
19 | ### Github
20 |
21 | * [Implementation of $ScriptCommandLine](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ConstantDefinitions.java#L517)
22 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Accumulate.md:
--------------------------------------------------------------------------------
1 | ## Accumulate
2 |
3 | ```
4 | Accumulate(list)
5 | ```
6 |
7 | > accumulate the values of `list` returning a new list.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Accumulate({1, 2, 3})
13 | {1,3,6}
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of Accumulate](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L553)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/MatrixPlot.md:
--------------------------------------------------------------------------------
1 | ## MatrixPlot
2 |
3 | ```
4 | MatrixPlot( matrix )
5 | ```
6 |
7 | > create a matrix plot.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> MatrixPlot({{4, 2, 1}, {3, 0, -2}, {0, 0, -1}})
13 | ```
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of MatrixPlot](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ManipulateFunction.java#L1918)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/RandomInteger.md:
--------------------------------------------------------------------------------
1 | ## RandomInteger
2 |
3 | ```
4 | RandomInteger(n)
5 | ```
6 |
7 | > create a random integer number between `0` and `n`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> RandomInteger(100)
13 | 88
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of RandomInteger](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/RandomFunctions.java#L339)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_baseline_content_paste_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/$MinMachineNumber.md:
--------------------------------------------------------------------------------
1 | ## $MinMachineNumber
2 |
3 | ```
4 | $MinMachineNumber
5 | ```
6 |
7 | > return the smallest positive normal Java `double` value (`Double.MIN_NORMAL` approx. 2.2250738585072014*^308)
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | ### Implementation status
17 |
18 | * ✅ - full supported
19 |
20 | ### Github
21 |
22 | * [Implementation of $MinMachineNumber](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ConstantDefinitions.java#L398)
23 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Catenate.md:
--------------------------------------------------------------------------------
1 | ## Catenate
2 |
3 | ```
4 | Catenate({l1, l2, ...})
5 | ```
6 |
7 | > concatenates the lists `l1, l2, ...`
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Catenate({{1, 2, 3}, {4, 5}})
13 | {1, 2, 3, 4, 5}
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of Catenate](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L1396)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ClearAll.md:
--------------------------------------------------------------------------------
1 | ## ClearAll
2 |
3 | ```
4 | ClearAll(symbol1, symbol2,...)
5 | ```
6 |
7 | > clears all values and attributes associated with the given symbols.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> ClearAll(x)
13 | ```
14 |
15 |
16 |
17 |
18 |
19 |
20 | ### Implementation status
21 |
22 | * ✅ - full supported
23 |
24 | ### Github
25 |
26 | * [Implementation of ClearAll](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/PatternMatching.java#L264)
27 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/$Assumptions.md:
--------------------------------------------------------------------------------
1 | ## $Assumptions
2 |
3 | ```
4 | $Assumptions
5 | ```
6 |
7 | > contains the default assumptions for `Integrate`, `Refine` and `Simplify`.
8 |
9 |
10 | ### Related terms
11 | [Assuming](Assuming.md)
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | ### Implementation status
20 |
21 | * ✅ - full supported
22 |
23 | ### Github
24 |
25 | * [Implementation of $Assumptions](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ConstantDefinitions.java#L154)
26 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/CarlsonRC.md:
--------------------------------------------------------------------------------
1 | ## CarlsonRC
2 |
3 | ```
4 | CarlsonRC(x, y)
5 | ```
6 |
7 | > returns the Carlson RC function..
8 |
9 | See:
10 | * [Wikipedia - Carlson symmetric form](https://en.wikipedia.org/wiki/Carlson_symmetric_form)
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | ### Implementation status
19 |
20 | * ✅ - full supported
21 |
22 | ### Github
23 |
24 | * [Implementation of CarlsonRC](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/EllipticIntegrals.java#L89)
25 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/CompoundExpression.md:
--------------------------------------------------------------------------------
1 | ## CompoundExpression
2 |
3 | ```
4 | CompoundExpression(expr1, expr2, ...)
5 | ```
6 | or
7 | ```
8 | expr1; expr2; ...
9 | ```
10 |
11 | > evaluates its arguments in turn, returning the last result.
12 |
13 |
14 |
15 |
16 |
17 |
18 | ### Implementation status
19 |
20 | * ✅ - full supported
21 |
22 | ### Github
23 |
24 | * [Implementation of CompoundExpression](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Programming.java#L462)
25 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/KeysExistsQ.md:
--------------------------------------------------------------------------------
1 | ## KeyExistsQ
2 |
3 | ```
4 | KeyExistsQ(association, key)
5 | ```
6 |
7 | > test if the `key` value is a key in the `association`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> KeyExistsQ(<|1->U,2->V|>, 1)
13 | True
14 |
15 | >> KeyExistsQ(<|1->U,2->V|>, V)
16 | False
17 | ```
18 |
19 | ### Related terms
20 | [Association](Association.md), [AssociationMap](AssociationMap.md), [AssociationQ](AssociationQ.md), [AssociationThread](AssociationThread.md), [Counts](Counts.md), [Lookup](Lookup.md), [Keys](Keys.md), [KeySort](KeySort.md), [Values](Values.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/SyntaxQ.md:
--------------------------------------------------------------------------------
1 | ## SyntaxQ
2 |
3 | ```
4 | SyntaxQ(str)
5 | ```
6 |
7 | > is `True` if the given `str` is a string which has the correct syntax.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> SyntaxQ("Integrate(f(x),{x,0,10})")
13 | True
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of SyntaxQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/PredicateQ.java#L1461)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Unitize.md:
--------------------------------------------------------------------------------
1 | ## Unitize
2 |
3 | ```
4 | Unitize(expr)
5 | ```
6 |
7 | > maps a non-zero `expr` to `1`, and a zero `expr` to `0`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Unitize((E + Pi)^2 - E^2 - Pi^2 - 2*E*Pi)
13 | 0
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of Unitize](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/PiecewiseFunctions.java#L932)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/java/com/symja/programming/view/text/SimpleTextWatcher.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming.view.text;
2 |
3 | import android.text.Editable;
4 | import android.text.TextWatcher;
5 |
6 | public class SimpleTextWatcher implements TextWatcher {
7 | @Override
8 | public void beforeTextChanged(CharSequence s, int start, int count, int after) {
9 |
10 | }
11 |
12 | @Override
13 | public void onTextChanged(CharSequence s, int start, int before, int count) {
14 |
15 | }
16 |
17 | @Override
18 | public void afterTextChanged(Editable s) {
19 |
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_round_play_circle_outline_18.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_round_play_circle_outline_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/inspectionProfiles/Project_Default.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/CarlsonRD.md:
--------------------------------------------------------------------------------
1 | ## CarlsonRD
2 |
3 | ```
4 | CarlsonRD(x, y, z)
5 | ```
6 |
7 | > returns the Carlson RD function.
8 |
9 | See:
10 | * [Wikipedia - Carlson symmetric form](https://en.wikipedia.org/wiki/Carlson_symmetric_form)
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | ### Implementation status
19 |
20 | * ✅ - full supported
21 |
22 | ### Github
23 |
24 | * [Implementation of CarlsonRD](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/EllipticIntegrals.java#L171)
25 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/CarlsonRF.md:
--------------------------------------------------------------------------------
1 | ## CarlsonRF
2 |
3 | ```
4 | CarlsonRF(x, y, z)
5 | ```
6 |
7 | > returns the Carlson RF function.
8 |
9 | See:
10 | * [Wikipedia - Carlson symmetric form](https://en.wikipedia.org/wiki/Carlson_symmetric_form)
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | ### Implementation status
19 |
20 | * ✅ - full supported
21 |
22 | ### Github
23 |
24 | * [Implementation of CarlsonRF](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/EllipticIntegrals.java#L231)
25 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/CarlsonRG.md:
--------------------------------------------------------------------------------
1 | ## CarlsonRG
2 |
3 | ```
4 | CarlsonRG(x, y, z)
5 | ```
6 |
7 | > returns the Carlson RG function.
8 |
9 | See:
10 | * [Wikipedia - Carlson symmetric form](https://en.wikipedia.org/wiki/Carlson_symmetric_form)
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | ### Implementation status
19 |
20 | * ✅ - full supported
21 |
22 | ### Github
23 |
24 | * [Implementation of CarlsonRG](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/EllipticIntegrals.java#L295)
25 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Reverse.md:
--------------------------------------------------------------------------------
1 | ## Reverse
2 |
3 | ```
4 | Reverse(list)
5 | ```
6 |
7 | > reverse the elements of the `list`.
8 |
9 |
10 | ### Examples
11 | ```
12 | >> Reverse({1, 2, 3})
13 | {3,2,1}
14 |
15 | >> Reverse(x(a,b,c))
16 | x(c,b,a)
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of Reverse](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L6249)
31 |
--------------------------------------------------------------------------------
/.github/workflows/android.yml:
--------------------------------------------------------------------------------
1 | name: Android CI
2 |
3 | on:
4 | push:
5 | branches: [ "main" ]
6 | pull_request:
7 | branches: [ "main" ]
8 |
9 | jobs:
10 | build:
11 |
12 | runs-on: ubuntu-latest
13 |
14 | steps:
15 | - uses: actions/checkout@v3
16 | - name: set up JDK 17
17 | uses: actions/setup-java@v3
18 | with:
19 | java-version: '17'
20 | distribution: 'temurin'
21 | cache: gradle
22 |
23 | - name: Grant execute permission for gradlew
24 | run: chmod +x gradlew
25 | - name: Build with Gradle
26 | run: ./gradlew :app:assembleDebug
27 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/AddTo.md:
--------------------------------------------------------------------------------
1 | ## AddTo
2 |
3 | ```
4 | AddTo(x, dx)
5 |
6 | x += dx
7 | ```
8 |
9 | > is equivalent to `x = x + dx`.
10 |
11 | ### Examples
12 |
13 | ```
14 | >> a = 10
15 | >> a += 2
16 | 12
17 |
18 | >> a
19 | 12
20 | ```
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | ### Implementation status
29 |
30 | * ✅ - full supported
31 |
32 | ### Github
33 |
34 | * [Implementation of AddTo](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Arithmetic.java#L435)
35 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/CarlsonRJ.md:
--------------------------------------------------------------------------------
1 | ## CarlsonRJ
2 |
3 | ```
4 | CarlsonRJ(x, y, z, p)
5 | ```
6 |
7 | > returns the Carlson RJ function.
8 |
9 | See:
10 | * [Wikipedia - Carlson symmetric form](https://en.wikipedia.org/wiki/Carlson_symmetric_form)
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | ### Implementation status
19 |
20 | * ✅ - full supported
21 |
22 | ### Github
23 |
24 | * [Implementation of CarlsonRJ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/EllipticIntegrals.java#L369)
25 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Chop.md:
--------------------------------------------------------------------------------
1 | ## Chop
2 |
3 | ```
4 | Chop(numerical-expr)
5 | ```
6 |
7 | > replaces numerical values in the `numerical-expr` which are close to zero with symbolic value `0`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Chop(0.00000000001)
13 | 0
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of Chop](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Arithmetic.java#L703)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/TrigExpand.md:
--------------------------------------------------------------------------------
1 | ## TrigExpand
2 |
3 | ```
4 | TrigExpand(expr)
5 | ```
6 |
7 | > expands out trigonometric expressions in `expr`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> TrigExpand(Sin(x+y))
13 | Cos(x)*Sin(y)+Cos(y)*Sin(x)
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of TrigExpand](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/reflection/system/TrigExpand.java#L47)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/java/com/symja/programming/document/view/ext/TeXExtension.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming.document.view.ext;
2 |
3 | import org.commonmark.Extension;
4 | import org.commonmark.parser.Parser;
5 |
6 | public class TeXExtension implements Parser.ParserExtension {
7 |
8 | private TeXExtension() {
9 | }
10 |
11 | public static Extension create() {
12 | return new TeXExtension();
13 | }
14 |
15 | @Override
16 | public void extend(Parser.Builder parserBuilder) {
17 | parserBuilder.customDelimiterProcessor(new TeXDelimiterProcessor());
18 | }
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: axkr
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: #
13 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/DivideBy.md:
--------------------------------------------------------------------------------
1 | ## DivideBy
2 |
3 | ```
4 | DivideBy(x, dx)
5 |
6 | x /= dx
7 | ```
8 |
9 | > is equivalent to `x = x / dx`.
10 |
11 | ### Examples
12 |
13 | ```
14 | >> a = 10
15 | >> a /= 2
16 | 5
17 |
18 | >> a
19 | 5
20 | ```
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | ### Implementation status
29 |
30 | * ✅ - full supported
31 |
32 | ### Github
33 |
34 | * [Implementation of DivideBy](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Arithmetic.java#L1390)
35 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/FactorTerms.md:
--------------------------------------------------------------------------------
1 | ## FactorTerms
2 |
3 | ```
4 | FactorTerms(poly)
5 | ```
6 |
7 | > pulls out any overall numerical factor in `poly`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> FactorTerms(3+3/4*x^3+12/17*x^2, x)
13 | 3/68*(17*x^3+16*x^2+68)
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of FactorTerms](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Algebra.java#L2727)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/InverseFunction.md:
--------------------------------------------------------------------------------
1 | ## InverseFunction
2 |
3 | ```
4 | InverseFunction(head)
5 | ```
6 |
7 | > returns the inverse function for the symbol `head`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> InverseFunction(Sin)
13 | ArcSin
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of InverseFunction](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/reflection/system/InverseFunction.java#L37)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/MaxFilter.md:
--------------------------------------------------------------------------------
1 | ## MaxFilter
2 |
3 | ```
4 | MaxFilter(list, r)
5 | ```
6 |
7 | > filter which evaluates the `Max` of `list` for the radius `r`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> MaxFilter({1, 2, 3, 2, 1}, 1)
13 | {2,3,3,3,2}
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of MaxFilter](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/FilterFunctions.java#L78)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/NonNegative.md:
--------------------------------------------------------------------------------
1 | ## NonNegative
2 |
3 | ```
4 | NonNegative(x)
5 | ```
6 |
7 | > returns `True` if `x` is a positive real number or zero.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> {Positive(0), NonNegative(0)}
13 | {False,True}
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of NonNegative](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/BooleanFunctions.java#L3625)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/NonPositive.md:
--------------------------------------------------------------------------------
1 | ## NonPositive
2 |
3 | ```
4 | NonPositive(x)
5 | ```
6 |
7 | > returns `True` if `x` is a negative real number or zero.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> {Negative(0), NonPositive(0)}
13 | {False,True}
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of NonPositive](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/BooleanFunctions.java#L3682)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/OwnValues.md:
--------------------------------------------------------------------------------
1 | ## OwnValues
2 |
3 | ```
4 | OwnValues(symbol)
5 | ```
6 | > prints the own-value rule associated with `symbol`.
7 |
8 | ### Examples
9 |
10 | ```
11 | >> a=42
12 | 42
13 |
14 | >> OwnValues(a)
15 | {HoldPattern(a):>42}
16 | ```
17 |
18 |
19 |
20 |
21 |
22 |
23 | ### Implementation status
24 |
25 | * ✅ - full supported
26 |
27 | ### Github
28 |
29 | * [Implementation of OwnValues](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/PatternMatching.java#L1285)
30 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/TimesBy.md:
--------------------------------------------------------------------------------
1 | ## TimesBy
2 |
3 | ```
4 | TimesBy(x, dx)
5 |
6 | x *= dx
7 | ```
8 |
9 | > is equivalent to `x = x * dx`.
10 |
11 | ### Examples
12 |
13 | ```
14 | >> a = 10
15 |
16 | >> a *= 2
17 | 20
18 |
19 | >> a
20 | 20
21 | ```
22 |
23 |
24 |
25 |
26 |
27 |
28 | ### Implementation status
29 |
30 | * ✅ - full supported
31 |
32 | ### Github
33 |
34 | * [Implementation of TimesBy](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Arithmetic.java#L6738)
35 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/BoxWhiskerChart.md:
--------------------------------------------------------------------------------
1 | ## BoxWhiskerChart
2 |
3 | ```
4 | BoxWhiskerChart( )
5 | ```
6 |
7 | > plot a box whisker chart.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> BoxWhiskerChart(RandomVariate(NormalDistribution(0, 1), 50))
13 |
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of BoxWhiskerChart](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ManipulateFunction.java#L1865)
28 |
--------------------------------------------------------------------------------
/modules/ncalc-editor/src/main/res/drawable/round_check_24.xml:
--------------------------------------------------------------------------------
1 |
7 |
10 |
11 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Histogram.md:
--------------------------------------------------------------------------------
1 | ## Histogram
2 |
3 | ```
4 | Histogram(list-of-values)
5 | ```
6 |
7 | > plots a histogram for a `list-of-values`
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Histogram({1, 2, 3, None, 3, 5, f(), 2, 1, 5,4,3,2,foo, 2, 3})
13 | ```
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of Histogram](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ManipulateFunction.java#L1910)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/RemoveDiacritics.md:
--------------------------------------------------------------------------------
1 | ## RemoveDiacritics
2 |
3 | ```
4 | RemoveDiacritics("string")
5 | ```
6 |
7 | > returns a version of `string` with all diacritics removed.
8 |
9 |
10 | See:
11 | * [Wikipedia - Diacritic](https://en.wikipedia.org/wiki/Diacritic)
12 |
13 |
14 | ### Examples
15 |
16 | ```
17 | >> RemoveDiacritics("éèáàâ")
18 | eeaaa
19 | ```
20 |
21 | ### Github
22 |
23 | * [Implementation of RemoveDiacritics](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/StringFunctions.java#L1166)
24 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/TensorDimensions.md:
--------------------------------------------------------------------------------
1 | ## TensorDimensions
2 |
3 | ```
4 | TensorDimensions(t)
5 | ```
6 |
7 | > return the dimensions of the tensor `t`.
8 |
9 |
10 | ### Examples
11 |
12 | ```
13 | >> TensorDimensions({{1,2},{3,4},{a,b},{c,d}})
14 | {4,2}
15 | ```
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of TensorDimensions](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/TensorFunctions.java#L634)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/UpValues.md:
--------------------------------------------------------------------------------
1 | ## UpValues
2 |
3 | ```
4 | UpValues(symbol)
5 | ```
6 | > prints the up-value rules associated with `symbol`.
7 |
8 | ### Examples
9 |
10 | ```
11 | >> u /: v(x_u) := {x}
12 |
13 | >> UpValues(u)
14 | {HoldPattern(v(x_u)):>{x}}
15 | ```
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of UpValues](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/PatternMatching.java#L2712)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Delete.md:
--------------------------------------------------------------------------------
1 | ## Delete
2 |
3 | ```
4 | Delete(expr, n)
5 | ```
6 |
7 | > returns `expr` with part `n` removed.
8 |
9 |
10 | ### Examples
11 |
12 | ```
13 | >> Delete({a, b, c, d}, 3)
14 | {a,b,d}
15 |
16 | >> Delete({a, b, c, d}, -2)
17 | {a,b,d}
18 | ```
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | ### Implementation status
27 |
28 | * ✅ - full supported
29 |
30 | ### Github
31 |
32 | * [Implementation of Delete](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L1995)
33 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/SymbolName.md:
--------------------------------------------------------------------------------
1 | ## SymbolName
2 |
3 | ```
4 | SymbolName(s)
5 | ```
6 |
7 | > returns the name of the symbol `s` (without any leading context name).
8 |
9 | ### Examples
10 |
11 | ```
12 | >> SymbolName(x) // InputForm
13 | x
14 |
15 | >> SymbolName(a`b`x) // InputForm
16 | x
17 | ```
18 |
19 | ### Implementation status
20 |
21 | * ✅ - full supported
22 |
23 | ### Github
24 |
25 | * [Implementation of SymbolName](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/StructureFunctions.java#L2106)
26 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/CompiledFunction.md:
--------------------------------------------------------------------------------
1 | ## CompiledFunction
2 |
3 | ```
4 | CompiledFunction(...)
5 | ```
6 |
7 | > represents a binary Java coded function.
8 |
9 |
10 | ### Related terms
11 | [Compile](Compile.md), [CompilePrint](CompilePrint.md)
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | ### Implementation status
20 |
21 | * ☕ - supported on Java virtual machine
22 |
23 | ### Github
24 |
25 | * [Implementation of CompiledFunction](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/CompilerFunctions.java#L57)
26 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/EulerE.md:
--------------------------------------------------------------------------------
1 | ## EulerE
2 |
3 | ```
4 | EulerE(n)
5 | ```
6 |
7 | > gives the euler number `En`.
8 |
9 | See
10 | * [Wikipedia - Euler number](http://en.wikipedia.org/wiki/Euler_number)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> EulerE(6)
16 | -61
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | ### Implementation status
27 |
28 | * ✅ - full supported
29 |
30 | ### Github
31 |
32 | * [Implementation of EulerE](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/NumberTheory.java#L1653)
33 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/SemanticImportString.md:
--------------------------------------------------------------------------------
1 | ## SemanticImportString
2 |
3 | ```
4 | SemanticImportString("string-content")
5 | ```
6 |
7 | > import the data from a content string in CSV format and do a semantic interpretation of the columns.
8 |
9 | Dataset uses:
10 | * [Github - JTablesaw - Java dataframe and visualization library ](https://github.com/jtablesaw/tablesaw)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> SemanticImportString("Products,Sales,Market_Share
16 | a,5500,3
17 | b,12200,4
18 | c,60000,33")
19 | ```
20 |
21 | ### Related terms
22 | [Dataset](Dataset.md), [SemanticImport](SemanticImport.md)
--------------------------------------------------------------------------------
/modules/programming/src/main/res/layout/symja_prgm_list_item_markdown_mathview.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/BrayCurtisDistance.md:
--------------------------------------------------------------------------------
1 | ## BrayCurtisDistance
2 |
3 | ```
4 | BrayCurtisDistance(u, v)
5 | ```
6 |
7 | > returns the Bray Curtis distance between `u` and `v`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> BrayCurtisDistance({-1, -1}, {10, 10})
13 | 11/9
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of BrayCurtisDistance](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ClusteringFunctions.java#L125)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/DeleteDuplicatesBy.md:
--------------------------------------------------------------------------------
1 | ## DeleteDuplicatesBy
2 |
3 | ```
4 | DeleteDuplicatesBy(list, predicate)
5 | ```
6 |
7 | > deletes duplicates from `list`, for which the `predicate` returns `True`.
8 |
9 |
10 | ### Examples
11 |
12 | ```
13 |
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | ### Implementation status
24 |
25 | * ✅ - full supported
26 |
27 | ### Github
28 |
29 | * [Implementation of DeleteDuplicatesBy](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L2270)
30 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Fold.md:
--------------------------------------------------------------------------------
1 | ## Fold
2 |
3 | ```
4 | Fold[f, x, {a, b}]
5 | ```
6 |
7 | > returns `f[f[x, a], b]`, and this nesting continues for lists of arbitrary length.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Fold(test, t1, {a, b, c, d})
13 | test(test(test(test(t1,a),b),c),d)
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of Fold](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L3160)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/SubtractFrom.md:
--------------------------------------------------------------------------------
1 | ## SubtractFrom
2 |
3 | ```
4 | SubtractFrom(x, dx)
5 |
6 | x -= dx
7 | ```
8 |
9 | > is equivalent to `x = x - dx`.
10 |
11 | ### Examples
12 |
13 | ```
14 | >> a = 10
15 |
16 | >> a -= 2
17 | 8
18 |
19 | >> a
20 | 8
21 | ```
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | ### Implementation status
30 |
31 | * ✅ - full supported
32 |
33 | ### Github
34 |
35 | * [Implementation of SubtractFrom](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Arithmetic.java#L5534)
36 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Composition.md:
--------------------------------------------------------------------------------
1 | ## Composition
2 |
3 | ```
4 | Composition(sym1, sym2,...)[arg1, arg2,...]
5 | ```
6 |
7 | > creates a composition of the symbols applied at the arguments.
8 |
9 |
10 | ### Examples
11 |
12 | ```
13 | >> Composition(u, v, w)[x, y]
14 | u(v(w(x,y)))
15 | ```
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of Composition](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L1666)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Decrement.md:
--------------------------------------------------------------------------------
1 | ## Decrement
2 |
3 | ```
4 | Decrement(x)
5 |
6 | x--
7 | ```
8 |
9 | > decrements `x` by `1`, returning the original value of `x`.
10 |
11 | ### Examples
12 |
13 | ```
14 | >> a = 5
15 | >> a--
16 | 5
17 |
18 | >> a
19 | 4
20 | ```
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | ### Implementation status
29 |
30 | * ✅ - full supported
31 |
32 | ### Github
33 |
34 | * [Implementation of Decrement](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Arithmetic.java#L1160)
35 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Interrupt.md:
--------------------------------------------------------------------------------
1 | ## Interrupt
2 |
3 | ```
4 | Interrupt( )
5 | ```
6 |
7 | > Interrupt an evaluation and returns `$Aborted`.
8 |
9 | ### Examples
10 |
11 | `Print(test1)` prints string: "test1"
12 |
13 | ```
14 | >> Print(test1); Interrupt(); Print(test2)
15 | $Aborted
16 | ```
17 |
18 |
19 |
20 |
21 |
22 |
23 | ### Implementation status
24 |
25 | * ✅ - full supported
26 |
27 | ### Github
28 |
29 | * [Implementation of Interrupt](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Programming.java#L1308)
30 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/JacobiMatrix.md:
--------------------------------------------------------------------------------
1 | ## JacobiMatrix
2 |
3 | ```
4 | JacobiMatrix(matrix, var)
5 | ```
6 |
7 | > creates a Jacobian matrix.
8 |
9 |
10 | ### Examples
11 |
12 | ```
13 | >> JacobiMatrix({f(u),f(v),f(w),f(x)}, {u,v,w})
14 | {{f'(u),0,0},{0,f'(v),0},{0,0,f'(w)},{0,0,0}}
15 | ```
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of JacobiMatrix](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/LinearAlgebra.java#L2975)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Surd.md:
--------------------------------------------------------------------------------
1 | ## Surd
2 |
3 | ```
4 | Surd(expr, n)
5 | ```
6 |
7 | > returns the `n`-th root of `expr`. If the result is defined, it's a real value.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Surd(16.0,3)
13 | 2.51984
14 | ```
15 |
16 | ### Related terms
17 | [CubeRoot](CubeRoot.md)
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of Surd](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Arithmetic.java#L5339)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/java/com/symja/programming/console/OnProgrammingItemClickListener.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming.console;
2 |
3 | import android.view.View;
4 |
5 | import androidx.annotation.NonNull;
6 | import androidx.recyclerview.widget.RecyclerView;
7 |
8 | import com.symja.programming.console.models.CalculationItem;
9 |
10 |
11 | public interface OnProgrammingItemClickListener {
12 |
13 | void onRemoveClicked(RecyclerView.ViewHolder holder);
14 |
15 | void onInputViewClicked(View view, @NonNull CalculationItem item);
16 |
17 | void openWebView(@NonNull String html, @NonNull String baseUrl, @NonNull String mimeType);
18 | }
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_baseline_help_outline_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_round_label_important_24.xml:
--------------------------------------------------------------------------------
1 |
7 |
10 |
11 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_round_undo_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/data_extraction_rules.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
12 |
13 |
19 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/DiscreteDelta.md:
--------------------------------------------------------------------------------
1 | ## DiscreteDelta
2 |
3 | ```
4 | DiscreteDelta(n1, n2, n3, ...)
5 | ```
6 |
7 | > `DiscreteDelta` function returns `1` if all the `ni` are `0`. Returns `0` otherwise.
8 |
9 |
10 | ### Examples
11 | ```
12 | >> DiscreteDelta(0, 0, 0.0)
13 | 1
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of DiscreteDelta](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/PiecewiseFunctions.java#L292)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/MatchQ.md:
--------------------------------------------------------------------------------
1 | ## MatchQ
2 |
3 | ```
4 | MatchQ(expr, form)
5 | ```
6 |
7 | > tests whether `expr` matches `form`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> MatchQ(123, _Integer)
13 | True
14 |
15 | >> MatchQ(123, _Real)
16 | False
17 |
18 | >> MatchQ(_Integer)[123]
19 | True
20 | ```
21 |
22 |
23 |
24 |
25 |
26 |
27 | ### Implementation status
28 |
29 | * ✅ - full supported
30 |
31 | ### Github
32 |
33 | * [Implementation of MatchQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/PredicateQ.java#L663)
34 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/TakeLargest.md:
--------------------------------------------------------------------------------
1 | ## TakeLargest
2 |
3 | ```
4 | TakeLargest({e_1, e_2, ..., e_i}, n)
5 | ```
6 |
7 | > returns the `n` largest real values from the list `{e_1, e_2, ..., e_i}`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> TakeLargest(Prime(Range(10)), 3)
13 | {29,23,19}
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of TakeLargest](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L7530)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/TakeSmallest.md:
--------------------------------------------------------------------------------
1 | ## TakeSmallest
2 |
3 | ```
4 | TakeSmallest({e_1, e_2, ..., e_i}, n)
5 | ```
6 |
7 | > returns the `n` smallest real values from the list `{e_1, e_2, ..., e_i}`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> TakeSmallest(Prime(Range(10)), 3)
13 | {2,3,5}
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of TakeSmallest](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L7638)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ToExpression.md:
--------------------------------------------------------------------------------
1 | ## ToExpression
2 |
3 | ```
4 | ToExpression("string", form)
5 | ```
6 |
7 | > converts the `string` given in `form` into an expression.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> ToExpression("1 + 2 - x \\times 4 \\div 5", TeXForm)
13 | 3-4/5*x
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of ToExpression](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/StringFunctions.java#L2969)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ToLowerCase.md:
--------------------------------------------------------------------------------
1 | ## ToLowerCase
2 |
3 | ```
4 | ToLowerCase(string)
5 | ```
6 |
7 | > converts `string` into a string of corresponding lowercase character codes.
8 |
9 |
10 | ### Examples
11 |
12 | ```
13 | >> ToLowerCase("This is a Test")
14 | this is a test
15 | ```
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | ### Implementation status
24 |
25 | * ✅ - full supported
26 |
27 | ### Github
28 |
29 | * [Implementation of ToLowerCase](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/StringFunctions.java#L3065)
30 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ToUpperCase.md:
--------------------------------------------------------------------------------
1 | ## ToUpperCase
2 |
3 | ```
4 | ToUpperCase(string)
5 | ```
6 |
7 | > converts `string` into a string of corresponding uppercase character codes.
8 |
9 |
10 | ### Examples
11 |
12 | ```
13 | >> ToUpperCase("This is a Test")
14 | THIS IS A TEST
15 | ```
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | ### Implementation status
24 |
25 | * ✅ - full supported
26 |
27 | ### Github
28 |
29 | * [Implementation of ToUpperCase](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/StringFunctions.java#L3165)
30 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ValueQ.md:
--------------------------------------------------------------------------------
1 | ## ValueQ
2 |
3 | ```
4 | ValueQ(expr)
5 | ```
6 |
7 | > returns `True` if and only if `expr` is defined.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> ValueQ(x)
13 | False
14 |
15 | >> x=1;
16 |
17 | >> ValueQ(x)
18 | True
19 |
20 | >> ValueQ(True)
21 | False
22 | ```
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 | ### Implementation status
31 |
32 | * ✅ - full supported
33 |
34 | ### Github
35 |
36 | * [Implementation of ValueQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/PredicateQ.java#L1569)
37 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/AiryAi.md:
--------------------------------------------------------------------------------
1 | ## AiryAi
2 |
3 | ```
4 | AiryAi(z)
5 | ```
6 |
7 | > returns the Airy function of the first kind of `z`.
8 |
9 | See
10 | * [Wikipedia - Airy function](https://en.wikipedia.org/wiki/Airy_function)
11 | * [Fungrim - Airy functions](http://fungrim.org/topic/Airy_functions/)
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | ### Implementation status
20 |
21 | * ✅ - full supported
22 |
23 | ### Github
24 |
25 | * [Implementation of AiryAi](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/BesselFunctions.java#L67)
26 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/AiryBi.md:
--------------------------------------------------------------------------------
1 | ## AiryBi
2 |
3 | ```
4 | AiryBi(z)
5 | ```
6 |
7 | > returns the Airy function of the second kind of `z`.
8 |
9 | See
10 | * [Wikipedia - Airy function](https://en.wikipedia.org/wiki/Airy_function)
11 | * [Fungrim - Airy functions](http://fungrim.org/topic/Airy_functions/)
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | ### Implementation status
20 |
21 | * ✅ - full supported
22 |
23 | ### Github
24 |
25 | * [Implementation of AiryBi](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/BesselFunctions.java#L162)
26 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/BarChart.md:
--------------------------------------------------------------------------------
1 | ## BarChart
2 |
3 | ```
4 | BarChart(list-of-values, options)
5 | ```
6 |
7 | > plot a bar chart for a `list-of-values` with option `BarOrigin->Bottom` or `BarOrigin->Bottom`
8 |
9 | ### Examples
10 |
11 | ```
12 | >> BarChart({1, -2, 3}, BarOrigin->Bottom)
13 | ```
14 |
15 |
16 |
17 |
18 |
19 |
20 | ### Implementation status
21 |
22 | * ✅ - full supported
23 |
24 | ### Github
25 |
26 | * [Implementation of BarChart](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ManipulateFunction.java#L1857)
27 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/BooleanQ.md:
--------------------------------------------------------------------------------
1 | ## BooleanQ
2 |
3 | ```
4 | BooleanQ(expr)
5 | ```
6 |
7 | > returns `True` if `expr` is either `True` or `False`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> BooleanQ(True)
13 | True
14 | >> BooleanQ(False)
15 | True
16 | >> BooleanQ(a)
17 | False
18 | >> BooleanQ(1 < 2)
19 | True
20 | >> BooleanQ("string")
21 | False
22 | >> BooleanQ(Together(x/y + y/x))
23 | False
24 | ```
25 |
26 | ### Github
27 |
28 | * [Implementation of BooleanQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/expression/BuiltInSymbol.java#L1307)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Cofactor.md:
--------------------------------------------------------------------------------
1 | ## Cofactor
2 |
3 | ```
4 | Cofactor(matrix, {i,j})
5 | ```
6 |
7 | > calculate the cofactor of the matrix
8 |
9 |
10 | ### Examples
11 |
12 | ```
13 | >> Cofactor({{6, 0, 4, 9, 5}, {1, 9, 3, 1, 2}, {5, 4, 5, 3, 8}, {3, 9, 8, 2, 5}, {4, 1, 6, 6, 4}},{1,3})
14 | -30
15 | ```
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of Cofactor](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/LinearAlgebra.java#L1208)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ConstantArray.md:
--------------------------------------------------------------------------------
1 | ## ConstantArray
2 |
3 | ```
4 | ConstantArray(expr, n)
5 | ```
6 | > returns a list of `n` copies of `expr`.
7 |
8 | ### Examples
9 |
10 | ```
11 | >> ConstantArray(a, 3)
12 | {a, a, a}
13 |
14 | >> ConstantArray(a, {2, 3})
15 | {{a, a, a}, {a, a, a}}
16 | ```
17 |
18 |
19 |
20 |
21 |
22 |
23 | ### Implementation status
24 |
25 | * ✅ - full supported
26 |
27 | ### Github
28 |
29 | * [Implementation of ConstantArray](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L1776)
30 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Quiet.md:
--------------------------------------------------------------------------------
1 | ## Quiet
2 |
3 | ```
4 | Quiet(expr)
5 | ```
6 |
7 | > evaluates `expr` in "quiet" mode (i.e. no warning messages are shown during evaluation).
8 |
9 | ### Examples
10 |
11 | No error is printed for the division by `0`
12 |
13 | ```
14 | >> Quiet(1/0)
15 | ComplexInfinity
16 | ```
17 |
18 |
19 |
20 |
21 |
22 |
23 | ### Implementation status
24 |
25 | * ✅ - full supported
26 |
27 | ### Github
28 |
29 | * [Implementation of Quiet](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Programming.java#L2540)
30 |
--------------------------------------------------------------------------------
/modules/programming/src/main/java/com/symja/programming/document/view/ext/TeX.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming.document.view.ext;
2 |
3 | import org.commonmark.node.CustomNode;
4 | import org.commonmark.node.Delimited;
5 |
6 | /**
7 | * A TeX node containing text and other inline nodes nodes as children.
8 | */
9 | public class TeX extends CustomNode implements Delimited {
10 |
11 | private static final String DELIMITER = "$$";
12 |
13 | @Override
14 | public String getOpeningDelimiter() {
15 | return DELIMITER;
16 | }
17 |
18 | @Override
19 | public String getClosingDelimiter() {
20 | return DELIMITER;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_round_close_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/AtomQ.md:
--------------------------------------------------------------------------------
1 | ## AtomQ
2 | ```
3 | AtomQ(x)
4 | ```
5 |
6 | > is true if `x` is an atom (an object such as a number or string, which cannot be divided into subexpressions using 'Part').
7 |
8 | ### Examples
9 | ```
10 | >> AtomQ(x)
11 | True
12 |
13 | >> AtomQ(1.2)
14 | True
15 |
16 | >> AtomQ(2 + I)
17 | True
18 |
19 | >> AtomQ(2 / 3)
20 | True
21 |
22 | >> AtomQ(x + y)
23 | False
24 | ```
25 |
26 | ### Github
27 |
28 | * [Implementation of AtomQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/expression/BuiltInSymbol.java#L63)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ByteArrayQ.md:
--------------------------------------------------------------------------------
1 | ## ByteArrayQ
2 |
3 | ```
4 | ByteArrayQ(expr)
5 | ```
6 |
7 | >test if `expr` is a byte array object.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> ByteArrayQ(ByteArray({1,2,3}))
13 | True
14 | ```
15 |
16 | ### Related terms
17 | [BinaryDeserialize](BinaryDeserialize.md), [BinarySerialize](BinarySerialize.md), [ByteArray](ByteArray.md), [Export](Export.md), [Import](Import.md)
18 |
19 | ### Github
20 |
21 | * [Implementation of ByteArrayQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/expression/BuiltInSymbol.java#L47)
22 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Khinchin.md:
--------------------------------------------------------------------------------
1 | ## Khinchin
2 |
3 | ```
4 | Khinchin
5 | ```
6 |
7 | > Khinchin's constant
8 |
9 | See:
10 | * [Wikipedia:Khinchin's constant](http://en.wikipedia.org/wiki/Khinchin%27s_constant)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> N(Khinchin)
16 | 2.6854520010653062
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of Khinchin](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ConstantDefinitions.java#L1194)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/MeanFilter.md:
--------------------------------------------------------------------------------
1 | ## MeanFilter
2 |
3 | ```
4 | MeanFilter(list, r)
5 | ```
6 |
7 | > filter which evaluates the `Mean` of `list` for the radius `r`.
8 |
9 |
10 | ### Examples
11 |
12 | ```
13 | >> MeanFilter({-3, 3, 6, 0, 0, 3, -3, -9}, 2)
14 | {2,3/2,6/5,12/5,6/5,-9/5,-9/4,-3}
15 | ```
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of MeanFilter](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/FilterFunctions.java#L85)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Riffle.md:
--------------------------------------------------------------------------------
1 | ## Riffle
2 |
3 | ```
4 | Riffle(list1, list2)
5 | ```
6 |
7 | > insert elements of `list2` between the elements of `list1`.
8 |
9 |
10 | ### Examples
11 |
12 | ```
13 | >> Riffle({a, b, c}, x)
14 | {a,x,b,x,c}
15 |
16 | >> Riffle({a, b, c}, {x, y, z})
17 | {a,x,b,y,c,z}
18 | ```
19 |
20 |
21 |
22 |
23 |
24 |
25 | ### Implementation status
26 |
27 | * ✅ - full supported
28 |
29 | ### Github
30 |
31 | * [Implementation of Riffle](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L6334)
32 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_round_redo_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Area.md:
--------------------------------------------------------------------------------
1 | ## Area
2 |
3 | ```
4 | Area(geometric-form)
5 | ```
6 |
7 | > returns the area of the `geometric-form`.
8 |
9 |
10 | See:
11 | * [Wikipedia - Area](https://en.wikipedia.org/wiki/Area)
12 |
13 |
14 | ### Examples
15 |
16 | ```
17 | >> Area(Disk({1,2}))
18 | Pi
19 | ```
20 |
21 |
22 |
23 |
24 |
25 |
26 | ### Implementation status
27 |
28 | * ✅ - full supported
29 |
30 | ### Github
31 |
32 | * [Implementation of Area](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ComputationalGeometryFunctions.java#L283)
33 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ArgMin.md:
--------------------------------------------------------------------------------
1 | ## ArgMin
2 |
3 | ```
4 | ArgMin(function, variable)
5 | ```
6 |
7 | > returns a minimizer point for a univariate `function`.
8 |
9 | See:
10 | * [Wikipedia - Arg max](https://en.wikipedia.org/wiki/Arg_max)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> ArgMin(x*10+x^2, x)
16 | -5
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of ArgMin](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/MinMaxFunctions.java#L152)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ComposeList.md:
--------------------------------------------------------------------------------
1 | ## ComposeList
2 |
3 | ```
4 | ComposeList(list-of-symbols, variable)
5 | ```
6 |
7 | > creates a list of compositions of the symbols applied at the argument `x`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> ComposeList({f,g,h}, x)
13 | {x,f(x),g(f(x)),h(g(f(x)))}
14 |
15 | ```
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of ComposeList](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L1722)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Cosh.md:
--------------------------------------------------------------------------------
1 | ## Cosh
2 |
3 | ```
4 | Cosh(z)
5 | ```
6 |
7 | > returns the hyperbolic cosine of `z`.
8 |
9 | ### Examples
10 | ```
11 | >> Cosh(0)
12 | 1
13 | ```
14 |
15 |
16 |
17 |
18 |
19 |
20 | ### Implementation status
21 |
22 | * ✅ - full supported
23 |
24 | ### Github
25 |
26 | * [Implementation of Cosh](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ExpTrigsFunctions.java#L1725)
27 |
28 | * [Rule definitions of Cosh](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/rules/CoshRules.m)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/JacobiSymbol.md:
--------------------------------------------------------------------------------
1 | ## JacobiSymbol
2 |
3 | ```
4 | JacobiSymbol(m, n)
5 | ```
6 |
7 | > calculates the Jacobi symbol.
8 |
9 | See
10 | * [Wikipedia - Jacobi symbol](https://en.wikipedia.org/wiki/Jacobi_symbol)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> JacobiSymbol(1001, 9907)
16 | -1
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of JacobiSymbol](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/NumberTheory.java#L3011)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/List.md:
--------------------------------------------------------------------------------
1 | ## List
2 |
3 | ```
4 | List(e1, e2, ..., ei)
5 | ```
6 |
7 | or
8 |
9 | ```
10 | {e1, e2, ..., ei}
11 | ```
12 |
13 | > represents a list containing the elements `e1...ei`.
14 |
15 | ### Examples
16 |
17 | `List` is the head of lists:
18 |
19 | ```
20 | >> Head({1, 2, 3})
21 | List
22 | ```
23 |
24 | Lists can be nested:
25 |
26 | ```
27 | >> {{a, b, {c, d}}}
28 | {{a, b, {c, d}}}
29 | ```
30 |
31 | ### Github
32 |
33 | * [Implementation of List](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Programming.java#L3157)
34 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/LowerTriangularMatrixQ.md:
--------------------------------------------------------------------------------
1 | ## LowerTriangularMatrixQ
2 |
3 | ```
4 | LowerTriangularMatrixQ(matrix)
5 | ```
6 |
7 | ```
8 | LowerTriangularMatrixQ(matrix, diagonal)
9 | ```
10 |
11 | > returns `True` if `matrix` is lower triangular.
12 |
13 | ### Examples
14 |
15 | ```
16 |
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of LowerTriangularMatrixQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/PredicateQ.java#L588)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/MathMLForm.md:
--------------------------------------------------------------------------------
1 | ## MathMLForm
2 |
3 | ```
4 | MathMLForm(expr)
5 | ```
6 |
7 | > returns the MathML form of the evaluated `expr`.
8 |
9 | See
10 | * [Wikipedia - MathML](https://en.wikipedia.org/wiki/MathML)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> MathMLForm(D(Sin(x)*Cos(x),x))
16 | ```
17 |
18 |
19 |
20 |
21 |
22 |
23 | ### Implementation status
24 |
25 | * ✅ - full supported
26 |
27 | ### Github
28 |
29 | * [Implementation of MathMLForm](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/OutputFunctions.java#L606)
30 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/UpperTriangularMatrixQ.md:
--------------------------------------------------------------------------------
1 | ## UpperTriangularMatrixQ
2 |
3 | ```
4 | UpperTriangularMatrixQ(matrix)
5 | ```
6 |
7 | ```
8 | UpperTriangularMatrixQ(matrix, diagonal)
9 | ```
10 |
11 | > returns `True` if `matrix` is upper triangular.
12 |
13 | ### Examples
14 |
15 | ```
16 |
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of UpperTriangularMatrixQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/PredicateQ.java#L1529)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/textmate/mathematica/language-configuration.json:
--------------------------------------------------------------------------------
1 | {
2 | "comments": {
3 | "blockComment": ["(*", "*)"]
4 | },
5 | "brackets": [
6 | ["{", "}"],
7 | ["[", "]"],
8 | ["(", ")"]
9 | ],
10 | "autoClosingPairs": [
11 | ["{", "}"],
12 | ["[", "]"],
13 | ["(", ")"],
14 | {
15 | "open": "\"",
16 | "close": "\"",
17 | "notIn": ["string"]
18 | }, {
19 | "open": "'",
20 | "close": "'",
21 | "notIn": ["string"]
22 | }
23 | ],
24 | "surroundingPairs": [
25 | ["{", "}"],
26 | ["[", "]"],
27 | ["(", ")"],
28 | ["\"", "\""],
29 | ["'", "'"]
30 | ]
31 | }
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Arg.md:
--------------------------------------------------------------------------------
1 | ## Arg
2 |
3 | ```
4 | Arg(expr)
5 | ```
6 |
7 | > returns the argument of the complex number `expr`.
8 |
9 | See:
10 | * [Wikipedia - Argument (complex analysis)](https://en.wikipedia.org/wiki/Argument_%28complex_analysis%29)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> Arg(1+I)
16 | Pi/4
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of Arg](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Arithmetic.java#L554)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ArgMax.md:
--------------------------------------------------------------------------------
1 | ## ArgMax
2 |
3 | ```
4 | ArgMax(function, variable)
5 | ```
6 |
7 | > returns a maximizer point for a univariate `function`.
8 |
9 | See:
10 | * [Wikipedia - Arg max](https://en.wikipedia.org/wiki/Arg_max)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> ArgMax(x*10-x^2, x)
16 | 5
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of ArgMax](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/MinMaxFunctions.java#L99)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/CountDistinct.md:
--------------------------------------------------------------------------------
1 | ## CountDistinct
2 | ```
3 | CountDistinct(list)
4 | ```
5 | > returns the number of distinct entries in `list`.
6 |
7 |
8 | ### Examples
9 |
10 | ```
11 | >> CountDistinct({3, 7, 10, 7, 5, 3, 7, 10})
12 | 4
13 |
14 | >> CountDistinct({{a, a}, {a, a, a}, a, a})
15 | 3
16 | ```
17 |
18 |
19 |
20 |
21 |
22 |
23 | ### Implementation status
24 |
25 | * ✅ - full supported
26 |
27 | ### Github
28 |
29 | * [Implementation of CountDistinct](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L1975)
30 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Divisible.md:
--------------------------------------------------------------------------------
1 | ## Divisible
2 |
3 | ```
4 | Divisible(n, m)
5 | ```
6 |
7 | > returns `True` if `n` could be divide by `m`.
8 |
9 | See:
10 | * [Wikipedia - Divisor](https://en.wikipedia.org/wiki/Divisor)
11 |
12 |
13 | ### Examples
14 |
15 | ```
16 | >> Divisible(42,7)
17 | True
18 | ```
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | ### Implementation status
27 |
28 | * ✅ - full supported
29 |
30 | ### Github
31 |
32 | * [Implementation of Divisible](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/NumberTheory.java#L1375)
33 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/FactorTermsList.md:
--------------------------------------------------------------------------------
1 | ## FactorTermsList
2 |
3 | ```
4 | FactorTermsList(poly)
5 | ```
6 |
7 | > pulls out any overall numerical factor in `poly` and returns the result in a list.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> FactorTermsList(3+3/4*x^3+12/17*x^2)
13 | {3/68,68+16*x^2+17*x^3}
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of FactorTermsList](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Algebra.java#L2818)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Identity.md:
--------------------------------------------------------------------------------
1 | ## Identity
2 |
3 | ```
4 | Identity(x)
5 | ```
6 |
7 | > is the identity function, which returns `x` unchanged.
8 |
9 | See
10 | * [Wikipedia - Identity function](https://en.wikipedia.org/wiki/Identity_function)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> Identity(5)
16 | 5
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of Identity](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/PatternMatching.java#L933)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/InputForm.md:
--------------------------------------------------------------------------------
1 | ## InputForm
2 |
3 |
4 | ```
5 | InputForm(expr)
6 | ```
7 |
8 | > print the `expr` as if it should be inserted by the user for evaluation.
9 |
10 |
11 | ### Examples
12 |
13 | Print the string with quotes:
14 |
15 | ```
16 | >> "a string" // InputForm
17 | "a string"
18 | ```
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | ### Implementation status
27 |
28 | * ✅ - full supported
29 |
30 | ### Github
31 |
32 | * [Implementation of InputForm](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/OutputFunctions.java#L361)
33 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/SubsetQ.md:
--------------------------------------------------------------------------------
1 | ## SubsetQ
2 |
3 | ```
4 | SubsetQ(set1, set2)
5 | ```
6 |
7 | > returns `True` if `set2` is a subset of `set1`.
8 |
9 | See:
10 | * [Wikipedia - Subset](https://en.wikipedia.org/wiki/Subset)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> SubsetQ({a,b,c},{a,b})
16 | True
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | ### Implementation status
26 |
27 | * ✅ - full supported
28 |
29 | ### Github
30 |
31 | * [Implementation of SubsetQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ContainsFunctions.java#L45)
32 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/TakeWhile.md:
--------------------------------------------------------------------------------
1 | ## TakeWhile
2 |
3 | ```
4 | TakeWhile({e1, e2, ...}, head)
5 | ```
6 |
7 | > returns the list of elements `ei` at the start of list for which `head(ei)` returns `True`.
8 |
9 | ### Examples
10 |
11 |
12 | ```
13 | >> TakeWhile({1, 2, 3, 10, 5, 8, 42, 11}, # < 10 &)
14 | {1,2,3}
15 | ```
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of TakeWhile](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L7745)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/AiryAiPrime.md:
--------------------------------------------------------------------------------
1 | ## AiryAiPrime
2 |
3 | ```
4 | AiryAiPrime(z)
5 | ```
6 |
7 | > returns the derivative of the `AiryAi` function.
8 |
9 | See
10 | * [Wikipedia - Airy function](https://en.wikipedia.org/wiki/Airy_function)
11 | * [Fungrim - Airy functions](http://fungrim.org/topic/Airy_functions/)
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | ### Implementation status
20 |
21 | * ✅ - full supported
22 |
23 | ### Github
24 |
25 | * [Implementation of AiryAiPrime](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/BesselFunctions.java#L114)
26 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/AiryBiPrime.md:
--------------------------------------------------------------------------------
1 | ## AiryBiPrime
2 |
3 | ```
4 | AiryBiPrime(z)
5 | ```
6 |
7 | > returns the derivative of the `AiryBi` function.
8 |
9 | See
10 | * [Wikipedia - Airy function](https://en.wikipedia.org/wiki/Airy_function)
11 | * [Fungrim - Airy functions](http://fungrim.org/topic/Airy_functions/)
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | ### Implementation status
20 |
21 | * ✅ - full supported
22 |
23 | ### Github
24 |
25 | * [Implementation of AiryBiPrime](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/BesselFunctions.java#L208)
26 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/DownValues.md:
--------------------------------------------------------------------------------
1 | ## DownValues
2 |
3 | ```
4 | DownValues(symbol)
5 | ```
6 | > prints the down-value rules associated with `symbol`.
7 |
8 | ### Examples
9 |
10 | ```
11 | >> f(1)=3
12 | 3
13 |
14 | >> f(x_):=x^3
15 |
16 | >> DownValues(f)
17 | {HoldPattern(f(1)):>3,HoldPattern(f(x_)):>x^3}
18 | ```
19 |
20 |
21 |
22 |
23 |
24 |
25 | ### Implementation status
26 |
27 | * ✅ - full supported
28 |
29 | ### Github
30 |
31 | * [Implementation of DownValues](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/PatternMatching.java#L591)
32 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ExactNumberQ.md:
--------------------------------------------------------------------------------
1 | ## ExactNumberQ
2 | ```
3 | ExactNumberQ(expr)
4 | ```
5 | > returns `True` if `expr` is an exact number, and `False` otherwise.
6 |
7 | ### Examples
8 |
9 | ```
10 | >> ExactNumberQ(10)
11 | True
12 |
13 | >> ExactNumberQ(4.0)
14 | False
15 |
16 | >> ExactNumberQ(n)
17 | False
18 |
19 | >> ExactNumberQ(1+I)
20 | True
21 |
22 | >> ExactNumberQ(1 + 1. * I)
23 | False
24 | ```
25 |
26 | ### Github
27 |
28 | * [Implementation of ExactNumberQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/expression/BuiltInSymbol.java#L460)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Pause.md:
--------------------------------------------------------------------------------
1 | ## Pause
2 |
3 | ```
4 | Pause(seconds)
5 | ```
6 |
7 | > pause the thread for the number of `seconds`.
8 |
9 |
10 | ### Examples
11 |
12 | Pause 5 seconds.
13 |
14 | ```
15 | >> Pause(5)
16 | ```
17 |
18 | ### Related terms
19 | [TimeConstrained](TimeConstrained.md), [Timing](Timing.md)
20 |
21 |
22 |
23 |
24 |
25 |
26 | ### Implementation status
27 |
28 | * ✅ - full supported
29 |
30 | ### Github
31 |
32 | * [Implementation of Pause](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Programming.java#L2500)
33 |
--------------------------------------------------------------------------------
/modules/jlatex/build.sh:
--------------------------------------------------------------------------------
1 | mkdir build
2 | cd build || exit 2
3 |
4 | rm -rf jlatex
5 | git clone https://github.com/tranleduy2000/jlatex.git jlatex || exit 2
6 |
7 | cp ../../../local.properties ./jlatex/local.properties
8 | cd jlatex || exit 2
9 |
10 | chmod +x gradlew
11 | ./gradlew assembleDebug
12 |
13 | cp ./jlatexmath/build/outputs/aar/jlatexmath-debug.aar ../../jlatexmath/jlatexmath-debug.aar
14 | cp ./jlatexmath-font-cyrillic/build/outputs/aar/jlatexmath-font-cyrillic-debug.aar ../../jlatexmath-font-cyrillic/jlatexmath-font-cyrillic-debug.aar
15 | cp ./jlatexmath-font-greek/build/outputs/aar/jlatexmath-font-greek-debug.aar ../../jlatexmath-font-greek/jlatexmath-font-greek-debug.aar
16 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Break.md:
--------------------------------------------------------------------------------
1 | ## Break
2 |
3 | ```
4 | Break()
5 | ```
6 | > exits a `For`, `While`, or `Do` loop.
7 |
8 | ### Examples
9 | ```
10 | >> n = 0
11 | >> While(True, If(n>10, Break()); n=n+1)
12 | >> n
13 | 11
14 | ```
15 |
16 | ### Related terms
17 | [Continue](Continue.md), [Do](Do.md), [For](For.md), [While](While.md)
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of Break](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Programming.java#L214)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/CatalanNumber.md:
--------------------------------------------------------------------------------
1 | ## CatalanNumber
2 |
3 | ```
4 | CatalanNumber(n)
5 | ```
6 |
7 | > returns the catalan number for the argument `n`.
8 |
9 | See:
10 | * [Wikipedia - Catalan number](http://en.wikipedia.org/wiki/Catalan_number)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> CatalanNumber(4)
16 | 14
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of CatalanNumber](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/NumberTheory.java#L581)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/EndPackage.md:
--------------------------------------------------------------------------------
1 | ## EndPackage
2 |
3 | ```
4 | EndPackage( )
5 | ```
6 |
7 | > end a package definition
8 |
9 | ### Examples
10 |
11 | ```
12 | >> BeginPackage("Test`")
13 |
14 | >> $ContextPath
15 | {Test`,System`}
16 |
17 | >> EndPackage( )
18 |
19 | >> $ContextPath
20 | {Test`,System`,Global`}
21 | ```
22 |
23 |
24 |
25 |
26 |
27 |
28 | ### Implementation status
29 |
30 | * ✅ - full supported
31 |
32 | ### Github
33 |
34 | * [Implementation of EndPackage](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/FileFunctions.java#L476)
35 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/LengthWhile.md:
--------------------------------------------------------------------------------
1 | ## LengthWhile
2 |
3 | ```
4 | LengthWhile({e1, e2, ...}, head)
5 | ```
6 |
7 | > returns the number of elements `ei` at the start of list for which `head(ei)` returns `True`.
8 |
9 | ### Examples
10 |
11 |
12 | ```
13 | >> LengthWhile({1, 2, 3, 10, 5, 8, 42, 11}, # < 10 &)
14 | 3
15 | ```
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of LengthWhile](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L4011)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/LevelQ.md:
--------------------------------------------------------------------------------
1 | ## LevelQ
2 |
3 | ```
4 | LevelQ(expr)
5 | ```
6 |
7 | > tests whether `expr` is a valid level specification.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> LevelQ(2)
13 | True
14 |
15 | >> LevelQ({2, 4})
16 | True
17 |
18 | >> LevelQ(Infinity)
19 | True
20 |
21 | >> LevelQ(a + b)
22 | False
23 | ```
24 |
25 |
26 |
27 |
28 |
29 |
30 | ### Implementation status
31 |
32 | * ✅ - full supported
33 |
34 | ### Github
35 |
36 | * [Implementation of LevelQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L4211)
37 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/ListConvolve.md:
--------------------------------------------------------------------------------
1 | ## ListConvolve
2 |
3 | ```
4 | ListConvolve(kernel-list, tensor-list)
5 | ```
6 |
7 | > create the convolution of the `kernel-list` with `tensor-list`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> ListConvolve({x, y}, {a, b, c, d, e, f})
13 | {b*x+a*y,c*x+b*y,d*x+c*y,e*x+d*y,f*x+e*y}
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of ListConvolve](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/TensorFunctions.java#L328)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Roots.md:
--------------------------------------------------------------------------------
1 | ## Roots
2 |
3 | ```
4 | Roots(polynomial-equation, var)
5 | ```
6 |
7 | > determine the roots of a univariate polynomial equation with respect to the variable `var`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Roots(3*x^3-5*x^2+5*x-2==0,x)
13 | x==2/3||x==1/2-I*1/2*Sqrt(3)||x==1/2+I*1/2*Sqrt(3)
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of Roots](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/RootsFunctions.java#L370)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Subfactorial.md:
--------------------------------------------------------------------------------
1 | ## Subfactorial
2 |
3 | ```
4 | Subfactorial(n)
5 | ```
6 |
7 | > returns the subfactorial number of the integer `n`
8 |
9 | See
10 | * [Wikipedia - Derangement](http://en.wikipedia.org/wiki/Derangement)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> Subfactorial(12)
16 | 176214841
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of Subfactorial](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/NumberTheory.java#L5064)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/TeXForm.md:
--------------------------------------------------------------------------------
1 | ## TeXForm
2 |
3 | ```
4 | TeXForm(expr)
5 | ```
6 |
7 | > returns the TeX form of the evaluated `expr`.
8 |
9 | See
10 | * [Wikipedia - LaTeX](https://en.wikipedia.org/wiki/LaTeX)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> TeXForm(D(sin(x)*cos(x),x))
16 | "{\cos(x)}^{2}-{\sin(x)}^{2}"
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of TeXForm](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/OutputFunctions.java#L773)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Last.md:
--------------------------------------------------------------------------------
1 | ## Last
2 |
3 | ```
4 | Last(expr)
5 | ```
6 |
7 | > returns the last element in `expr`.
8 |
9 | ### Examples
10 |
11 | `Last(expr)` is equivalent to `expr[[-1]]`.
12 |
13 | ```
14 | >> Last({a, b, c})
15 | c
16 | ```
17 |
18 | Nonatomic expression expected.
19 |
20 | ```
21 | >> Last(x)
22 | Last(x)
23 | ```
24 |
25 |
26 |
27 |
28 |
29 |
30 | ### Implementation status
31 |
32 | * ✅ - full supported
33 |
34 | ### Github
35 |
36 | * [Implementation of Last](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L3911)
37 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/StackBegin.md:
--------------------------------------------------------------------------------
1 | ## StackBegin
2 |
3 | ```
4 | Stack(expr)
5 | ```
6 |
7 | > begine a new stack and evaluate `èxpr`. Use `Stack(_)` as a subexpression in `expr` to return the stack elements.
8 |
9 | ### Examples
10 |
11 | ```
12 |
13 | ```
14 |
15 |
16 | ### Related terms
17 | [Stack](Stack.md), [Trace](Trace.md)
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of StackBegin](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Programming.java#L2922)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/TrigReduce.md:
--------------------------------------------------------------------------------
1 | ## TrigReduce
2 |
3 | ```
4 | TrigReduce(expr)
5 | ```
6 |
7 | > rewrites products and powers of trigonometric functions in `expr` in terms of trigonometric functions with combined arguments.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> TrigReduce(2*Sin(x)*Cos(y))
13 | Sin(-y+x)+Sin(y+x)
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of TrigReduce](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/reflection/system/TrigReduce.java#L54)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/res/drawable/symja_prgm_round_search_24.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/CarmichaelLambda.md:
--------------------------------------------------------------------------------
1 | ## CarmichaelLambda
2 |
3 | ```
4 | CarmichaelLambda(n)
5 | ```
6 |
7 | > the Carmichael function of `n`
8 |
9 | See:
10 | * [Wikipedia - Carmichael function](https://en.wikipedia.org/wiki/Carmichael_function)
11 |
12 | ## Examples
13 |
14 | ```
15 | >> CarmichaelLambda(35)
16 | 12
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of CarmichaelLambda](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/NumberTheory.java#L528)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Div.md:
--------------------------------------------------------------------------------
1 | ## Div
2 |
3 | ```
4 | Div({f1, f2, f3,...},{x1, x2, x3,...})
5 | ```
6 |
7 | > compute the divergence.
8 |
9 | See:
10 | * [Wikipedia - Divergence](http://en.wikipedia.org/wiki/Divergence)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> Div({x^2, y^3},{x, y})
16 | 2*x+3*y^2
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | ### Implementation status
28 |
29 | * ✅ - full supported
30 |
31 | ### Github
32 |
33 | * [Implementation of Div](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/VectorAnalysisFunctions.java#L121)
34 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/PreIncrement.md:
--------------------------------------------------------------------------------
1 | ## PreIncrement
2 |
3 | ```
4 | PreIncrement(x)
5 |
6 | ++x
7 | ```
8 |
9 | > increments `x` by `1`, returning the new value of `x`.
10 |
11 | ### Examples
12 |
13 | `++a` is equivalent to `a = a + 1`:
14 |
15 | ```
16 | >> a = 2
17 | >> ++a
18 | 3
19 |
20 | >> a
21 | 3
22 | ```
23 |
24 |
25 |
26 |
27 |
28 |
29 | ### Implementation status
30 |
31 | * ✅ - full supported
32 |
33 | ### Github
34 |
35 | * [Implementation of PreIncrement](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Arithmetic.java#L4750)
36 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Rationalize.md:
--------------------------------------------------------------------------------
1 | ## Rationalize
2 |
3 | ```
4 | Rationalize(expression)
5 | ```
6 |
7 | > convert numerical real or imaginary parts in (sub-)expressions into rational numbers.
8 |
9 |
10 | ### Examples
11 | ```
12 | >> Rationalize(6.75)
13 | 27/4
14 |
15 | >> Rationalize(0.25+I*0.33333)
16 | 1/4+I*33333/100000
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of Rationalize](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/NumberTheory.java#L4590)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/AbsoluteTiming.md:
--------------------------------------------------------------------------------
1 | ## AbsoluteTiming
2 |
3 | ```
4 | AbsoluteTiming(x)
5 | ```
6 |
7 | > returns a list with the first entry containing the evaluation time of `x` and the second entry is the evaluation result of `x`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> AbsoluteTiming(x = 1; Pause(x); x + 3)[[1]] > 1
13 | True
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of AbsoluteTiming](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Programming.java#L166)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/FourierMatrix.md:
--------------------------------------------------------------------------------
1 | ## FourierMatrix
2 |
3 | ```
4 | FourierMatrix(n)
5 | ```
6 |
7 | > gives a fourier matrix with the dimension `n`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> FourierMatrix(4)
13 | {{1/2,1/2,1/2,1/2},
14 | {1/2,I*1/2,-1/2,-I*1/2},
15 | {1/2,-1/2,1/2,-1/2},
16 | {1/2,-I*1/2,-1/2,I*1/2}}
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of FourierMatrix](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/LinearAlgebra.java#L2386)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/PreDecrement.md:
--------------------------------------------------------------------------------
1 | ## PreDecrement
2 |
3 | ```
4 | PreDecrement(x)
5 |
6 | --x
7 | ```
8 |
9 | > decrements `x` by `1`, returning the new value of `x`.
10 |
11 | ### Examples
12 |
13 | `--a` is equivalent to `a = a - 1`:
14 |
15 | ```
16 | >> a = 2
17 |
18 | >> --a
19 | 1
20 |
21 | >> a
22 | 1
23 | ```
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 | ### Implementation status
32 |
33 | * ✅ - full supported
34 |
35 | ### Github
36 |
37 | * [Implementation of PreDecrement](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Arithmetic.java#L4701)
38 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/RightComposition.md:
--------------------------------------------------------------------------------
1 | ## RightComposition
2 |
3 | ```
4 | RightComposition(sym1, sym2,...)[arg1, arg2,...]
5 | ```
6 |
7 | > creates a composition of the symbols applied in reversed order at the arguments.
8 |
9 |
10 | ### Examples
11 |
12 | ```
13 | >> RightComposition(u, v, w)[x, y]
14 | w(v(u(x,y)))
15 | ```
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | ### Implementation status
24 |
25 | * ✅ - full supported
26 |
27 | ### Github
28 |
29 | * [Implementation of RightComposition](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L6275)
30 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Unique.md:
--------------------------------------------------------------------------------
1 | ## Unique
2 |
3 | ```
4 | Unique(expr)
5 | ```
6 |
7 | > create a unique symbol of the form `expr$...`.
8 |
9 | ```
10 | Unique("expr")
11 | ```
12 |
13 | > create a unique symbol of the form `expr...`.
14 |
15 | ### Examples
16 |
17 | ```
18 | >> Unique(xy)
19 | xy$1
20 |
21 | >> Unique("a")
22 | a1
23 | ```
24 |
25 |
26 |
27 |
28 |
29 |
30 | ### Implementation status
31 |
32 | * ✅ - full supported
33 |
34 | ### Github
35 |
36 | * [Implementation of Unique](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/PatternMatching.java#L2372)
37 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/CirclePoints.md:
--------------------------------------------------------------------------------
1 | ## CirclePoints
2 |
3 | ```
4 | CirclePoints(i)
5 | ```
6 |
7 | > gives the `i` points on the unit circle for a positive integer `i`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> CirclePoints(4)
13 | {{1/Sqrt(2),-1/Sqrt(2)},{1/Sqrt(2),1/Sqrt(2)},{-1/Sqrt(2),1/Sqrt(2)},{-1/Sqrt(2),-1/Sqrt(2)}}
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of CirclePoints](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ExpTrigsFunctions.java#L1252)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/DeleteCases.md:
--------------------------------------------------------------------------------
1 | ## DeleteCases
2 |
3 | ```
4 | DeleteCases(list, pattern)
5 | ```
6 | > returns the elements of `list` that do not match `pattern`.
7 |
8 | ### Examples
9 | ```
10 | >> DeleteCases({a, 1, 2.5, "string"}, _Integer|_Real)
11 | {a,"string"}
12 |
13 | >> DeleteCases({a, b, 1, c, 2, 3}, _Symbol)
14 | {1,2,3}
15 | ```
16 |
17 |
18 |
19 |
20 |
21 |
22 | ### Implementation status
23 |
24 | * ✅ - full supported
25 |
26 | ### Github
27 |
28 | * [Implementation of DeleteCases](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L2135)
29 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/OneIdentity.md:
--------------------------------------------------------------------------------
1 | ## OneIdentity
2 |
3 | ```
4 | OneIdentity
5 | ```
6 |
7 | > is an attribute assigned to a symbol, say `f`, indicating that `f(x)`, `f(f(x))`,... etc. are all equivalent to `x` in pattern matching.
8 |
9 | ### Examples
10 |
11 | `OneIdentity` affects pattern matching. It does not affect evaluation.
12 |
13 | ```
14 | >> SetAttributes[f, OneIdentity]
15 |
16 | >> a /. f(x_:0, u_) -> {u}
17 | {a}
18 | ```
19 |
20 | However, without a default argument, the pattern does not match:
21 |
22 | ```
23 | >> a /. f(u_) -> {u}
24 | a
25 | ```
26 |
27 | `OneIdentity` does not affect evaluation:
28 |
29 | ```
30 | >> f(a)
31 | f(a)
32 | ```
33 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/SinhIntegral.md:
--------------------------------------------------------------------------------
1 | ## SinhIntegral
2 |
3 | ```
4 | SinhIntegral(expr)
5 | ```
6 |
7 | > returns the sine integral of `expr`.
8 |
9 | See
10 | * [Wikipedia - Trigonometric integral](https://en.wikipedia.org/wiki/Trigonometric_integral)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> SinhIntegral(0)
16 | 0
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | ### Implementation status
26 |
27 | * ✅ - full supported
28 |
29 | ### Github
30 |
31 | * [Implementation of SinhIntegral](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/HypergeometricFunctions.java#L1478)
32 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/TakeLargestBy.md:
--------------------------------------------------------------------------------
1 | ## TakeLargestBy
2 |
3 | ```
4 | TakeLargestBy({e_1, e_2, ..., e_i}, function, n)
5 | ```
6 |
7 | > returns the `n` values from the list `{e_1, e_2, ..., e_i}`, where `function(e_i)` is largest.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> TakeLargestBy(Prime(Range(10)),Mod(#,7)&, 3)
13 | {13,5,19}
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of TakeLargestBy](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L7579)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/java/com/symja/programming/view/popupmenu/OnMenuItemClickListener.java:
--------------------------------------------------------------------------------
1 | package com.symja.programming.view.popupmenu;
2 |
3 | /**
4 | * Interface responsible for receiving menu item click events if the items
5 | * themselves do not have individual item click listeners.
6 | */
7 | public interface OnMenuItemClickListener {
8 | /**
9 | * This method will be invoked when a menu item is clicked if the item
10 | * itself did not already handle the event.
11 | *
12 | * @param item the menu item that was clicked
13 | * @return {@code true} if the event was handled, {@code false}
14 | * otherwise
15 | */
16 | boolean onMenuItemClick(MenuItem item);
17 | }
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/BeginPackage.md:
--------------------------------------------------------------------------------
1 | ## BeginPackage
2 |
3 | ```
4 | BeginPackage("")
5 | ```
6 |
7 | > start a new package definition
8 |
9 | ### Examples
10 |
11 | ```
12 | >> BeginPackage("Test`")
13 |
14 | >> $ContextPath
15 | {Test`,System`}
16 |
17 | >> EndPackage( )
18 |
19 | >> $ContextPath
20 | {Test`,System`,Global`}
21 | ```
22 |
23 |
24 |
25 |
26 |
27 |
28 | ### Implementation status
29 |
30 | * ✅ - full supported
31 |
32 | ### Github
33 |
34 | * [Implementation of BeginPackage](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/FileFunctions.java#L128)
35 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/CosIntegral.md:
--------------------------------------------------------------------------------
1 | ## CosIntegral
2 |
3 | ```
4 | CosIntegral(expr)
5 | ```
6 |
7 | > returns the cosine integral of `expr`.
8 |
9 | See
10 | * [Wikipedia - Trigonometric integral](https://en.wikipedia.org/wiki/Trigonometric_integral)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> CosIntegral(0)
16 | -Infinity
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | ### Implementation status
26 |
27 | * ✅ - full supported
28 |
29 | ### Github
30 |
31 | * [Implementation of CosIntegral](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/HypergeometricFunctions.java#L148)
32 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/PauliMatrix.md:
--------------------------------------------------------------------------------
1 | ## PauliMatrix
2 |
3 | ```
4 | PauliMatrix(n)
5 | ```
6 |
7 | > returns `n`th Pauli spin `2x2` matrix for `n` between `0` and `4`.
8 |
9 | See
10 | * [Wikipedia - Pauli matrices](https://en.wikipedia.org/wiki/Pauli_matrices)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> PauliMatrix(2)
16 | {{0,-I},{I,0}}
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of PauliMatrix](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/LinearAlgebra.java#L4429)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Perimeter.md:
--------------------------------------------------------------------------------
1 | ## Perimeter
2 |
3 | ```
4 | Perimeter(geometric-form)
5 | ```
6 |
7 | > returns the perimeter of the `geometric-form`.
8 |
9 |
10 | See:
11 | * [Wikipedia - Perimeter](https://en.wikipedia.org/wiki/Perimeter)
12 |
13 |
14 | ### Examples
15 |
16 | ```
17 | >> Perimeter(Disk({1,2}))
18 | 2*Pi
19 | ```
20 |
21 |
22 |
23 |
24 |
25 |
26 | ### Implementation status
27 |
28 | * ✅ - full supported
29 |
30 | ### Github
31 |
32 | * [Implementation of Perimeter](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ComputationalGeometryFunctions.java#L389)
33 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Subtract.md:
--------------------------------------------------------------------------------
1 | ## Subtract
2 |
3 | ```
4 | Subtract(a, b)
5 |
6 | a - b
7 | ```
8 |
9 | > represents the subtraction of `b` from `a`.
10 |
11 |
12 | ### Examples
13 |
14 | ```
15 | >> 5 - 3
16 | 2
17 |
18 | >> a - b // FullForm
19 | "Plus(a, Times(-1, b))"
20 |
21 | >> a - b - c
22 | a-b-c
23 |
24 | >> a - (b - c)
25 | a-b+c
26 | ```
27 |
28 |
29 |
30 |
31 |
32 |
33 | ### Implementation status
34 |
35 | * ✅ - full supported
36 |
37 | ### Github
38 |
39 | * [Implementation of Subtract](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/Arithmetic.java#L5585)
40 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/TakeSmallestBy.md:
--------------------------------------------------------------------------------
1 | ## TakeSmallestBy
2 |
3 | ```
4 | TakeSmallestBy({e_1, e_2, ..., e_i}, function, n)
5 | ```
6 |
7 | > returns the `n` values from the list `{e_1, e_2, ..., e_i}`, where `function(e_i)` is smallest.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> TakeSmallestBy(Prime(Range(10)),Mod(#,7)&, 3)
13 | {7,29,2}
14 | ```
15 |
16 |
17 |
18 |
19 |
20 |
21 | ### Implementation status
22 |
23 | * ✅ - full supported
24 |
25 | ### Github
26 |
27 | * [Implementation of TakeSmallestBy](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L7687)
28 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/UpperCaseQ.md:
--------------------------------------------------------------------------------
1 | ## UpperCaseQ
2 |
3 | ```
4 | UpperCaseQ(str)
5 | ```
6 |
7 | > is `True` if the given `str` is a string which only contains upper case characters.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> UpperCaseQ("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
13 | True
14 |
15 | >> UpperCaseQ("ABCDEFGHIJKLMNopqRSTUVWXYZ")
16 | False
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of UpperCaseQ](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/StringFunctions.java#L3212)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/BooleanVariables.md:
--------------------------------------------------------------------------------
1 | ## BooleanVariables
2 |
3 | ```
4 | BooleanVariables(logical-expr)
5 | ```
6 |
7 | > gives a list of the boolean variables that appear in the `logical-expr`.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> BooleanVariables(Xor(p,q,r))
13 | {p,q,r}
14 | ```
15 |
16 | ### Related terms
17 | [Variables](Variables.md)
18 |
19 |
20 |
21 |
22 |
23 |
24 | ### Implementation status
25 |
26 | * ✅ - full supported
27 |
28 | ### Github
29 |
30 | * [Implementation of BooleanVariables](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/BooleanFunctions.java#L1543)
31 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/DensityHistogram.md:
--------------------------------------------------------------------------------
1 | ## DensityHistogram
2 |
3 | ```
4 | DensityHistogram( list-of-pair-values )
5 | ```
6 |
7 | > plot a density histogram for a `list-of-pair-values`
8 |
9 | ### Examples
10 |
11 | ```
12 | >> DensityHistogram({{1, 1}, {2, 2}, {3, 3}, None, {3, 3}, {5, 5}, f(), {2, 2}, {1, 1}, foo, {2, 2}, {3, 3}})
13 | ```
14 |
15 |
16 |
17 |
18 |
19 |
20 | ### Implementation status
21 |
22 | * ✅ - full supported
23 |
24 | ### Github
25 |
26 | * [Implementation of DensityHistogram](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ManipulateFunction.java#L1903)
27 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/DiracDelta.md:
--------------------------------------------------------------------------------
1 | ## DiracDelta
2 |
3 | ```
4 | DiracDelta(x)
5 | ```
6 |
7 | > `DiracDelta` function returns `0` for all real numbers `x` where `x != 0`.
8 |
9 |
10 | ### Examples
11 | ```
12 | >> DiracDelta(-42)
13 | 0
14 | ```
15 |
16 | `DiracDelta` doesn't evaluate for `0`:
17 |
18 | ```
19 | >> DiracDelta(0)
20 | DiracDelta(0)
21 | ```
22 |
23 |
24 |
25 |
26 |
27 |
28 | ### Implementation status
29 |
30 | * ✅ - full supported
31 |
32 | ### Github
33 |
34 | * [Implementation of DiracDelta](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/NumberTheory.java#L1313)
35 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/Insert.md:
--------------------------------------------------------------------------------
1 | ## Insert
2 |
3 | ```
4 | Insert(list, elem, n)
5 | ```
6 |
7 | > inserts `elem` at position `n` in `list`. When `n` is negative, the position is counted from the end.
8 |
9 | ### Examples
10 |
11 | ```
12 | >> Insert({a,b,c,d,e}, x, 3)
13 | {a,b,x,c,d,e}
14 |
15 | >> Insert({a,b,c,d,e}, x, -2)
16 | {a,b,c,d,x,e}
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | ### Implementation status
26 |
27 | * ✅ - full supported
28 |
29 | ### Github
30 |
31 | * [Implementation of Insert](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/ListFunctions.java#L3661)
32 |
--------------------------------------------------------------------------------
/modules/programming/src/main/assets/doc/functions/SinIntegral.md:
--------------------------------------------------------------------------------
1 | ## SinIntegral
2 |
3 | ```
4 | SinIntegral(expr)
5 | ```
6 |
7 | > returns the hyperbolic sine integral of `expr`.
8 |
9 | See
10 | * [Wikipedia - Trigonometric integral](https://en.wikipedia.org/wiki/Trigonometric_integral)
11 |
12 | ### Examples
13 |
14 | ```
15 | >> SinIntegral(0)
16 | 0
17 | ```
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | ### Implementation status
26 |
27 | * ✅ - full supported
28 |
29 | ### Github
30 |
31 | * [Implementation of SinIntegral](https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/builtin/HypergeometricFunctions.java#L1370)
32 |
--------------------------------------------------------------------------------