diff --git a/.gitignore b/.gitignore index e4c2779..ac81f04 100644 --- a/.gitignore +++ b/.gitignore @@ -94,3 +94,4 @@ Network Trash Folder Temporary Items .apdisk .swiftpm/ +Package.resolved diff --git a/.jazzy.yaml b/.jazzy.yaml index 2da6c54..7fcfd4d 100644 --- a/.jazzy.yaml +++ b/.jazzy.yaml @@ -19,12 +19,43 @@ custom_categories: - pi - e - Constant +- name: Algebra + children: + - Expression + - Polynomial +- name: Tables + children: + - Tables + - TablesDataSource + - TablesDelegate + - CellValue +- name: Statistics + children: + - Statistics +- name: Generators + children: + - Collatz + - Fibonacci + - Sieve +- name: Visualisation & Geometry + children: + - Graph + - Point +- name: Matrix & Vectors + children: + - Matrix + - Vector +- name: Cryptography + children: + - RSA + - String + - Data - name: Operations / Functions children: - abs(_:) - ceil(_:) - combinations(_:_:) - - combinationsWithRepititions(_:_:) + - combinationsWithRepetitions(_:_:) - encodeMD5(digest:) - floor(_:) - gcd(_:_:) @@ -42,15 +73,23 @@ custom_categories: - pow(_:_:) - pow(_:_:) - steinGcd(_:_:) -- name: Statistics + - exp(_:) + - factorial(_:) + - gamma(_:) + - inverse(_:_:) + - leastFactor(_:) + - leastFactor(_:) + - ln(_:) + - ln(_:precision:) + - sum(_:) + - sum(_:) +- name: Array manipulation children: - - Statistics -- name: Generators + - Array +- name: Errors children: - - Collatz - - Fibonacci - - Sieve -- name: Algebra Parser + - EvaluationError +- name: Algebra - Advanced children: - Parser - Lexer @@ -58,19 +97,13 @@ custom_categories: - Group - Token - Node + - CellAddressNode - ExpressionNode - ParenthesisNode - ConstantNode - SymbolNode + - StringNode - OperatorNode - FunctionNode - NullNode -- name: Cryptography - children: - - String -- name: Tables - children: - - Tables -- name: Array manipulation - children: - - Array + diff --git a/Sources/Euler/Algebra/Parser/LaTeX.swift b/Sources/Euler/Algebra/Parser/LaTeX.swift index eb5c7ac..cba856c 100644 --- a/Sources/Euler/Algebra/Parser/LaTeX.swift +++ b/Sources/Euler/Algebra/Parser/LaTeX.swift @@ -8,7 +8,7 @@ import Foundation public extension Parser { - /// Initialize Parser with LaTeX + /// Initialize Parser with `$\LaTeX$ convenience init(latex: String) { let math = Parser.LaTeX2Math(latex: latex) self.init("=\(math)", type: .tables, tablesContext: Tables())