From cda409940c5939f1450b01bfd9a3a7f7ddd0df8b Mon Sep 17 00:00:00 2001 From: Arindam Karmakar Date: Mon, 14 Oct 2024 02:27:28 +0530 Subject: [PATCH] Critical bug fixes, feature implementation and project restructure --- README.md | 2 +- .../Conversions/MLMultiArray+NDArray.swift | 14 ++ .../NDArray/Conversions/UIImage+NDArray.swift | 18 ++ .../{Models => Core}/NDArray/NDArray.swift | 56 +++++- .../Core/NDArray/Operations/Arithmetic.swift | 175 ++++++++++++++++++ .../NDArray/Operations/Broadcasting.swift} | 2 +- .../NDArray/Operations/Convenience.swift} | 34 +++- .../NDArray/Operations/Indexing.swift} | 2 +- .../NDArray/Operations/Reshape.swift} | 6 +- .../NDArray/Operations/Statistical.swift} | 2 +- .../NDArray/Operations/Transpose.swift} | 2 +- Sources/SwiftNP/Core/Utils.swift | 45 ++++- .../SwiftNP/Enums/ArithmeticOperation.swift | 18 ++ .../SwiftNP/Extensions/NumericExtension.swift | 47 +++++ .../NDArray/Extensions/ArithmeticExt.swift | 18 -- .../SwiftNP/Protocols/MatrixOperation.swift | 11 ++ .../SwiftNP/Resources/Localizable.xcstrings | 15 +- Tests/SwiftNPTests/SwiftNPTests.swift | 77 +++++++- docs/data/documentation/swiftnp.json | 2 +- .../swiftnp/arithmeticoperation.json | 1 + .../swiftnp/arithmeticoperation/!=(_:_:).json | 1 + .../swiftnp/arithmeticoperation/addition.json | 1 + .../equatable-implementations.json | 1 + .../arithmeticoperation/init(from:).json | 1 + .../arithmeticoperation/subtraction.json | 1 + docs/data/documentation/swiftnp/dtype.json | 2 +- .../documentation/swiftnp/dtype/!=(_:_:).json | 2 +- .../documentation/swiftnp/dtype/cast(_:).json | 2 +- .../documentation/swiftnp/dtype/double.json | 2 +- .../dtype/equatable-implementations.json | 2 +- .../documentation/swiftnp/dtype/float16.json | 2 +- .../documentation/swiftnp/dtype/float32.json | 2 +- .../documentation/swiftnp/dtype/float64.json | 2 +- .../swiftnp/dtype/init(from:).json | 2 +- .../data/documentation/swiftnp/dtype/int.json | 2 +- .../documentation/swiftnp/dtype/int16.json | 2 +- .../documentation/swiftnp/dtype/int32.json | 2 +- .../documentation/swiftnp/dtype/int64.json | 2 +- .../documentation/swiftnp/dtype/int8.json | 2 +- .../documentation/swiftnp/dtype/type.json | 2 +- .../swiftnp/dtype/typeof(_:).json | 2 +- .../documentation/swiftnp/dtype/uint16.json | 2 +- .../documentation/swiftnp/dtype/uint32.json | 2 +- .../documentation/swiftnp/dtype/uint64.json | 2 +- .../documentation/swiftnp/dtype/uint8.json | 2 +- docs/data/documentation/swiftnp/ndarray.json | 2 +- .../swiftnp/ndarray/!=(_:_:).json | 1 + .../swiftnp/ndarray/*(_:_:)-7zs0q.json | 1 + .../swiftnp/ndarray/*(_:_:)-9bupv.json | 1 + .../swiftnp/ndarray/*(_:_:)-9hujx.json | 1 + .../swiftnp/ndarray/+(_:_:).json | 1 + .../swiftnp/ndarray/-(_:_:).json | 1 + .../swiftnp/ndarray/==(_:_:).json | 1 + .../swiftnp/ndarray/_(_:_:)-6qg4x.json | 1 + .../swiftnp/ndarray/_(_:_:)-7clpm.json | 1 + .../swiftnp/ndarray/add(_:).json | 1 - .../swiftnp/ndarray/description.json | 2 +- .../swiftnp/ndarray/divide(_:).json | 1 - .../documentation/swiftnp/ndarray/dtype.json | 2 +- .../ndarray/equatable-implementations.json | 1 + .../init(shape:dtype:defaultvalue:).json | 2 +- .../swiftnp/ndarray/isscalar.json | 2 +- .../swiftnp/ndarray/multiply(_:).json | 1 - .../documentation/swiftnp/ndarray/ndim.json | 2 +- .../swiftnp/ndarray/reshape(to:order:).json | 2 +- .../documentation/swiftnp/ndarray/shape.json | 2 +- .../documentation/swiftnp/ndarray/size.json | 2 +- .../swiftnp/ndarray/subtract(_:).json | 1 - .../swiftnp/ndarray/tostring().json | 2 +- .../documentation/swiftnp/reshapeorder.json | 2 +- .../swiftnp/reshapeorder/!=(_:_:).json | 2 +- .../documentation/swiftnp/reshapeorder/c.json | 2 +- .../swiftnp/reshapeorder/encode(to:).json | 2 +- .../equatable-implementations.json | 2 +- .../documentation/swiftnp/reshapeorder/f.json | 2 +- .../swiftnp/reshapeorder/hash(into:).json | 2 +- .../swiftnp/reshapeorder/hashvalue.json | 2 +- .../swiftnp/reshapeorder/init(from:).json | 2 +- .../swiftnp/reshapeorder/init(rawvalue:).json | 2 +- .../rawrepresentable-implementations.json | 2 +- docs/data/documentation/swiftnp/shape.json | 2 +- docs/data/documentation/swiftnp/snp.json | 2 +- docs/data/documentation/swiftnp/snperror.json | 2 +- .../swiftnp/snperror/assertionerror(_:).json | 2 +- .../swiftnp/snperror/description.json | 2 +- .../snperror/error-implementations.json | 2 +- .../snperror/floatingpointerror(_:).json | 2 +- .../swiftnp/snperror/indexerror(_:).json | 2 +- .../snperror/localizeddescription.json | 2 +- .../swiftnp/snperror/memoryerror(_:).json | 2 +- .../swiftnp/snperror/shapeerror(_:).json | 2 +- .../swiftnp/snperror/typeerror(_:).json | 2 +- .../swiftnp/snperror/valueerror(_:).json | 2 +- docs/data/documentation/swiftnp/swift.json | 2 +- .../documentation/swiftnp/swift/array.json | 2 +- .../swiftnp/swift/array/ishomogeneous.json | 2 +- .../data/documentation/swiftnp/swift/int.json | 2 +- .../swiftnp/swift/int/isfinite.json | 2 +- .../documentation/swiftnp/swift/numeric.json | 1 + .../swiftnp/swift/numeric/nsnumber.json | 1 + .../documentation/swiftnp/swift/string.json | 2 +- .../swift/string/custom(key:args:).json | 2 +- docs/data/documentation/swiftnp/swiftnp.json | 2 +- .../swiftnp/swiftnp/ndarray(_:).json | 2 +- .../swiftnp/swiftnp/ones(shape:).json | 2 +- .../swiftnp/swiftnp/zeros(shape:).json | 2 +- docs/data/documentation/swiftnp/utils.json | 1 - .../utils/conformstoshape(array:shape:).json | 1 - .../swiftnp/utils/flatten(_:).json | 1 - .../swiftnp/utils/infershape(from:).json | 1 - .../!=(_:_:)}/index.html | 0 .../addition}/index.html | 0 .../equatable-implementations}/index.html | 0 .../index.html | 0 .../init(from:)}/index.html | 0 .../subtraction}/index.html | 0 .../{utils => ndarray/!=(_:_:)}/index.html | 0 .../*(_:_:)-7zs0q}/index.html | 0 .../swiftnp/ndarray/*(_:_:)-9bupv/index.html | 1 + .../swiftnp/ndarray/*(_:_:)-9hujx/index.html | 1 + .../swiftnp/ndarray/+(_:_:)/index.html | 1 + .../swiftnp/ndarray/-(_:_:)/index.html | 1 + .../swiftnp/ndarray/==(_:_:)/index.html | 1 + .../swiftnp/ndarray/_(_:_:)-6qg4x/index.html | 1 + .../swiftnp/ndarray/_(_:_:)-7clpm/index.html | 1 + .../equatable-implementations/index.html | 1 + .../swiftnp/swift/numeric/index.html | 1 + .../swiftnp/swift/numeric/nsnumber/index.html | 1 + docs/index/index.json | 2 +- 129 files changed, 598 insertions(+), 116 deletions(-) create mode 100644 Sources/SwiftNP/Core/NDArray/Conversions/MLMultiArray+NDArray.swift create mode 100644 Sources/SwiftNP/Core/NDArray/Conversions/UIImage+NDArray.swift rename Sources/SwiftNP/{Models => Core}/NDArray/NDArray.swift (58%) create mode 100644 Sources/SwiftNP/Core/NDArray/Operations/Arithmetic.swift rename Sources/SwiftNP/{Models/NDArray/Extensions/TransposeExt.swift => Core/NDArray/Operations/Broadcasting.swift} (83%) rename Sources/SwiftNP/{Models/NDArray/Extensions/ConvenienceExt.swift => Core/NDArray/Operations/Convenience.swift} (80%) rename Sources/SwiftNP/{Models/NDArray/Extensions/IndexingExt.swift => Core/NDArray/Operations/Indexing.swift} (83%) rename Sources/SwiftNP/{Models/NDArray/Extensions/ReshapeExt.swift => Core/NDArray/Operations/Reshape.swift} (96%) rename Sources/SwiftNP/{Models/NDArray/Extensions/StatisticalExt.swift => Core/NDArray/Operations/Statistical.swift} (82%) rename Sources/SwiftNP/{Models/NDArray/Extensions/BroadcastingExt.swift => Core/NDArray/Operations/Transpose.swift} (81%) create mode 100644 Sources/SwiftNP/Enums/ArithmeticOperation.swift create mode 100644 Sources/SwiftNP/Extensions/NumericExtension.swift delete mode 100644 Sources/SwiftNP/Models/NDArray/Extensions/ArithmeticExt.swift create mode 100644 Sources/SwiftNP/Protocols/MatrixOperation.swift create mode 100644 docs/data/documentation/swiftnp/arithmeticoperation.json create mode 100644 docs/data/documentation/swiftnp/arithmeticoperation/!=(_:_:).json create mode 100644 docs/data/documentation/swiftnp/arithmeticoperation/addition.json create mode 100644 docs/data/documentation/swiftnp/arithmeticoperation/equatable-implementations.json create mode 100644 docs/data/documentation/swiftnp/arithmeticoperation/init(from:).json create mode 100644 docs/data/documentation/swiftnp/arithmeticoperation/subtraction.json create mode 100644 docs/data/documentation/swiftnp/ndarray/!=(_:_:).json create mode 100644 docs/data/documentation/swiftnp/ndarray/*(_:_:)-7zs0q.json create mode 100644 docs/data/documentation/swiftnp/ndarray/*(_:_:)-9bupv.json create mode 100644 docs/data/documentation/swiftnp/ndarray/*(_:_:)-9hujx.json create mode 100644 docs/data/documentation/swiftnp/ndarray/+(_:_:).json create mode 100644 docs/data/documentation/swiftnp/ndarray/-(_:_:).json create mode 100644 docs/data/documentation/swiftnp/ndarray/==(_:_:).json create mode 100644 docs/data/documentation/swiftnp/ndarray/_(_:_:)-6qg4x.json create mode 100644 docs/data/documentation/swiftnp/ndarray/_(_:_:)-7clpm.json delete mode 100644 docs/data/documentation/swiftnp/ndarray/add(_:).json delete mode 100644 docs/data/documentation/swiftnp/ndarray/divide(_:).json create mode 100644 docs/data/documentation/swiftnp/ndarray/equatable-implementations.json delete mode 100644 docs/data/documentation/swiftnp/ndarray/multiply(_:).json delete mode 100644 docs/data/documentation/swiftnp/ndarray/subtract(_:).json create mode 100644 docs/data/documentation/swiftnp/swift/numeric.json create mode 100644 docs/data/documentation/swiftnp/swift/numeric/nsnumber.json delete mode 100644 docs/data/documentation/swiftnp/utils.json delete mode 100644 docs/data/documentation/swiftnp/utils/conformstoshape(array:shape:).json delete mode 100644 docs/data/documentation/swiftnp/utils/flatten(_:).json delete mode 100644 docs/data/documentation/swiftnp/utils/infershape(from:).json rename docs/documentation/swiftnp/{ndarray/add(_:) => arithmeticoperation/!=(_:_:)}/index.html (100%) rename docs/documentation/swiftnp/{ndarray/divide(_:) => arithmeticoperation/addition}/index.html (100%) rename docs/documentation/swiftnp/{ndarray/multiply(_:) => arithmeticoperation/equatable-implementations}/index.html (100%) rename docs/documentation/swiftnp/{ndarray/subtract(_:) => arithmeticoperation}/index.html (100%) rename docs/documentation/swiftnp/{utils/conformstoshape(array:shape:) => arithmeticoperation/init(from:)}/index.html (100%) rename docs/documentation/swiftnp/{utils/flatten(_:) => arithmeticoperation/subtraction}/index.html (100%) rename docs/documentation/swiftnp/{utils => ndarray/!=(_:_:)}/index.html (100%) rename docs/documentation/swiftnp/{utils/infershape(from:) => ndarray/*(_:_:)-7zs0q}/index.html (100%) create mode 100644 docs/documentation/swiftnp/ndarray/*(_:_:)-9bupv/index.html create mode 100644 docs/documentation/swiftnp/ndarray/*(_:_:)-9hujx/index.html create mode 100644 docs/documentation/swiftnp/ndarray/+(_:_:)/index.html create mode 100644 docs/documentation/swiftnp/ndarray/-(_:_:)/index.html create mode 100644 docs/documentation/swiftnp/ndarray/==(_:_:)/index.html create mode 100644 docs/documentation/swiftnp/ndarray/_(_:_:)-6qg4x/index.html create mode 100644 docs/documentation/swiftnp/ndarray/_(_:_:)-7clpm/index.html create mode 100644 docs/documentation/swiftnp/ndarray/equatable-implementations/index.html create mode 100644 docs/documentation/swiftnp/swift/numeric/index.html create mode 100644 docs/documentation/swiftnp/swift/numeric/nsnumber/index.html diff --git a/README.md b/README.md index ad474bc..3467ae1 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Add the following to your `Package.swift` file: ```swift dependencies: [ - .package(url: "https://github.com/k-arindam/SwiftNP", from: "0.0.2") + .package(url: "https://github.com/k-arindam/SwiftNP", from: "0.0.3") ] ``` diff --git a/Sources/SwiftNP/Core/NDArray/Conversions/MLMultiArray+NDArray.swift b/Sources/SwiftNP/Core/NDArray/Conversions/MLMultiArray+NDArray.swift new file mode 100644 index 0000000..b29abc2 --- /dev/null +++ b/Sources/SwiftNP/Core/NDArray/Conversions/MLMultiArray+NDArray.swift @@ -0,0 +1,14 @@ +// +// MLMultiArray+NDArray.swift +// SwiftNP +// +// Created by Arindam Karmakar on 13/10/24. +// + +import Foundation +import CoreML + + +public extension MLMultiArray {} + +public extension NDArray {} diff --git a/Sources/SwiftNP/Core/NDArray/Conversions/UIImage+NDArray.swift b/Sources/SwiftNP/Core/NDArray/Conversions/UIImage+NDArray.swift new file mode 100644 index 0000000..253b66b --- /dev/null +++ b/Sources/SwiftNP/Core/NDArray/Conversions/UIImage+NDArray.swift @@ -0,0 +1,18 @@ +// +// UIImage+NDArray.swift +// SwiftNP +// +// Created by Arindam Karmakar on 13/10/24. +// + +import Foundation + +#if canImport(UIKit) + +import UIKit + +public extension UIImage {} + +public extension NDArray {} + +#endif diff --git a/Sources/SwiftNP/Models/NDArray/NDArray.swift b/Sources/SwiftNP/Core/NDArray/NDArray.swift similarity index 58% rename from Sources/SwiftNP/Models/NDArray/NDArray.swift rename to Sources/SwiftNP/Core/NDArray/NDArray.swift index dccd490..4b7fdf4 100644 --- a/Sources/SwiftNP/Models/NDArray/NDArray.swift +++ b/Sources/SwiftNP/Core/NDArray/NDArray.swift @@ -9,7 +9,28 @@ import Foundation /// A class representing a multi-dimensional array (NDArray) in the SwiftNP framework. /// This class conforms to CustomStringConvertible for custom string representation. -public final class NDArray: CustomStringConvertible { +public final class NDArray: Equatable, CustomStringConvertible { + + /// Compares two NDArray instances for equality. + /// + /// - Parameters: + /// - lhs: The left-hand side NDArray to compare. + /// - rhs: The right-hand side NDArray to compare. + /// - Returns: A boolean indicating whether the two NDArray instances are equal. + /// - Two NDArray instances are considered equal if they have the same shape, + /// the same data type, and their flattened data arrays are equal. + public static func == (lhs: NDArray, rhs: NDArray) -> Bool { + guard lhs.shape == rhs.shape else { return false } + + guard lhs.dtype == rhs.dtype else { return false } + + if let lhsData = try? lhs.flattenedData(), + let rhsData = try? rhs.flattenedData() { + return Utils.equalArray(lhsData, rhsData) + } + + return false + } /// A string representation of the NDArray, displaying its data. public var description: String { "\(data)" } @@ -79,6 +100,39 @@ public final class NDArray: CustomStringConvertible { return NDArray(repeating: repeating, count: shape.first!, dtype: dtype) // Create NDArray with repeated values } + /// Returns the flattened data of the NDArray as an array of numeric values. + /// + /// - Throws: `SNPError.typeError` if any element is not a numeric type. + internal func flattenedData() throws(SNPError) -> [any Numeric] { + /// A recursive function to flatten the NDArray. + /// + /// - Parameter array: The NDArray to be flattened. + /// - Throws: `SNPError.typeError` if any element is not a numeric type. + func flatten(_ array: NDArray) throws(SNPError) -> [any Numeric] { + var flattened = [any Numeric]() // Initialize an empty array to hold the flattened values + + // Iterate over each element in the NDArray's data + for element in array.data { + // If the element is another NDArray, recursively flatten it + if let element = element as? NDArray { + flattened.append(contentsOf: try flatten(element)) + } + // If the element is a numeric type, add it to the flattened array + else if let element = element as? any Numeric { + flattened.append(element) + } + // If the element is neither, throw a type error + else { + throw SNPError.typeError(.custom(key: "UnknownDType")) + } + } + + return flattened // Return the flattened array + } + + return try flatten(self) // Call the flatten function on the current NDArray + } + /// Returns a string representation of the NDArray including its shape, dtype, and data. public func toString() -> String { "SwiftNP.NDArray ----->>> shape: \(shape), dtype: \(dtype), data: \(description)" diff --git a/Sources/SwiftNP/Core/NDArray/Operations/Arithmetic.swift b/Sources/SwiftNP/Core/NDArray/Operations/Arithmetic.swift new file mode 100644 index 0000000..6c6d2d9 --- /dev/null +++ b/Sources/SwiftNP/Core/NDArray/Operations/Arithmetic.swift @@ -0,0 +1,175 @@ +// +// Arithmetic.swift +// SwiftNP +// +// Created by Arindam Karmakar on 13/10/24. +// + +import Foundation + +extension NDArray { + /// Adds two NDArrays element-wise + /// - Parameters: + /// - lhs: The left-hand side NDArray in the addition. + /// - rhs: The right-hand side NDArray in the addition. + /// - Returns: A new NDArray representing the result of element-wise addition. + /// - Throws: SNPError if the shapes of the NDArrays are incompatible. + public static func +(lhs: NDArray, rhs: NDArray) throws(SNPError) -> NDArray { try lhs.arithmeticOperation(rhs, ops: .addition) } + + /// Subtracts two NDArrays element-wise + /// - Parameters: + /// - lhs: The left-hand side NDArray in the subtraction. + /// - rhs: The right-hand side NDArray in the subtraction. + /// - Returns: A new NDArray representing the result of element-wise subtraction. + /// - Throws: SNPError if the shapes of the NDArrays are incompatible. + public static func -(lhs: NDArray, rhs: NDArray) throws(SNPError) -> NDArray { try lhs.arithmeticOperation(rhs, ops: .subtraction) } + + /// Multiplies two NDArrays element-wise + /// - Parameters: + /// - lhs: The left-hand side NDArray in the multiplication. + /// - rhs: The right-hand side NDArray in the multiplication. + /// - Returns: A new NDArray representing the result of element-wise multiplication. + /// - Throws: SNPError if the shapes of the NDArrays are incompatible. + public static func *(lhs: NDArray, rhs: NDArray) throws(SNPError) -> NDArray { try lhs.multiply(rhs) } + + /// Multiplies an NDArray by a scalar + /// - Parameters: + /// - lhs: The NDArray to be multiplied. + /// - scalar: The scalar value to multiply each element by. + /// - Returns: A new NDArray with each element multiplied by the scalar. + /// - Throws: SNPError in case of computation errors. + public static func *(lhs: NDArray, scalar: Double) throws(SNPError) -> NDArray { try lhs.multiply(scalar) } + + /// Multiplies an NDArray by a scalar + /// - Parameters: + /// - scalar: The scalar value to multiply each element by. + /// - rhs: The NDArray to be multiplied. + /// - Returns: A new NDArray with each element multiplied by the scalar. + /// - Throws: SNPError in case of computation errors. + public static func *(scalar: Double, rhs: NDArray) throws(SNPError) -> NDArray { try rhs.multiply(scalar) } + + /// Divides two NDArrays element-wise + /// - Parameters: + /// - lhs: The left-hand side NDArray in the division. + /// - rhs: The right-hand side NDArray in the division. + /// - Returns: A new NDArray representing the result of element-wise division. + /// - Throws: SNPError if the shapes of the NDArrays are incompatible. + public static func /(lhs: NDArray, rhs: NDArray) throws(SNPError) -> NDArray { try lhs.divide(rhs) } + + /// Divides an NDArray by a scalar + /// - Parameters: + /// - lhs: The NDArray to be divided. + /// - scalar: The scalar value to divide each element by. + /// - Returns: A new NDArray with each element divided by the scalar. + /// - Throws: SNPError in case of computation errors. + public static func /(lhs: NDArray, scalar: Double) throws(SNPError) -> NDArray { try lhs.divide(scalar) } + + /// Performs an arithmetic operation (addition or subtraction) between the current NDArray instance and another NDArray. + /// + /// - Parameters: + /// - other: The NDArray to perform the operation with. + /// - ops: The arithmetic operation to perform (addition or subtraction). + /// - Throws: + /// - `SNPError.indexError` if the shapes of the two NDArray instances do not match. + /// - `SNPError.typeError` if the data type cannot be determined or if an unknown data type is encountered. + /// - Returns: A new NDArray resulting from the specified arithmetic operation between the two NDArray instances. + private func arithmeticOperation(_ other: NDArray, ops: ArithmeticOperation) throws(SNPError) -> NDArray { + // Ensure both NDArray instances have the same shape. + guard self.shape == other.shape else { throw SNPError.indexError(.custom(key: "SameShapeRequired")) } + + // Determine the appropriate data type for the result. + var dtype: DType = .float64 + if self.dtype == other.dtype { + dtype = self.dtype + } + + // Flatten the data from both NDArray instances for element-wise operations. + var flatArrayLHS = try self.flattenedData() + let flatArrayRHS = try other.flattenedData() + + // Iterate over the flattened arrays to perform the specified operation. + for (index, element) in flatArrayLHS.enumerated() { + let lhs = element + let rhs = flatArrayRHS[index] + + // Initialize a variable to hold the result of the operation. + var result: NSNumber = 0 + + // Perform addition or subtraction based on the specified operation. + if ops == .addition { + result = NSNumber(value: lhs.nsnumber.doubleValue + rhs.nsnumber.doubleValue) + } else if ops == .subtraction { + result = NSNumber(value: lhs.nsnumber.doubleValue - rhs.nsnumber.doubleValue) + } + + // Cast the result to the appropriate data type and update the flattened array. + if let casted = dtype.cast(result) { + flatArrayLHS[index] = casted + } else { + throw SNPError.typeError(.custom(key: "UnknownDTypeOf", args: ["\(element)"])) + } + } + + // Create a new NDArray from the flattened results and reshape it to the original shape. + return try NDArray(shape: self.shape, dtype: dtype, data: flatArrayLHS).reshape(to: self.shape) + } + + private func multiply(_ other: NDArray) throws(SNPError) -> NDArray { other } + + /// Multiplies the NDArray by a scalar value element-wise. + /// + /// - Parameter scalar: The scalar value to multiply each element in the NDArray by. + /// - Returns: A new NDArray with each element multiplied by the scalar. + /// - Throws: SNPError in case of invalid types or if the operation fails. + private func multiply(_ scalar: Double) throws(SNPError) -> NDArray { + + /// A recursive helper function that multiplies each element of the input (which could be a scalar or a nested array) + /// by the specified scalar. + /// + /// - Parameters: + /// - input: The input which could be an NSNumber, NDArray, or an array of elements. + /// - scalar: The scalar value to multiply each element by. + /// - Returns: The result of element-wise multiplication as a new array or scalar. + /// - Throws: SNPError if the input type is unsupported or if an element cannot be processed. + func multiplyByScalar(_ input: Any, scalar: Double) throws(SNPError) -> Any { + // Check if the input is an NSNumber (a numeric type) + if let numeric = input as? NSNumber { + let doubleValue = Double(truncating: numeric) // Convert to Double + return doubleValue * scalar // Multiply by scalar + } + // Check if the input is an array (could be multi-dimensional) + else if let array = input as? [Any] { + do { + // Recursively apply multiplication to each element in the array + return try array.map { element in + if let ndarray = element as? NDArray { + // If the element is an NDArray, apply scalar multiplication recursively to its data + return try multiplyByScalar(ndarray.data, scalar: scalar) + } else { + // If it's not an NDArray, treat it as an individual element + return try multiplyByScalar(element, scalar: scalar) + } + } + } catch { + throw SNPError.typeError(.custom(key: "UnknownDType")) + } + } else { + // If the input type is unsupported, throw an error + throw SNPError.typeError(.custom(key: "UnknownDType")) + } + } + + // Perform element-wise scalar multiplication on the NDArray's data + guard let result = try multiplyByScalar(self.data, scalar: scalar) as? [Any] else { + // Ensure that the result is of the expected array type, else throw an error + throw SNPError.assertionError(.custom(key: "CreateUnsuccessful")) + } + + // Return a new NDArray with the multiplied data, retaining the original shape and dtype + return try NDArray(array: result) + } + + private func divide(_ other: NDArray) throws(SNPError) -> NDArray { other } + + private func divide(_ scalar: Double) throws(SNPError) -> NDArray { self } +} diff --git a/Sources/SwiftNP/Models/NDArray/Extensions/TransposeExt.swift b/Sources/SwiftNP/Core/NDArray/Operations/Broadcasting.swift similarity index 83% rename from Sources/SwiftNP/Models/NDArray/Extensions/TransposeExt.swift rename to Sources/SwiftNP/Core/NDArray/Operations/Broadcasting.swift index 52aa0e5..663e7a9 100644 --- a/Sources/SwiftNP/Models/NDArray/Extensions/TransposeExt.swift +++ b/Sources/SwiftNP/Core/NDArray/Operations/Broadcasting.swift @@ -1,5 +1,5 @@ // -// TransposeExt.swift +// Broadcasting.swift // SwiftNP // // Created by Arindam Karmakar on 13/10/24. diff --git a/Sources/SwiftNP/Models/NDArray/Extensions/ConvenienceExt.swift b/Sources/SwiftNP/Core/NDArray/Operations/Convenience.swift similarity index 80% rename from Sources/SwiftNP/Models/NDArray/Extensions/ConvenienceExt.swift rename to Sources/SwiftNP/Core/NDArray/Operations/Convenience.swift index 7cb4351..cf708d0 100644 --- a/Sources/SwiftNP/Models/NDArray/Extensions/ConvenienceExt.swift +++ b/Sources/SwiftNP/Core/NDArray/Operations/Convenience.swift @@ -1,5 +1,5 @@ // -// File.swift +// Convenience.swift // SwiftNP // // Created by Arindam Karmakar on 11/10/24. @@ -53,8 +53,9 @@ extension NDArray { /// Initializes an NDArray from a Swift array of any type. /// /// - Parameter array: A Swift array containing elements of any type (e.g., Int, Float, etc.). - /// - Precondition: The shape inferred from the array must match the number of elements. - /// - Throws: `SNPError.indexError` if the array is empty, `SNPError.shapeError` if the array has an inhomogeneous shape, and `SNPError.assertionError` if dtype cannot be determined. + /// - Throws: `SNPError.indexError` if the array is empty, + /// `SNPError.shapeError` if the array has an inhomogeneous shape, + /// and `SNPError.assertionError` if dtype cannot be determined. internal convenience init(array: [Any]) throws(SNPError) { // Ensure the array is not empty. If it is, throw an index error. @@ -84,8 +85,33 @@ extension NDArray { throw SNPError.typeError(.custom(key: "UnknownDType")) } + // A recursive function to map the original array to the appropriate NDArray format. + func map(array: [Any]) throws(SNPError) -> Any { + // Handle one-dimensional arrays of numeric values + if let array = array as? [any Numeric] { + return NDArray(shape: [array.count], dtype: dtype, data: array) + } + // Handle two-dimensional arrays + else if let array = array as? [[Any]] { + do { + let inferredShape = Utils.inferShape(from: array) // Re-infer shape for nested arrays + return NDArray(shape: inferredShape, dtype: dtype, data: try array.map { try map(array: $0) }) + } catch { + throw SNPError.typeError(.custom(key: "UnknownDType")) + } + } + // If the input type is unsupported, throw an error + else { + throw SNPError.typeError(.custom(key: "UnknownDType")) + } + } + // Initialize the NDArray with the inferred shape, detected dtype, and original array data. - self.init(shape: inferredShape, dtype: dtype, data: array) + if let ndarray = try map(array: array) as? NDArray { + self.init(shape: inferredShape, dtype: dtype, data: ndarray.data) + } else { + throw SNPError.assertionError(.custom(key: "CreateUnsuccessful")) + } } /// Initializes an NDArray by repeating a value a specified number of times. diff --git a/Sources/SwiftNP/Models/NDArray/Extensions/IndexingExt.swift b/Sources/SwiftNP/Core/NDArray/Operations/Indexing.swift similarity index 83% rename from Sources/SwiftNP/Models/NDArray/Extensions/IndexingExt.swift rename to Sources/SwiftNP/Core/NDArray/Operations/Indexing.swift index 4affa7b..7474680 100644 --- a/Sources/SwiftNP/Models/NDArray/Extensions/IndexingExt.swift +++ b/Sources/SwiftNP/Core/NDArray/Operations/Indexing.swift @@ -1,5 +1,5 @@ // -// IndexingExt.swift +// Indexing.swift // SwiftNP // // Created by Arindam Karmakar on 13/10/24. diff --git a/Sources/SwiftNP/Models/NDArray/Extensions/ReshapeExt.swift b/Sources/SwiftNP/Core/NDArray/Operations/Reshape.swift similarity index 96% rename from Sources/SwiftNP/Models/NDArray/Extensions/ReshapeExt.swift rename to Sources/SwiftNP/Core/NDArray/Operations/Reshape.swift index 6af6bdf..dc0837a 100644 --- a/Sources/SwiftNP/Models/NDArray/Extensions/ReshapeExt.swift +++ b/Sources/SwiftNP/Core/NDArray/Operations/Reshape.swift @@ -1,5 +1,5 @@ // -// ReshapeExt.swift +// Reshape.swift // SwiftNP // // Created by Arindam Karmakar on 13/10/24. @@ -22,7 +22,7 @@ public extension NDArray { } // Flatten the current data for easy reshaping - let flattenedArray = Utils.flatten(self.data) + let flattenedArray = try self.flattenedData() let totalSize = shape.reduce(1, *) // Calculate the total size of the new shape // Check if the total size matches the number of elements in the flattened array @@ -96,6 +96,6 @@ public extension NDArray { } // Return the reshaped NDArray - return NDArray(shape: shape, dtype: self.dtype, data: reshapedArray) + return try NDArray(array: reshapedArray) } } diff --git a/Sources/SwiftNP/Models/NDArray/Extensions/StatisticalExt.swift b/Sources/SwiftNP/Core/NDArray/Operations/Statistical.swift similarity index 82% rename from Sources/SwiftNP/Models/NDArray/Extensions/StatisticalExt.swift rename to Sources/SwiftNP/Core/NDArray/Operations/Statistical.swift index 72aad05..8f2c865 100644 --- a/Sources/SwiftNP/Models/NDArray/Extensions/StatisticalExt.swift +++ b/Sources/SwiftNP/Core/NDArray/Operations/Statistical.swift @@ -1,5 +1,5 @@ // -// StatisticalExt.swift +// Statistical.swift // SwiftNP // // Created by Arindam Karmakar on 13/10/24. diff --git a/Sources/SwiftNP/Models/NDArray/Extensions/BroadcastingExt.swift b/Sources/SwiftNP/Core/NDArray/Operations/Transpose.swift similarity index 81% rename from Sources/SwiftNP/Models/NDArray/Extensions/BroadcastingExt.swift rename to Sources/SwiftNP/Core/NDArray/Operations/Transpose.swift index 02d9144..29937cd 100644 --- a/Sources/SwiftNP/Models/NDArray/Extensions/BroadcastingExt.swift +++ b/Sources/SwiftNP/Core/NDArray/Operations/Transpose.swift @@ -1,5 +1,5 @@ // -// BroadcastingExt.swift +// Transpose.swift // SwiftNP // // Created by Arindam Karmakar on 13/10/24. diff --git a/Sources/SwiftNP/Core/Utils.swift b/Sources/SwiftNP/Core/Utils.swift index 8fa997d..a5a7f19 100644 --- a/Sources/SwiftNP/Core/Utils.swift +++ b/Sources/SwiftNP/Core/Utils.swift @@ -8,8 +8,8 @@ import Foundation /// A utility class that provides helper functions and methods for the SwiftNP framework. -/// This class is declared as public and final, meaning it cannot be subclassed and is accessible from outside its defining module. -public final class Utils { +/// This class is declared as internal and final, meaning it cannot be subclassed and is not accessible from outside its defining module. +internal final class Utils { /// Infers the shape of a nested array structure. /// /// - Parameter array: An array that can contain elements of any type, potentially including nested arrays. @@ -21,7 +21,7 @@ public final class Utils { /// let result = inferShape(from: nestedArray) // result could represent a shape like [2, 3] /// /// - Complexity: O(d), where d is the depth of the nested structure. - public static func inferShape(from array: [T]) -> Shape { + internal static func inferShape(from array: [T]) -> Shape { var shape = Shape() // Initialize a Shape object to store dimensions var currentArray: Any = array // Start with the input array @@ -46,7 +46,7 @@ public final class Utils { /// let result = flatten(nestedArray) // result will be [1, 2, 3, 4, 5, 6] /// /// - Complexity: O(n), where n is the total number of elements across all nested arrays. - public static func flatten(_ array: [T]) -> [Any] { + internal static func flatten(_ array: [T]) -> [Any] { var flattened = [Any]() // Initialize an empty array to hold flattened elements for element in array { @@ -75,7 +75,7 @@ public final class Utils { /// let result = conformsToShape(array: array, shape: shape) // result will be true /// /// - Complexity: O(n), where n is the total number of elements in the array. - public static func conformsToShape(array: [Any], shape: Shape) -> Bool { + internal static func conformsToShape(array: [Any], shape: Shape) -> Bool { // Helper function to recursively check if the array conforms to the given shape at each level func verifyShape(_ array: Any, shape: [Int], level: Int = 0) -> Bool { if level >= shape.count { @@ -102,4 +102,39 @@ public final class Utils { return verifyShape(array, shape: shape) } + /// Compares two arrays (or nested arrays) for equality. + /// + /// - Parameters: + /// - array1: The first array or element to compare. + /// - array2: The second array or element to compare. + /// - Returns: A boolean indicating whether the two arrays (or elements) are equal. + /// + /// This function checks if both inputs are of the same type. + /// If both are arrays, it compares their counts and recursively compares their elements. + /// If they are not arrays, it compares their string representations for equality. + internal static func equalArray(_ array1: Any, _ array2: Any) -> Bool { + // Check if both are of the same type + guard type(of: array1) == type(of: array2) else { + return false + } + + if let array1 = array1 as? [Any], let array2 = array2 as? [Any] { + // If both are arrays, compare their counts + guard array1.count == array2.count else { + return false + } + + // Compare each element + for (element1, element2) in zip(array1, array2) { + if !equalArray(element1, element2) { + return false + } + } + + return true + } + + // If they are not arrays, compare them directly + return "\(array1)" == "\(array2)" + } } diff --git a/Sources/SwiftNP/Enums/ArithmeticOperation.swift b/Sources/SwiftNP/Enums/ArithmeticOperation.swift new file mode 100644 index 0000000..a5d71e2 --- /dev/null +++ b/Sources/SwiftNP/Enums/ArithmeticOperation.swift @@ -0,0 +1,18 @@ +// +// ArithmeticOperation.swift +// SwiftNP +// +// Created by Arindam Karmakar on 14/10/24. +// + +import Foundation + +/// An enumeration representing arithmetic operations that can be performed on matrices (NDArray). +public enum ArithmeticOperation: MatrixOperation, Codable, CaseIterable { + + /// Represents the addition operation between two NDArray instances. + case addition + + /// Represents the subtraction operation between two NDArray instances. + case subtraction +} diff --git a/Sources/SwiftNP/Extensions/NumericExtension.swift b/Sources/SwiftNP/Extensions/NumericExtension.swift new file mode 100644 index 0000000..3442186 --- /dev/null +++ b/Sources/SwiftNP/Extensions/NumericExtension.swift @@ -0,0 +1,47 @@ +// +// NumericExtension.swift +// SwiftNP +// +// Created by Arindam Karmakar on 13/10/24. +// + +import Foundation + +public extension Numeric { + var nsnumber: NSNumber { + switch self { + case let intValue as Int: + return NSNumber(value: intValue) + case let int8Value as Int8: + return NSNumber(value: int8Value) + case let int16Value as Int16: + return NSNumber(value: int16Value) + case let int32Value as Int32: + return NSNumber(value: int32Value) + case let int64Value as Int64: + return NSNumber(value: int64Value) + case let uintValue as UInt: + return NSNumber(value: uintValue) + case let uint8Value as UInt8: + return NSNumber(value: uint8Value) + case let uint16Value as UInt16: + return NSNumber(value: uint16Value) + case let uint32Value as UInt32: + return NSNumber(value: uint32Value) + case let uint64Value as UInt64: + return NSNumber(value: uint64Value) + case let floatValue as Float: + return NSNumber(value: floatValue) + case let floatValue as Float16: + return NSNumber(value: Float(exactly: floatValue)!) + case let floatValue as Float32: + return NSNumber(value: floatValue) + case let floatValue as Float64: + return NSNumber(value: floatValue) + case let doubleValue as Double: + return NSNumber(value: doubleValue) + default: + fatalError("Unsupported numeric type") + } + } +} diff --git a/Sources/SwiftNP/Models/NDArray/Extensions/ArithmeticExt.swift b/Sources/SwiftNP/Models/NDArray/Extensions/ArithmeticExt.swift deleted file mode 100644 index f58017b..0000000 --- a/Sources/SwiftNP/Models/NDArray/Extensions/ArithmeticExt.swift +++ /dev/null @@ -1,18 +0,0 @@ -// -// ArithmeticExt.swift -// SwiftNP -// -// Created by Arindam Karmakar on 13/10/24. -// - -import Foundation - -public extension NDArray { - func add(_ other: NDArray) -> NDArray? { nil } - - func subtract(_ other: NDArray) -> NDArray? { nil } - - func multiply(_ other: NDArray) -> NDArray? { nil } - - func divide(_ other: NDArray) -> NDArray? { nil } -} diff --git a/Sources/SwiftNP/Protocols/MatrixOperation.swift b/Sources/SwiftNP/Protocols/MatrixOperation.swift new file mode 100644 index 0000000..4057d6b --- /dev/null +++ b/Sources/SwiftNP/Protocols/MatrixOperation.swift @@ -0,0 +1,11 @@ +// +// MatrixOperation.swift +// SwiftNP +// +// Created by Arindam Karmakar on 14/10/24. +// + +import Foundation + +/// A protocol representing operations that can be performed on matrices. +protocol MatrixOperation {} diff --git a/Sources/SwiftNP/Resources/Localizable.xcstrings b/Sources/SwiftNP/Resources/Localizable.xcstrings index 8ab081c..af1f196 100644 --- a/Sources/SwiftNP/Resources/Localizable.xcstrings +++ b/Sources/SwiftNP/Resources/Localizable.xcstrings @@ -51,7 +51,18 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Cannot reshape array of size %@ into shape %@." + "value" : "cannot reshape array of size %@ into shape %@." + } + } + } + }, + "SameShapeRequired" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "shapes of both the NDArrays must match." } } } @@ -73,7 +84,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Unable to determine data type of %@." + "value" : "unable to determine data type of %@." } } } diff --git a/Tests/SwiftNPTests/SwiftNPTests.swift b/Tests/SwiftNPTests/SwiftNPTests.swift index c5c107e..f33f87b 100644 --- a/Tests/SwiftNPTests/SwiftNPTests.swift +++ b/Tests/SwiftNPTests/SwiftNPTests.swift @@ -5,8 +5,6 @@ import Testing struct NDArrayFoundationTests { @Test("Compare ones() with generate()") func compareOnesWithGenerate() async throws { - // Write your test here and use APIs like `#expect(...)` to check expected conditions. - let output1 = try! SNP.ones(shape: [1, 3, 50, 3, 1, 7]) let output2 = try! NDArray.generate(of: [1, 3, 50, 3, 1, 7], with: 1.0) @@ -91,9 +89,82 @@ struct NDArrayFoundationTests { [4.0, 5.0, 6.0] ] - let output = try? SNP.ndarray(input).reshape(to: [3, 2, 1, 1], order: .f) + let output = try? SNP.ndarray(input).reshape(to: [3, 2], order: .c) debugPrint("----->>> \(String(describing: output))") #expect(output != nil) } + + @Test("Test equality") + func testEquality() async throws { +// let matrixA = [[1, 2, [3, 4]], [5, 6]] +// let matrixB = [[1, 2, [3, 4]], [5, 6]] +// let matrixC = [[1, 2, [3, 5]], [5, 6]] + + let matrixA = [[[1, 2], [3, 4]]] + let matrixB = [[[1, 2], [3, 4]]] + let matrixC = [[[1, 2], [3, 5]]] + + let array1 = try SNP.ndarray(matrixA) + let array2 = try SNP.ndarray(matrixB) + let array3 = try SNP.ndarray(matrixC) + + debugPrint("----->>> \(array1 == array3)") + #expect(array1 == array2, "\(array1) != \(array2)") + } + + @Test("Multiply By Scalar") + func multiplyByScalar() async throws { + let input = [ + [1.0, 2.0, 3.0], + [4.0, 5.0, 6.0] + ] + + let output = [ + [3.0, 6.0, 9.0], + [12.0, 15.0, 18.0] + ] + + let array = try SNP.ndarray(input) + let directResult = try SNP.ndarray(output) + let result = try array * 3.0 + + debugPrint(result.toString() + directResult.toString()) + + #expect(result == directResult) + } + + @Test("Element-wise Addition") + func elementWiseAddition() async throws { + + let input1 = [ + [[1.0], [2.0], [3.0]], + [[4.0], [5.0], [6.0]] + ] + + let input2 = [ + [[1.0], [2.0], [3.0]], + [[4.0], [5.0], [6.0]] + ] + + let output = [ + [[2.0], [4.0], [6.0]], + [[8.0], [10.0], [12.0]] + ] + + let array1 = try SNP.ndarray(input1) + let array2 = try SNP.ndarray(input2) + + let array3 = try SNP.ones(shape: [9, 6, 8, 2]) + let array4 = try SNP.ones(shape: [9, 6, 8, 2]) + + let array5 = try SNP.ndarray(output) + let array6 = try array1 + array2 + + let array7 = try NDArray(shape: [9, 6, 8, 2], dtype: .float64, defaultValue: 2.0) + let array8 = try array3 + array4 + + #expect(array5 == array6) + #expect(array7 == array8) + } } diff --git a/docs/data/documentation/swiftnp.json b/docs/data/documentation/swiftnp.json index 8dffdd9..5eaeca5 100644 --- a/docs/data/documentation/swiftnp.json +++ b/docs/data/documentation/swiftnp.json @@ -1 +1 @@ -{"kind":"symbol","sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[[]]},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP","interfaceLanguage":"swift"},"topicSections":[{"generated":true,"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils"],"anchor":"Classes","title":"Classes"},{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape"],"anchor":"Type-Aliases","title":"Type Aliases","generated":true},{"title":"Enumerations","generated":true,"anchor":"Enumerations","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]},{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift"],"generated":true,"anchor":"Extended-Modules","title":"Extended Modules"}],"metadata":{"modules":[{"name":"SwiftNP"}],"role":"collection","externalID":"SwiftNP","symbolKind":"module","title":"SwiftNP","roleHeading":"Framework"},"variants":[{"paths":["\/documentation\/swiftnp"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/Utils":{"title":"Utils","url":"\/documentation\/swiftnp\/utils","navigatorTitle":[{"text":"Utils","kind":"identifier"}],"fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Utils","kind":"identifier"}],"kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils","abstract":[{"type":"text","text":"A utility class that provides helper functions and methods for the SwiftNP framework."},{"text":" ","type":"text"},{"type":"text","text":"This class is declared as public and final, meaning it cannot be subclassed and is accessible from outside its defining module."}]},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"text":" ","type":"text"},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError","type":"topic","url":"\/documentation\/swiftnp\/snperror","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"navigatorTitle":[{"text":"SNPError","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP/Shape":{"title":"Shape","url":"\/documentation\/swiftnp\/shape","navigatorTitle":[{"text":"Shape","kind":"identifier"}],"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Shape"}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","type":"topic","abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"text":" ","type":"text"},{"type":"text","text":"Each integer represents the size of the array at a particular dimension."}]},"doc://SwiftNP/documentation/SwiftNP/SwiftNP":{"navigatorTitle":[{"text":"SwiftNP","kind":"identifier"}],"type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"SwiftNP","kind":"identifier"}],"abstract":[{"type":"text","text":"A class that provides methods for creating and manipulating multi-dimensional arrays (NDArray) in the SwiftNP framework."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP","kind":"symbol","url":"\/documentation\/swiftnp\/swiftnp","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"url":"\/documentation\/swiftnp\/reshapeorder","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"ReshapeOrder","kind":"identifier"}],"title":"ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP/SNP":{"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"SNP"}],"navigatorTitle":[{"text":"SNP","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNP","abstract":[{"type":"text","text":"Type alias for the SwiftNP framework, allowing for easier reference."},{"type":"text","text":" "},{"text":"This can be used to refer to the SwiftNP namespace or functionality.","type":"text"}],"title":"SNP","kind":"symbol","role":"symbol","url":"\/documentation\/swiftnp\/snp"},"doc://SwiftNP/documentation/SwiftNP/Swift":{"type":"topic","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","title":"Swift","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp\/swift"}}} \ No newline at end of file +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP"},"hierarchy":{"paths":[[]]},"variants":[{"paths":["\/documentation\/swiftnp"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"externalID":"SwiftNP","symbolKind":"module","title":"SwiftNP","modules":[{"name":"SwiftNP"}],"role":"collection","roleHeading":"Framework"},"kind":"symbol","topicSections":[{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP"],"generated":true,"anchor":"Classes","title":"Classes"},{"anchor":"Type-Aliases","generated":true,"title":"Type Aliases","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape"]},{"title":"Enumerations","generated":true,"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"],"anchor":"Enumerations"},{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift"],"anchor":"Extended-Modules","title":"Extended Modules","generated":true}],"sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP/Shape":{"navigatorTitle":[{"text":"Shape","kind":"identifier"}],"type":"topic","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Shape"}],"url":"\/documentation\/swiftnp\/shape","title":"Shape","abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"text":" ","type":"text"},{"type":"text","text":"Each integer represents the size of the array at a particular dimension."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"title":"ReshapeOrder","navigatorTitle":[{"kind":"identifier","text":"ReshapeOrder"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}],"role":"symbol","kind":"symbol","url":"\/documentation\/swiftnp\/reshapeorder","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNP":{"url":"\/documentation\/swiftnp\/snp","kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNP","abstract":[{"text":"Type alias for the SwiftNP framework, allowing for easier reference.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"This can be used to refer to the SwiftNP namespace or functionality."}],"navigatorTitle":[{"text":"SNP","kind":"identifier"}],"title":"SNP","type":"topic","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"SNP"}]},"doc://SwiftNP/documentation/SwiftNP/Swift":{"abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","role":"collection","url":"\/documentation\/swiftnp\/swift","title":"Swift"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/SwiftNP":{"role":"symbol","url":"\/documentation\/swiftnp\/swiftnp","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"SwiftNP"}],"type":"topic","title":"SwiftNP","navigatorTitle":[{"text":"SwiftNP","kind":"identifier"}],"abstract":[{"text":"A class that provides methods for creating and manipulating multi-dimensional arrays (NDArray) in the SwiftNP framework.","type":"text"}],"kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation":{"title":"ArithmeticOperation","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation","role":"symbol","url":"\/documentation\/swiftnp\/arithmeticoperation","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"ArithmeticOperation","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"ArithmeticOperation"}],"abstract":[{"type":"text","text":"An enumeration representing arithmetic operations that can be performed on matrices (NDArray)."}]},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/arithmeticoperation.json b/docs/data/documentation/swiftnp/arithmeticoperation.json new file mode 100644 index 0000000..0785881 --- /dev/null +++ b/docs/data/documentation/swiftnp/arithmeticoperation.json @@ -0,0 +1 @@ +{"abstract":[{"type":"text","text":"An enumeration representing arithmetic operations that can be performed on matrices (NDArray)."}],"relationshipsSections":[{"title":"Conforms To","identifiers":["doc:\/\/SwiftNP\/s12CaseIterableP","doc:\/\/SwiftNP\/Se","doc:\/\/SwiftNP\/SE","doc:\/\/SwiftNP\/SQ","doc:\/\/SwiftNP\/SH"],"type":"conformsTo","kind":"relationships"}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"topicSections":[{"anchor":"Enumeration-Cases","title":"Enumeration Cases","generated":true,"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/addition","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/subtraction"]},{"anchor":"Initializers","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/init(from:)"],"title":"Initializers","generated":true},{"anchor":"Default-Implementations","generated":true,"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/Equatable-Implementations"],"title":"Default Implementations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/arithmeticoperation"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation","interfaceLanguage":"swift"},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ArithmeticOperation"}],"platforms":["macOS"]}]}],"metadata":{"externalID":"s:7SwiftNP19ArithmeticOperationO","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ArithmeticOperation"}],"roleHeading":"Enumeration","navigatorTitle":[{"kind":"identifier","text":"ArithmeticOperation"}],"title":"ArithmeticOperation","role":"symbol","modules":[{"name":"SwiftNP"}],"symbolKind":"enum"},"references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation/subtraction":{"kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"subtraction","kind":"identifier"}],"role":"symbol","url":"\/documentation\/swiftnp\/arithmeticoperation\/subtraction","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/subtraction","title":"ArithmeticOperation.subtraction","type":"topic","abstract":[{"type":"text","text":"Represents the subtraction operation between two NDArray instances."}]},"doc://SwiftNP/SQ":{"identifier":"doc:\/\/SwiftNP\/SQ","type":"unresolvable","title":"Swift.Equatable"},"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation/Equatable-Implementations":{"title":"Equatable Implementations","kind":"article","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/Equatable-Implementations","url":"\/documentation\/swiftnp\/arithmeticoperation\/equatable-implementations","role":"collectionGroup","abstract":[]},"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation":{"title":"ArithmeticOperation","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation","role":"symbol","url":"\/documentation\/swiftnp\/arithmeticoperation","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"ArithmeticOperation","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"ArithmeticOperation"}],"abstract":[{"type":"text","text":"An enumeration representing arithmetic operations that can be performed on matrices (NDArray)."}]},"doc://SwiftNP/s12CaseIterableP":{"title":"Swift.CaseIterable","identifier":"doc:\/\/SwiftNP\/s12CaseIterableP","type":"unresolvable"},"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation/init(from:)":{"role":"symbol","title":"init(from:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": any ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"kind":"symbol","url":"\/documentation\/swiftnp\/arithmeticoperation\/init(from:)","type":"topic","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/init(from:)"},"doc://SwiftNP/SH":{"title":"Swift.Hashable","identifier":"doc:\/\/SwiftNP\/SH","type":"unresolvable"},"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation/addition":{"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/addition","kind":"symbol","url":"\/documentation\/swiftnp\/arithmeticoperation\/addition","title":"ArithmeticOperation.addition","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addition"}],"type":"topic","abstract":[{"type":"text","text":"Represents the addition operation between two NDArray instances."}]},"doc://SwiftNP/Se":{"title":"Swift.Decodable","identifier":"doc:\/\/SwiftNP\/Se","type":"unresolvable"},"doc://SwiftNP/SE":{"title":"Swift.Encodable","identifier":"doc:\/\/SwiftNP\/SE","type":"unresolvable"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/arithmeticoperation/!=(_:_:).json b/docs/data/documentation/swiftnp/arithmeticoperation/!=(_:_:).json new file mode 100644 index 0000000..eea1850 --- /dev/null +++ b/docs/data/documentation/swiftnp/arithmeticoperation/!=(_:_:).json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/!=(_:_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"code":"Equatable.!=(_:_:)","type":"codeVoice"},{"text":".","type":"text"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"internalParam","text":"lhs"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"rhs","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"languages":["swift"]}]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/Equatable-Implementations"]]},"sections":[],"metadata":{"externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:7SwiftNP19ArithmeticOperationO","title":"!=(_:_:)","roleHeading":"Operator","symbolKind":"op","role":"symbol","modules":[{"name":"SwiftNP","relatedModules":["Swift"]}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"extendedModule":"Swift"},"variants":[{"paths":["\/documentation\/swiftnp\/arithmeticoperation\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation":{"title":"ArithmeticOperation","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation","role":"symbol","url":"\/documentation\/swiftnp\/arithmeticoperation","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"ArithmeticOperation","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"ArithmeticOperation"}],"abstract":[{"type":"text","text":"An enumeration representing arithmetic operations that can be performed on matrices (NDArray)."}]},"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation/Equatable-Implementations":{"title":"Equatable Implementations","kind":"article","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/Equatable-Implementations","url":"\/documentation\/swiftnp\/arithmeticoperation\/equatable-implementations","role":"collectionGroup","abstract":[]},"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation/!=(_:_:)":{"title":"!=(_:_:)","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/!=(_:_:)","role":"symbol","url":"\/documentation\/swiftnp\/arithmeticoperation\/!=(_:_:)","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/arithmeticoperation/addition.json b/docs/data/documentation/swiftnp/arithmeticoperation/addition.json new file mode 100644 index 0000000..ad45316 --- /dev/null +++ b/docs/data/documentation/swiftnp/arithmeticoperation/addition.json @@ -0,0 +1 @@ +{"metadata":{"symbolKind":"case","externalID":"s:7SwiftNP19ArithmeticOperationO8additionyA2CmF","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"addition","kind":"identifier"}],"modules":[{"name":"SwiftNP"}],"roleHeading":"Case","role":"symbol","title":"ArithmeticOperation.addition"},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/addition","interfaceLanguage":"swift"},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/arithmeticoperation\/addition"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"addition","kind":"identifier"}],"platforms":["macOS"]}]}],"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation"]]},"abstract":[{"text":"Represents the addition operation between two NDArray instances.","type":"text"}],"references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation":{"title":"ArithmeticOperation","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation","role":"symbol","url":"\/documentation\/swiftnp\/arithmeticoperation","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"ArithmeticOperation","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"ArithmeticOperation"}],"abstract":[{"type":"text","text":"An enumeration representing arithmetic operations that can be performed on matrices (NDArray)."}]},"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation/addition":{"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/addition","kind":"symbol","url":"\/documentation\/swiftnp\/arithmeticoperation\/addition","title":"ArithmeticOperation.addition","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addition"}],"type":"topic","abstract":[{"type":"text","text":"Represents the addition operation between two NDArray instances."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/arithmeticoperation/equatable-implementations.json b/docs/data/documentation/swiftnp/arithmeticoperation/equatable-implementations.json new file mode 100644 index 0000000..a682147 --- /dev/null +++ b/docs/data/documentation/swiftnp/arithmeticoperation/equatable-implementations.json @@ -0,0 +1 @@ +{"topicSections":[{"anchor":"Operators","generated":true,"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/!=(_:_:)"],"title":"Operators"}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/Equatable-Implementations"},"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"article","metadata":{"role":"collectionGroup","title":"Equatable Implementations","modules":[{"name":"SwiftNP"}],"roleHeading":"API Collection"},"sections":[],"variants":[{"paths":["\/documentation\/swiftnp\/arithmeticoperation\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation/!=(_:_:)":{"title":"!=(_:_:)","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/!=(_:_:)","role":"symbol","url":"\/documentation\/swiftnp\/arithmeticoperation\/!=(_:_:)","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"abstract":[]},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation":{"title":"ArithmeticOperation","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation","role":"symbol","url":"\/documentation\/swiftnp\/arithmeticoperation","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"ArithmeticOperation","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"ArithmeticOperation"}],"abstract":[{"type":"text","text":"An enumeration representing arithmetic operations that can be performed on matrices (NDArray)."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/arithmeticoperation/init(from:).json b/docs/data/documentation/swiftnp/arithmeticoperation/init(from:).json new file mode 100644 index 0000000..d57f254 --- /dev/null +++ b/docs/data/documentation/swiftnp/arithmeticoperation/init(from:).json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/swiftnp\/arithmeticoperation\/init(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Decodable.init(from:)"},{"type":"text","text":"."}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/init(from:)","interfaceLanguage":"swift"},"sections":[],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"decoder"},{"text":": any ","kind":"text"},{"text":"Decoder","preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"languages":["swift"]}],"kind":"declarations"}],"metadata":{"externalID":"s:7SwiftNP19ArithmeticOperationO4fromACs7Decoder_p_tKcfc","symbolKind":"init","title":"init(from:)","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"kind":"text","text":": any "},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"role":"symbol","roleHeading":"Initializer","modules":[{"name":"SwiftNP"}]},"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation/init(from:)":{"role":"symbol","title":"init(from:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": any ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"kind":"symbol","url":"\/documentation\/swiftnp\/arithmeticoperation\/init(from:)","type":"topic","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/init(from:)"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation":{"title":"ArithmeticOperation","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation","role":"symbol","url":"\/documentation\/swiftnp\/arithmeticoperation","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"ArithmeticOperation","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"ArithmeticOperation"}],"abstract":[{"type":"text","text":"An enumeration representing arithmetic operations that can be performed on matrices (NDArray)."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/arithmeticoperation/subtraction.json b/docs/data/documentation/swiftnp/arithmeticoperation/subtraction.json new file mode 100644 index 0000000..e6e1602 --- /dev/null +++ b/docs/data/documentation/swiftnp/arithmeticoperation/subtraction.json @@ -0,0 +1 @@ +{"sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"subtraction"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/arithmeticoperation\/subtraction"]}],"kind":"symbol","identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/subtraction","interfaceLanguage":"swift"},"metadata":{"role":"symbol","roleHeading":"Case","externalID":"s:7SwiftNP19ArithmeticOperationO11subtractionyA2CmF","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"subtraction","kind":"identifier"}],"title":"ArithmeticOperation.subtraction","symbolKind":"case","modules":[{"name":"SwiftNP"}]},"abstract":[{"type":"text","text":"Represents the subtraction operation between two NDArray instances."}],"references":{"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation/subtraction":{"kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"subtraction","kind":"identifier"}],"role":"symbol","url":"\/documentation\/swiftnp\/arithmeticoperation\/subtraction","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation\/subtraction","title":"ArithmeticOperation.subtraction","type":"topic","abstract":[{"type":"text","text":"Represents the subtraction operation between two NDArray instances."}]},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ArithmeticOperation":{"title":"ArithmeticOperation","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ArithmeticOperation","role":"symbol","url":"\/documentation\/swiftnp\/arithmeticoperation","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"ArithmeticOperation","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"ArithmeticOperation"}],"abstract":[{"type":"text","text":"An enumeration representing arithmetic operations that can be performed on matrices (NDArray)."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype.json b/docs/data/documentation/swiftnp/dtype.json index 707a227..60de3db 100644 --- a/docs/data/documentation/swiftnp/dtype.json +++ b/docs/data/documentation/swiftnp/dtype.json @@ -1 +1 @@ -{"topicSections":[{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/double","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float16","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float32","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float64","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int16","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int32","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int64","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int8","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint16","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint32","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint64","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint8"],"generated":true,"anchor":"Enumeration-Cases","title":"Enumeration Cases"},{"title":"Initializers","anchor":"Initializers","generated":true,"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/init(from:)"]},{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/type"],"generated":true,"title":"Instance Properties","anchor":"Instance-Properties"},{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/cast(_:)"],"generated":true,"anchor":"Instance-Methods","title":"Instance Methods"},{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/typeOf(_:)"],"anchor":"Type-Methods","generated":true,"title":"Type Methods"},{"generated":true,"title":"Default Implementations","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/Equatable-Implementations"],"anchor":"Default-Implementations"}],"relationshipsSections":[{"identifiers":["doc:\/\/SwiftNP\/s12CaseIterableP","doc:\/\/SwiftNP\/Se","doc:\/\/SwiftNP\/SE","doc:\/\/SwiftNP\/SQ","doc:\/\/SwiftNP\/SH"],"type":"conformsTo","kind":"relationships","title":"Conforms To"}],"variants":[{"paths":["\/documentation\/swiftnp\/dtype"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"DType","kind":"identifier"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"roleHeading":"Enumeration","symbolKind":"enum","externalID":"s:7SwiftNP5DTypeO","title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"DType","kind":"identifier"}],"role":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"modules":[{"name":"SwiftNP"}]},"abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/DType/float32":{"role":"symbol","url":"\/documentation\/swiftnp\/dtype\/float32","abstract":[],"type":"topic","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"float32"}],"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float32","title":"DType.float32"},"doc://SwiftNP/documentation/SwiftNP/DType/init(from:)":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"kind":"text","text":": any "},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/init(from:)","type":"topic","title":"init(from:)","role":"symbol","abstract":[],"url":"\/documentation\/swiftnp\/dtype\/init(from:)","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType":{"title":"DType","url":"\/documentation\/swiftnp\/dtype","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"DType"}]},"doc://SwiftNP/SH":{"identifier":"doc:\/\/SwiftNP\/SH","title":"Swift.Hashable","type":"unresolvable"},"doc://SwiftNP/documentation/SwiftNP/DType/cast(_:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"cast","kind":"identifier"},{"text":"(","kind":"text"},{"text":"NSNumber","preciseIdentifier":"c:objc(cs)NSNumber","kind":"typeIdentifier"},{"kind":"text","text":") -> (any "},{"preciseIdentifier":"s:Sj","kind":"typeIdentifier","text":"Numeric"},{"kind":"text","text":")?"}],"title":"cast(_:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/cast(_:)","abstract":[{"text":"Casts a NSNumber to the corresponding numeric type defined by the DType.","type":"text"}],"type":"topic","url":"\/documentation\/swiftnp\/dtype\/cast(_:)"},"doc://SwiftNP/documentation/SwiftNP/DType/uint8":{"title":"DType.uint8","type":"topic","url":"\/documentation\/swiftnp\/dtype\/uint8","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint8","abstract":[],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"uint8"}],"kind":"symbol","role":"symbol"},"doc://SwiftNP/Se":{"title":"Swift.Decodable","identifier":"doc:\/\/SwiftNP\/Se","type":"unresolvable"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType/type":{"abstract":[{"type":"text","text":"Returns the corresponding numeric type for the DType."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/type","title":"type","url":"\/documentation\/swiftnp\/dtype\/type","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"type"},{"text":": any ","kind":"text"},{"text":"Numeric","kind":"typeIdentifier","preciseIdentifier":"s:Sj"},{"text":".Type","kind":"text"}],"role":"symbol","kind":"symbol","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType/Equatable-Implementations":{"type":"topic","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/Equatable-Implementations","url":"\/documentation\/swiftnp\/dtype\/equatable-implementations","role":"collectionGroup","kind":"article","title":"Equatable Implementations"},"doc://SwiftNP/documentation/SwiftNP/DType/float64":{"title":"DType.float64","url":"\/documentation\/swiftnp\/dtype\/float64","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"float64","kind":"identifier"}],"kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float64","abstract":[]},"doc://SwiftNP/SE":{"identifier":"doc:\/\/SwiftNP\/SE","title":"Swift.Encodable","type":"unresolvable"},"doc://SwiftNP/documentation/SwiftNP/DType/uint32":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"uint32","kind":"identifier"}],"abstract":[],"role":"symbol","url":"\/documentation\/swiftnp\/dtype\/uint32","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint32","type":"topic","title":"DType.uint32","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType/int16":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int16","title":"DType.int16","type":"topic","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"int16","kind":"identifier"}],"kind":"symbol","url":"\/documentation\/swiftnp\/dtype\/int16","abstract":[],"role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType/uint64":{"title":"DType.uint64","abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint64","url":"\/documentation\/swiftnp\/dtype\/uint64","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"uint64"}]},"doc://SwiftNP/documentation/SwiftNP/DType/typeOf(_:)":{"abstract":[{"type":"text","text":"Determines the DType of a given numeric input."}],"url":"\/documentation\/swiftnp\/dtype\/typeof(_:)","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/typeOf(_:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"typeOf"},{"text":"(any ","kind":"text"},{"text":"Numeric","kind":"typeIdentifier","preciseIdentifier":"s:Sj"},{"kind":"text","text":") -> "},{"text":"DType","preciseIdentifier":"s:7SwiftNP5DTypeO","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"kind":"symbol","type":"topic","title":"typeOf(_:)"},"doc://SwiftNP/documentation/SwiftNP/DType/int32":{"title":"DType.int32","abstract":[],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int32","url":"\/documentation\/swiftnp\/dtype\/int32","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"int32","kind":"identifier"}],"kind":"symbol","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType/float16":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"float16","kind":"identifier"}],"role":"symbol","url":"\/documentation\/swiftnp\/dtype\/float16","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float16","type":"topic","abstract":[],"kind":"symbol","title":"DType.float16"},"doc://SwiftNP/s12CaseIterableP":{"title":"Swift.CaseIterable","type":"unresolvable","identifier":"doc:\/\/SwiftNP\/s12CaseIterableP"},"doc://SwiftNP/documentation/SwiftNP/DType/int8":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"int8"}],"role":"symbol","url":"\/documentation\/swiftnp\/dtype\/int8","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int8","type":"topic","abstract":[],"kind":"symbol","title":"DType.int8"},"doc://SwiftNP/documentation/SwiftNP/DType/uint16":{"abstract":[],"title":"DType.uint16","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"uint16","kind":"identifier"}],"type":"topic","url":"\/documentation\/swiftnp\/dtype\/uint16","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint16"},"doc://SwiftNP/documentation/SwiftNP/DType/int":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"int"}],"role":"symbol","url":"\/documentation\/swiftnp\/dtype\/int","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int","type":"topic","abstract":[],"kind":"symbol","title":"DType.int"},"doc://SwiftNP/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/SwiftNP\/SQ"},"doc://SwiftNP/documentation/SwiftNP/DType/int64":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"int64","kind":"identifier"}],"role":"symbol","url":"\/documentation\/swiftnp\/dtype\/int64","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int64","abstract":[],"type":"topic","kind":"symbol","title":"DType.int64"},"doc://SwiftNP/documentation/SwiftNP/DType/double":{"type":"topic","kind":"symbol","title":"DType.double","url":"\/documentation\/swiftnp\/dtype\/double","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/double","abstract":[],"role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"double","kind":"identifier"}]}}} \ No newline at end of file +{"kind":"symbol","topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/double","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float16","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float32","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float64","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int16","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int32","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int64","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int8","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint16","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint32","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint64","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint8"],"generated":true,"anchor":"Enumeration-Cases"},{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/init(from:)"],"anchor":"Initializers","generated":true,"title":"Initializers"},{"title":"Instance Properties","anchor":"Instance-Properties","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/type"],"generated":true},{"title":"Instance Methods","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/cast(_:)"],"anchor":"Instance-Methods","generated":true},{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/typeOf(_:)"],"title":"Type Methods","generated":true,"anchor":"Type-Methods"},{"anchor":"Default-Implementations","title":"Default Implementations","generated":true,"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/Equatable-Implementations"]}],"relationshipsSections":[{"identifiers":["doc:\/\/SwiftNP\/s12CaseIterableP","doc:\/\/SwiftNP\/Se","doc:\/\/SwiftNP\/SE","doc:\/\/SwiftNP\/SQ","doc:\/\/SwiftNP\/SH"],"title":"Conforms To","type":"conformsTo","kind":"relationships"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DType"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype"]}],"abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"metadata":{"modules":[{"name":"SwiftNP"}],"role":"symbol","title":"DType","symbolKind":"enum","roleHeading":"Enumeration","externalID":"s:7SwiftNP5DTypeO","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"DType"}]},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://SwiftNP/documentation/SwiftNP/DType/int16":{"abstract":[],"role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"int16","kind":"identifier"}],"title":"DType.int16","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int16","type":"topic","kind":"symbol","url":"\/documentation\/swiftnp\/dtype\/int16"},"doc://SwiftNP/SQ":{"identifier":"doc:\/\/SwiftNP\/SQ","title":"Swift.Equatable","type":"unresolvable"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/DType/init(from:)":{"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/init(from:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"text":": any ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"title":"init(from:)","type":"topic","kind":"symbol","url":"\/documentation\/swiftnp\/dtype\/init(from:)","abstract":[]},"doc://SwiftNP/SH":{"identifier":"doc:\/\/SwiftNP\/SH","title":"Swift.Hashable","type":"unresolvable"},"doc://SwiftNP/Se":{"identifier":"doc:\/\/SwiftNP\/Se","title":"Swift.Decodable","type":"unresolvable"},"doc://SwiftNP/documentation/SwiftNP/DType/double":{"role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"double","kind":"identifier"}],"title":"DType.double","type":"topic","url":"\/documentation\/swiftnp\/dtype\/double","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/double","abstract":[],"kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType/Equatable-Implementations":{"title":"Equatable Implementations","kind":"article","url":"\/documentation\/swiftnp\/dtype\/equatable-implementations","abstract":[],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/Equatable-Implementations","role":"collectionGroup"},"doc://SwiftNP/documentation/SwiftNP/DType/uint8":{"title":"DType.uint8","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"uint8"}],"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint8","kind":"symbol","url":"\/documentation\/swiftnp\/dtype\/uint8"},"doc://SwiftNP/documentation/SwiftNP/DType/cast(_:)":{"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/cast(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"cast","kind":"identifier"},{"text":"(","kind":"text"},{"text":"NSNumber","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSNumber"},{"text":") -> (any ","kind":"text"},{"text":"Numeric","kind":"typeIdentifier","preciseIdentifier":"s:Sj"},{"kind":"text","text":")?"}],"abstract":[{"type":"text","text":"Casts a NSNumber to the corresponding numeric type defined by the DType."}],"title":"cast(_:)","url":"\/documentation\/swiftnp\/dtype\/cast(_:)","kind":"symbol","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType/int8":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"int8"}],"title":"DType.int8","kind":"symbol","url":"\/documentation\/swiftnp\/dtype\/int8","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int8","type":"topic","abstract":[]},"doc://SwiftNP/documentation/SwiftNP/DType/uint16":{"abstract":[],"url":"\/documentation\/swiftnp\/dtype\/uint16","title":"DType.uint16","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint16","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"uint16","kind":"identifier"}],"kind":"symbol","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType/type":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/type","abstract":[{"type":"text","text":"Returns the corresponding numeric type for the DType."}],"url":"\/documentation\/swiftnp\/dtype\/type","kind":"symbol","type":"topic","title":"type","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"type","kind":"identifier"},{"text":": any ","kind":"text"},{"text":"Numeric","kind":"typeIdentifier","preciseIdentifier":"s:Sj"},{"text":".Type","kind":"text"}]},"doc://SwiftNP/documentation/SwiftNP/DType/int32":{"title":"DType.int32","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int32","url":"\/documentation\/swiftnp\/dtype\/int32","role":"symbol","kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"int32","kind":"identifier"}]},"doc://SwiftNP/s12CaseIterableP":{"type":"unresolvable","identifier":"doc:\/\/SwiftNP\/s12CaseIterableP","title":"Swift.CaseIterable"},"doc://SwiftNP/documentation/SwiftNP/DType/int64":{"title":"DType.int64","type":"topic","abstract":[],"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int64","url":"\/documentation\/swiftnp\/dtype\/int64","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"int64","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/DType/int":{"abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"int"}],"title":"DType.int","role":"symbol","type":"topic","url":"\/documentation\/swiftnp\/dtype\/int"},"doc://SwiftNP/documentation/SwiftNP/DType/float64":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float64","abstract":[],"url":"\/documentation\/swiftnp\/dtype\/float64","kind":"symbol","type":"topic","title":"DType.float64","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"float64","kind":"identifier"}]},"doc://SwiftNP/SE":{"identifier":"doc:\/\/SwiftNP\/SE","title":"Swift.Encodable","type":"unresolvable"},"doc://SwiftNP/documentation/SwiftNP/DType/uint64":{"kind":"symbol","abstract":[],"role":"symbol","title":"DType.uint64","url":"\/documentation\/swiftnp\/dtype\/uint64","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint64","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"uint64","kind":"identifier"}],"type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType/float32":{"role":"symbol","abstract":[],"title":"DType.float32","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"float32"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float32","url":"\/documentation\/swiftnp\/dtype\/float32","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType/uint32":{"abstract":[],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"uint32"}],"role":"symbol","title":"DType.uint32","url":"\/documentation\/swiftnp\/dtype\/uint32","type":"topic","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint32"},"doc://SwiftNP/documentation/SwiftNP/DType/float16":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float16","abstract":[],"url":"\/documentation\/swiftnp\/dtype\/float16","kind":"symbol","type":"topic","title":"DType.float16","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"float16","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/DType/typeOf(_:)":{"type":"topic","kind":"symbol","role":"symbol","title":"typeOf(_:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"typeOf","kind":"identifier"},{"kind":"text","text":"(any "},{"text":"Numeric","kind":"typeIdentifier","preciseIdentifier":"s:Sj"},{"text":") -> ","kind":"text"},{"text":"DType","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5DTypeO"},{"kind":"text","text":"?"}],"url":"\/documentation\/swiftnp\/dtype\/typeof(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/typeOf(_:)","abstract":[{"type":"text","text":"Determines the DType of a given numeric input."}]},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/!=(_:_:).json b/docs/data/documentation/swiftnp/dtype/!=(_:_:).json index b2d951f..fa7a1e6 100644 --- a/docs/data/documentation/swiftnp/dtype/!=(_:_:).json +++ b/docs/data/documentation/swiftnp/dtype/!=(_:_:).json @@ -1 +1 @@ -{"abstract":[{"text":"Inherited from ","type":"text"},{"code":"Equatable.!=(_:_:)","type":"codeVoice"},{"type":"text","text":"."}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/Equatable-Implementations"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"lhs","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"rhs","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"platforms":["macOS"],"languages":["swift"]}]}],"metadata":{"role":"symbol","modules":[{"name":"SwiftNP","relatedModules":["Swift"]}],"symbolKind":"op","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:7SwiftNP5DTypeO","extendedModule":"Swift","title":"!=(_:_:)","roleHeading":"Operator","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}]},"sections":[],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/!=(_:_:)"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/!=(_:_:)"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://SwiftNP/documentation/SwiftNP/DType/!=(_:_:)":{"url":"\/documentation\/swiftnp\/dtype\/!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"kind":"symbol","abstract":[],"role":"symbol","title":"!=(_:_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/!=(_:_:)","type":"topic"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType/Equatable-Implementations":{"type":"topic","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/Equatable-Implementations","url":"\/documentation\/swiftnp\/dtype\/equatable-implementations","role":"collectionGroup","kind":"article","title":"Equatable Implementations"}}} \ No newline at end of file +{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/!=(_:_:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/Equatable-Implementations"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"type":"text","text":"Inherited from "},{"code":"Equatable.!=(_:_:)","type":"codeVoice"},{"type":"text","text":"."}],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"internalParam","text":"lhs"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"rhs","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/swiftnp\/dtype\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"metadata":{"title":"!=(_:_:)","symbolKind":"op","extendedModule":"Swift","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:7SwiftNP5DTypeO","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"role":"symbol","roleHeading":"Operator"},"references":{"doc://SwiftNP/documentation/SwiftNP/DType/Equatable-Implementations":{"title":"Equatable Implementations","kind":"article","url":"\/documentation\/swiftnp\/dtype\/equatable-implementations","abstract":[],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/Equatable-Implementations","role":"collectionGroup"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/DType/!=(_:_:)":{"type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"abstract":[],"title":"!=(_:_:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/!=(_:_:)","url":"\/documentation\/swiftnp\/dtype\/!=(_:_:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/cast(_:).json b/docs/data/documentation/swiftnp/dtype/cast(_:).json index 60696d0..950aa29 100644 --- a/docs/data/documentation/swiftnp/dtype/cast(_:).json +++ b/docs/data/documentation/swiftnp/dtype/cast(_:).json @@ -1 +1 @@ -{"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/cast(_:)"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/cast(_:)"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"abstract":[{"text":"Casts a NSNumber to the corresponding numeric type defined by the DType.","type":"text"}],"metadata":{"externalID":"s:7SwiftNP5DTypeO4castySj_pSgSo8NSNumberCF","title":"cast(_:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"cast","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSNumber","text":"NSNumber"},{"kind":"text","text":") -> (any "},{"text":"Numeric","preciseIdentifier":"s:Sj","kind":"typeIdentifier"},{"kind":"text","text":")?"}],"modules":[{"name":"SwiftNP"}]},"kind":"symbol","sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"cast","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"value","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)NSNumber","text":"NSNumber","kind":"typeIdentifier"},{"text":") -> (any ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sj","text":"Numeric"},{"kind":"text","text":")?"}],"platforms":["macOS"],"languages":["swift"]}]},{"parameters":[{"content":[{"inlineContent":[{"type":"text","text":"A NSNumber to be cast to the specified DType."}],"type":"paragraph"}],"name":"value"}],"kind":"parameters"},{"content":[{"type":"heading","text":"Return Value","level":2,"anchor":"return-value"},{"inlineContent":[{"type":"text","text":"An optional value of the corresponding numeric type, or nil if casting fails."}],"type":"paragraph"}],"kind":"content"}],"references":{"doc://SwiftNP/documentation/SwiftNP/DType/cast(_:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"cast","kind":"identifier"},{"text":"(","kind":"text"},{"text":"NSNumber","preciseIdentifier":"c:objc(cs)NSNumber","kind":"typeIdentifier"},{"kind":"text","text":") -> (any "},{"preciseIdentifier":"s:Sj","kind":"typeIdentifier","text":"Numeric"},{"kind":"text","text":")?"}],"title":"cast(_:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/cast(_:)","abstract":[{"text":"Casts a NSNumber to the corresponding numeric type defined by the DType.","type":"text"}],"type":"topic","url":"\/documentation\/swiftnp\/dtype\/cast(_:)"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"}}} \ No newline at end of file +{"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","metadata":{"modules":[{"name":"SwiftNP"}],"externalID":"s:7SwiftNP5DTypeO4castySj_pSgSo8NSNumberCF","title":"cast(_:)","symbolKind":"method","roleHeading":"Instance Method","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"cast"},{"text":"(","kind":"text"},{"text":"NSNumber","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSNumber"},{"text":") -> (any ","kind":"text"},{"preciseIdentifier":"s:Sj","text":"Numeric","kind":"typeIdentifier"},{"text":")?","kind":"text"}]},"sections":[],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/cast(_:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"cast"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"value","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)NSNumber","text":"NSNumber","kind":"typeIdentifier"},{"kind":"text","text":") -> (any "},{"text":"Numeric","kind":"typeIdentifier","preciseIdentifier":"s:Sj"},{"kind":"text","text":")?"}],"platforms":["macOS"],"languages":["swift"]}]},{"parameters":[{"name":"value","content":[{"inlineContent":[{"text":"A NSNumber to be cast to the specified DType.","type":"text"}],"type":"paragraph"}]}],"kind":"parameters"},{"content":[{"anchor":"return-value","text":"Return Value","level":2,"type":"heading"},{"inlineContent":[{"type":"text","text":"An optional value of the corresponding numeric type, or nil if casting fails."}],"type":"paragraph"}],"kind":"content"}],"variants":[{"paths":["\/documentation\/swiftnp\/dtype\/cast(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"Casts a NSNumber to the corresponding numeric type defined by the DType."}],"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP/DType/cast(_:)":{"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/cast(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"cast","kind":"identifier"},{"text":"(","kind":"text"},{"text":"NSNumber","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSNumber"},{"text":") -> (any ","kind":"text"},{"text":"Numeric","kind":"typeIdentifier","preciseIdentifier":"s:Sj"},{"kind":"text","text":")?"}],"abstract":[{"type":"text","text":"Casts a NSNumber to the corresponding numeric type defined by the DType."}],"title":"cast(_:)","url":"\/documentation\/swiftnp\/dtype\/cast(_:)","kind":"symbol","type":"topic"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/double.json b/docs/data/documentation/swiftnp/dtype/double.json index 750e5a7..d365a5e 100644 --- a/docs/data/documentation/swiftnp/dtype/double.json +++ b/docs/data/documentation/swiftnp/dtype/double.json @@ -1 +1 @@ -{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"double"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/double"},"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"symbolKind":"case","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"double"}],"title":"DType.double","externalID":"s:7SwiftNP5DTypeO6doubleyA2CmF","modules":[{"name":"SwiftNP"}],"roleHeading":"Case","role":"symbol"},"sections":[],"variants":[{"paths":["\/documentation\/swiftnp\/dtype\/double"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType/double":{"type":"topic","kind":"symbol","title":"DType.double","url":"\/documentation\/swiftnp\/dtype\/double","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/double","abstract":[],"role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"double","kind":"identifier"}]}}} \ No newline at end of file +{"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"double","kind":"identifier"}]}],"kind":"declarations"}],"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/double"},"sections":[],"kind":"symbol","metadata":{"modules":[{"name":"SwiftNP"}],"roleHeading":"Case","symbolKind":"case","role":"symbol","title":"DType.double","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"double"}],"externalID":"s:7SwiftNP5DTypeO6doubleyA2CmF"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"variants":[{"paths":["\/documentation\/swiftnp\/dtype\/double"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/DType/double":{"role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"double","kind":"identifier"}],"title":"DType.double","type":"topic","url":"\/documentation\/swiftnp\/dtype\/double","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/double","abstract":[],"kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/equatable-implementations.json b/docs/data/documentation/swiftnp/dtype/equatable-implementations.json index 028abde..514398a 100644 --- a/docs/data/documentation/swiftnp/dtype/equatable-implementations.json +++ b/docs/data/documentation/swiftnp/dtype/equatable-implementations.json @@ -1 +1 @@ -{"metadata":{"role":"collectionGroup","title":"Equatable Implementations","modules":[{"name":"SwiftNP"}],"roleHeading":"API Collection"},"topicSections":[{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/!=(_:_:)"],"generated":true,"title":"Operators","anchor":"Operators"}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"kind":"article","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/Equatable-Implementations"},"variants":[{"paths":["\/documentation\/swiftnp\/dtype\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/DType/!=(_:_:)":{"url":"\/documentation\/swiftnp\/dtype\/!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"kind":"symbol","abstract":[],"role":"symbol","title":"!=(_:_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/!=(_:_:)","type":"topic"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"metadata":{"roleHeading":"API Collection","modules":[{"name":"SwiftNP"}],"role":"collectionGroup","title":"Equatable Implementations"},"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"article","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/Equatable-Implementations"},"topicSections":[{"anchor":"Operators","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/!=(_:_:)"],"generated":true,"title":"Operators"}],"variants":[{"paths":["\/documentation\/swiftnp\/dtype\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/DType/!=(_:_:)":{"type":"topic","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"abstract":[],"title":"!=(_:_:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/!=(_:_:)","url":"\/documentation\/swiftnp\/dtype\/!=(_:_:)"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/float16.json b/docs/data/documentation/swiftnp/dtype/float16.json index 32fd657..02b027e 100644 --- a/docs/data/documentation/swiftnp/dtype/float16.json +++ b/docs/data/documentation/swiftnp/dtype/float16.json @@ -1 +1 @@ -{"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"float16"}],"modules":[{"name":"SwiftNP"}],"roleHeading":"Case","title":"DType.float16","externalID":"s:7SwiftNP5DTypeO7float16yA2CmF","symbolKind":"case","role":"symbol"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"float16"}]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float16"},"kind":"symbol","variants":[{"paths":["\/documentation\/swiftnp\/dtype\/float16"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"sections":[],"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType/float16":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"float16","kind":"identifier"}],"role":"symbol","url":"\/documentation\/swiftnp\/dtype\/float16","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float16","type":"topic","abstract":[],"kind":"symbol","title":"DType.float16"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"kind":"symbol","metadata":{"title":"DType.float16","roleHeading":"Case","symbolKind":"case","externalID":"s:7SwiftNP5DTypeO7float16yA2CmF","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"float16"}],"modules":[{"name":"SwiftNP"}],"role":"symbol"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"float16"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/float16"]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float16","interfaceLanguage":"swift"},"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP/DType/float16":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float16","abstract":[],"url":"\/documentation\/swiftnp\/dtype\/float16","kind":"symbol","type":"topic","title":"DType.float16","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"float16","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/float32.json b/docs/data/documentation/swiftnp/dtype/float32.json index 59bf3a7..b9b78ce 100644 --- a/docs/data/documentation/swiftnp/dtype/float32.json +++ b/docs/data/documentation/swiftnp/dtype/float32.json @@ -1 +1 @@ -{"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float32"},"metadata":{"role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"float32","kind":"identifier"}],"title":"DType.float32","symbolKind":"case","externalID":"s:7SwiftNP5DTypeO7float32yA2CmF","modules":[{"name":"SwiftNP"}],"roleHeading":"Case"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"float32"}],"languages":["swift"],"platforms":["macOS"]}]}],"kind":"symbol","sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/float32"]}],"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType/float32":{"role":"symbol","url":"\/documentation\/swiftnp\/dtype\/float32","abstract":[],"type":"topic","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"float32"}],"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float32","title":"DType.float32"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/float32"]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float32","interfaceLanguage":"swift"},"metadata":{"symbolKind":"case","title":"DType.float32","role":"symbol","externalID":"s:7SwiftNP5DTypeO7float32yA2CmF","modules":[{"name":"SwiftNP"}],"roleHeading":"Case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"float32","kind":"identifier"}]},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"float32","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"references":{"doc://SwiftNP/documentation/SwiftNP/DType/float32":{"role":"symbol","abstract":[],"title":"DType.float32","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"float32"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float32","url":"\/documentation\/swiftnp\/dtype\/float32","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/DType":{"navigatorTitle":[{"text":"DType","kind":"identifier"}],"title":"DType","role":"symbol","url":"\/documentation\/swiftnp\/dtype","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DType"}],"abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/float64.json b/docs/data/documentation/swiftnp/dtype/float64.json index 35befbf..2488a4f 100644 --- a/docs/data/documentation/swiftnp/dtype/float64.json +++ b/docs/data/documentation/swiftnp/dtype/float64.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"float64","kind":"identifier"}],"languages":["swift"]}]}],"metadata":{"modules":[{"name":"SwiftNP"}],"externalID":"s:7SwiftNP5DTypeO7float64yA2CmF","roleHeading":"Case","role":"symbol","title":"DType.float64","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"float64"}]},"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float64"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/float64"]}],"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType/float64":{"title":"DType.float64","url":"\/documentation\/swiftnp\/dtype\/float64","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"float64","kind":"identifier"}],"kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float64","abstract":[]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"float64","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float64"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"metadata":{"roleHeading":"Case","title":"DType.float64","symbolKind":"case","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"float64"}],"modules":[{"name":"SwiftNP"}],"role":"symbol","externalID":"s:7SwiftNP5DTypeO7float64yA2CmF"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/float64"]}],"references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP/DType/float64":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/float64","abstract":[],"url":"\/documentation\/swiftnp\/dtype\/float64","kind":"symbol","type":"topic","title":"DType.float64","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"float64","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/init(from:).json b/docs/data/documentation/swiftnp/dtype/init(from:).json index 647a298..1ce0fbe 100644 --- a/docs/data/documentation/swiftnp/dtype/init(from:).json +++ b/docs/data/documentation/swiftnp/dtype/init(from:).json @@ -1 +1 @@ -{"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"kind":"text","text":" "},{"kind":"internalParam","text":"decoder"},{"text":": any ","kind":"text"},{"preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier","text":"Decoder"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/init(from:)"]}],"sections":[],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/init(from:)","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"modules":[{"name":"SwiftNP"}],"externalID":"s:7SwiftNP5DTypeO4fromACs7Decoder_p_tKcfc","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":": any ","kind":"text"},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"roleHeading":"Initializer","role":"symbol","symbolKind":"init","title":"init(from:)"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"Decodable.init(from:)"},{"text":".","type":"text"}],"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/DType/init(from:)":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"kind":"text","text":": any "},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/init(from:)","type":"topic","title":"init(from:)","role":"symbol","abstract":[],"url":"\/documentation\/swiftnp\/dtype\/init(from:)","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"text":" ","kind":"text"},{"text":"decoder","kind":"internalParam"},{"text":": any ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}]}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"metadata":{"role":"symbol","title":"init(from:)","externalID":"s:7SwiftNP5DTypeO4fromACs7Decoder_p_tKcfc","roleHeading":"Initializer","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": any "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"modules":[{"name":"SwiftNP"}],"symbolKind":"init"},"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/init(from:)"},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/init(from:)"]}],"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Decodable.init(from:)"},{"text":".","type":"text"}],"references":{"doc://SwiftNP/documentation/SwiftNP/DType/init(from:)":{"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/init(from:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"text":": any ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"title":"init(from:)","type":"topic","kind":"symbol","url":"\/documentation\/swiftnp\/dtype\/init(from:)","abstract":[]},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/int.json b/docs/data/documentation/swiftnp/dtype/int.json index e4f7654..9d328db 100644 --- a/docs/data/documentation/swiftnp/dtype/int.json +++ b/docs/data/documentation/swiftnp/dtype/int.json @@ -1 +1 @@ -{"schemaVersion":{"patch":0,"minor":3,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"int"}],"languages":["swift"]}]}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/int"]}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int"},"metadata":{"symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"int"}],"role":"symbol","title":"DType.int","roleHeading":"Case","modules":[{"name":"SwiftNP"}],"externalID":"s:7SwiftNP5DTypeO3intyA2CmF"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType/int":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"int"}],"role":"symbol","url":"\/documentation\/swiftnp\/dtype\/int","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int","type":"topic","abstract":[],"kind":"symbol","title":"DType.int"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"modules":[{"name":"SwiftNP"}],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"int","kind":"identifier"}],"symbolKind":"case","title":"DType.int","externalID":"s:7SwiftNP5DTypeO3intyA2CmF","roleHeading":"Case","role":"symbol"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/int"]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"int"}],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"references":{"doc://SwiftNP/documentation/SwiftNP/DType/int":{"abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"int"}],"title":"DType.int","role":"symbol","type":"topic","url":"\/documentation\/swiftnp\/dtype\/int"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/int16.json b/docs/data/documentation/swiftnp/dtype/int16.json index 20f6149..492a0de 100644 --- a/docs/data/documentation/swiftnp/dtype/int16.json +++ b/docs/data/documentation/swiftnp/dtype/int16.json @@ -1 +1 @@ -{"metadata":{"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"int16"}],"title":"DType.int16","modules":[{"name":"SwiftNP"}],"symbolKind":"case","role":"symbol","roleHeading":"Case","externalID":"s:7SwiftNP5DTypeO5int16yA2CmF"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"int16"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"variants":[{"paths":["\/documentation\/swiftnp\/dtype\/int16"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int16","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"major":0,"patch":0},"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType/int16":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int16","title":"DType.int16","type":"topic","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"int16","kind":"identifier"}],"kind":"symbol","url":"\/documentation\/swiftnp\/dtype\/int16","abstract":[],"role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"}}} \ No newline at end of file +{"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"metadata":{"symbolKind":"case","title":"DType.int16","modules":[{"name":"SwiftNP"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"int16"}],"externalID":"s:7SwiftNP5DTypeO5int16yA2CmF","roleHeading":"Case","role":"symbol"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"int16","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int16"},"variants":[{"paths":["\/documentation\/swiftnp\/dtype\/int16"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP/DType/int16":{"abstract":[],"role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"int16","kind":"identifier"}],"title":"DType.int16","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int16","type":"topic","kind":"symbol","url":"\/documentation\/swiftnp\/dtype\/int16"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/int32.json b/docs/data/documentation/swiftnp/dtype/int32.json index 09ee1fc..6d5246f 100644 --- a/docs/data/documentation/swiftnp/dtype/int32.json +++ b/docs/data/documentation/swiftnp/dtype/int32.json @@ -1 +1 @@ -{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"role":"symbol","modules":[{"name":"SwiftNP"}],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"int32"}],"title":"DType.int32","externalID":"s:7SwiftNP5DTypeO5int32yA2CmF","roleHeading":"Case","symbolKind":"case"},"sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"int32","kind":"identifier"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/int32"]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int32","interfaceLanguage":"swift"},"references":{"doc://SwiftNP/documentation/SwiftNP/DType/int32":{"title":"DType.int32","abstract":[],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int32","url":"\/documentation\/swiftnp\/dtype\/int32","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"int32","kind":"identifier"}],"kind":"symbol","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"int32","kind":"identifier"}]}],"kind":"declarations"}],"metadata":{"modules":[{"name":"SwiftNP"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"int32"}],"externalID":"s:7SwiftNP5DTypeO5int32yA2CmF","roleHeading":"Case","role":"symbol","title":"DType.int32","symbolKind":"case"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int32"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/int32"]}],"sections":[],"references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/DType/int32":{"title":"DType.int32","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int32","url":"\/documentation\/swiftnp\/dtype\/int32","role":"symbol","kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"int32","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/int64.json b/docs/data/documentation/swiftnp/dtype/int64.json index b04be87..bf7b4eb 100644 --- a/docs/data/documentation/swiftnp/dtype/int64.json +++ b/docs/data/documentation/swiftnp/dtype/int64.json @@ -1 +1 @@ -{"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"int64","kind":"identifier"}],"languages":["swift"]}]}],"kind":"symbol","metadata":{"modules":[{"name":"SwiftNP"}],"title":"DType.int64","role":"symbol","symbolKind":"case","roleHeading":"Case","externalID":"s:7SwiftNP5DTypeO5int64yA2CmF","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"int64"}]},"variants":[{"paths":["\/documentation\/swiftnp\/dtype\/int64"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int64","interfaceLanguage":"swift"},"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType/int64":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"int64","kind":"identifier"}],"role":"symbol","url":"\/documentation\/swiftnp\/dtype\/int64","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int64","abstract":[],"type":"topic","kind":"symbol","title":"DType.int64"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"int64"}]}],"kind":"declarations"}],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"metadata":{"role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"int64","kind":"identifier"}],"symbolKind":"case","modules":[{"name":"SwiftNP"}],"externalID":"s:7SwiftNP5DTypeO5int64yA2CmF","roleHeading":"Case","title":"DType.int64"},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int64"},"variants":[{"paths":["\/documentation\/swiftnp\/dtype\/int64"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP/DType/int64":{"title":"DType.int64","type":"topic","abstract":[],"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int64","url":"\/documentation\/swiftnp\/dtype\/int64","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"int64","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/int8.json b/docs/data/documentation/swiftnp/dtype/int8.json index 286654d..6a72665 100644 --- a/docs/data/documentation/swiftnp/dtype/int8.json +++ b/docs/data/documentation/swiftnp/dtype/int8.json @@ -1 +1 @@ -{"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"metadata":{"role":"symbol","roleHeading":"Case","externalID":"s:7SwiftNP5DTypeO4int8yA2CmF","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"int8","kind":"identifier"}],"modules":[{"name":"SwiftNP"}],"symbolKind":"case","title":"DType.int8"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"int8","kind":"identifier"}]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int8"},"variants":[{"paths":["\/documentation\/swiftnp\/dtype\/int8"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"references":{"doc://SwiftNP/documentation/SwiftNP/DType/int8":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"int8"}],"role":"symbol","url":"\/documentation\/swiftnp\/dtype\/int8","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int8","type":"topic","abstract":[],"kind":"symbol","title":"DType.int8"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"int8","kind":"identifier"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/int8"]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int8","interfaceLanguage":"swift"},"sections":[],"metadata":{"roleHeading":"Case","symbolKind":"case","title":"DType.int8","externalID":"s:7SwiftNP5DTypeO4int8yA2CmF","modules":[{"name":"SwiftNP"}],"role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"int8","kind":"identifier"}]},"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP/DType/int8":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"int8"}],"title":"DType.int8","kind":"symbol","url":"\/documentation\/swiftnp\/dtype\/int8","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/int8","type":"topic","abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/type.json b/docs/data/documentation/swiftnp/dtype/type.json index adcf2c3..62bf211 100644 --- a/docs/data/documentation/swiftnp/dtype/type.json +++ b/docs/data/documentation/swiftnp/dtype/type.json @@ -1 +1 @@ -{"metadata":{"title":"type","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"type"},{"text":": any ","kind":"text"},{"text":"Numeric","preciseIdentifier":"s:Sj","kind":"typeIdentifier"},{"kind":"text","text":".Type"}],"externalID":"s:7SwiftNP5DTypeO4typeSj_pXpvp","symbolKind":"property","modules":[{"name":"SwiftNP"}],"roleHeading":"Instance Property","role":"symbol"},"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/type","interfaceLanguage":"swift"},"sections":[],"variants":[{"paths":["\/documentation\/swiftnp\/dtype\/type"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"type"},{"text":": any ","kind":"text"},{"preciseIdentifier":"s:Sj","text":"Numeric","kind":"typeIdentifier"},{"kind":"text","text":".Type { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"]}]},{"kind":"content","content":[{"text":"Return Value","level":2,"type":"heading","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"The type associated with the DType case.","type":"text"}]}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"abstract":[{"text":"Returns the corresponding numeric type for the DType.","type":"text"}],"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType/type":{"abstract":[{"type":"text","text":"Returns the corresponding numeric type for the DType."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/type","title":"type","url":"\/documentation\/swiftnp\/dtype\/type","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"type"},{"text":": any ","kind":"text"},{"text":"Numeric","kind":"typeIdentifier","preciseIdentifier":"s:Sj"},{"text":".Type","kind":"text"}],"role":"symbol","kind":"symbol","type":"topic"}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"type"},{"text":": any ","kind":"text"},{"kind":"typeIdentifier","text":"Numeric","preciseIdentifier":"s:Sj"},{"kind":"text","text":".Type"}],"role":"symbol","roleHeading":"Instance Property","title":"type","externalID":"s:7SwiftNP5DTypeO4typeSj_pXpvp","modules":[{"name":"SwiftNP"}],"symbolKind":"property"},"kind":"symbol","sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"type","kind":"identifier"},{"kind":"text","text":": any "},{"text":"Numeric","preciseIdentifier":"s:Sj","kind":"typeIdentifier"},{"kind":"text","text":".Type { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"content","content":[{"level":2,"type":"heading","text":"Return Value","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The type associated with the DType case."}]}]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/type","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"abstract":[{"text":"Returns the corresponding numeric type for the DType.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/type"]}],"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP/DType/type":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/type","abstract":[{"type":"text","text":"Returns the corresponding numeric type for the DType."}],"url":"\/documentation\/swiftnp\/dtype\/type","kind":"symbol","type":"topic","title":"type","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"type","kind":"identifier"},{"text":": any ","kind":"text"},{"text":"Numeric","kind":"typeIdentifier","preciseIdentifier":"s:Sj"},{"text":".Type","kind":"text"}]},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/typeof(_:).json b/docs/data/documentation/swiftnp/dtype/typeof(_:).json index 4c5cec1..92f9f7d 100644 --- a/docs/data/documentation/swiftnp/dtype/typeof(_:).json +++ b/docs/data/documentation/swiftnp/dtype/typeof(_:).json @@ -1 +1 @@ -{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/typeOf(_:)","interfaceLanguage":"swift"},"metadata":{"role":"symbol","modules":[{"name":"SwiftNP"}],"symbolKind":"method","title":"typeOf(_:)","roleHeading":"Type Method","externalID":"s:7SwiftNP5DTypeO6typeOfyACSgSj_pFZ","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"typeOf"},{"text":"(any ","kind":"text"},{"kind":"typeIdentifier","text":"Numeric","preciseIdentifier":"s:Sj"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"DType","preciseIdentifier":"s:7SwiftNP5DTypeO"},{"text":"?","kind":"text"}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/typeof(_:)"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"typeOf"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"input"},{"kind":"text","text":": any "},{"text":"Numeric","kind":"typeIdentifier","preciseIdentifier":"s:Sj"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5DTypeO","text":"DType","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},{"kind":"text","text":"?"}],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"text":"A numeric value of any type.","type":"text"}]}],"name":"input"}]},{"kind":"content","content":[{"level":2,"anchor":"return-value","type":"heading","text":"Return Value"},{"inlineContent":[{"type":"text","text":"The corresponding DType, or nil if the input type is unsupported."}],"type":"paragraph"}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"abstract":[{"type":"text","text":"Determines the DType of a given numeric input."}],"sections":[],"references":{"doc://SwiftNP/documentation/SwiftNP/DType/typeOf(_:)":{"abstract":[{"type":"text","text":"Determines the DType of a given numeric input."}],"url":"\/documentation\/swiftnp\/dtype\/typeof(_:)","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/typeOf(_:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"typeOf"},{"text":"(any ","kind":"text"},{"text":"Numeric","kind":"typeIdentifier","preciseIdentifier":"s:Sj"},{"kind":"text","text":") -> "},{"text":"DType","preciseIdentifier":"s:7SwiftNP5DTypeO","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"kind":"symbol","type":"topic","title":"typeOf(_:)"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType":{"title":"DType","url":"\/documentation\/swiftnp\/dtype","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"DType"}]}}} \ No newline at end of file +{"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"typeOf"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"input"},{"text":": any ","kind":"text"},{"text":"Numeric","kind":"typeIdentifier","preciseIdentifier":"s:Sj"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","preciseIdentifier":"s:7SwiftNP5DTypeO","text":"DType"},{"kind":"text","text":"?"}],"languages":["swift"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"text":"A numeric value of any type.","type":"text"}]}],"name":"input"}]},{"kind":"content","content":[{"anchor":"return-value","text":"Return Value","type":"heading","level":2},{"inlineContent":[{"text":"The corresponding DType, or nil if the input type is unsupported.","type":"text"}],"type":"paragraph"}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"variants":[{"paths":["\/documentation\/swiftnp\/dtype\/typeof(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"externalID":"s:7SwiftNP5DTypeO6typeOfyACSgSj_pFZ","roleHeading":"Type Method","title":"typeOf(_:)","role":"symbol","symbolKind":"method","modules":[{"name":"SwiftNP"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"typeOf"},{"kind":"text","text":"(any "},{"preciseIdentifier":"s:Sj","kind":"typeIdentifier","text":"Numeric"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5DTypeO","text":"DType"},{"text":"?","kind":"text"}]},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/typeOf(_:)"},"abstract":[{"type":"text","text":"Determines the DType of a given numeric input."}],"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP/DType/typeOf(_:)":{"type":"topic","kind":"symbol","role":"symbol","title":"typeOf(_:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"typeOf","kind":"identifier"},{"kind":"text","text":"(any "},{"text":"Numeric","kind":"typeIdentifier","preciseIdentifier":"s:Sj"},{"text":") -> ","kind":"text"},{"text":"DType","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5DTypeO"},{"kind":"text","text":"?"}],"url":"\/documentation\/swiftnp\/dtype\/typeof(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/typeOf(_:)","abstract":[{"type":"text","text":"Determines the DType of a given numeric input."}]},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/uint16.json b/docs/data/documentation/swiftnp/dtype/uint16.json index 117326d..a83a296 100644 --- a/docs/data/documentation/swiftnp/dtype/uint16.json +++ b/docs/data/documentation/swiftnp/dtype/uint16.json @@ -1 +1 @@ -{"sections":[],"metadata":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"uint16"}],"modules":[{"name":"SwiftNP"}],"title":"DType.uint16","roleHeading":"Case","role":"symbol","externalID":"s:7SwiftNP5DTypeO6uint16yA2CmF","symbolKind":"case"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint16"},"variants":[{"paths":["\/documentation\/swiftnp\/dtype\/uint16"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"uint16"}]}]}],"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType/uint16":{"abstract":[],"title":"DType.uint16","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"uint16","kind":"identifier"}],"type":"topic","url":"\/documentation\/swiftnp\/dtype\/uint16","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint16"}}} \ No newline at end of file +{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint16","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"uint16","kind":"identifier"}],"roleHeading":"Case","title":"DType.uint16","role":"symbol","externalID":"s:7SwiftNP5DTypeO6uint16yA2CmF","modules":[{"name":"SwiftNP"}],"symbolKind":"case"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/uint16"]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"uint16"}],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"references":{"doc://SwiftNP/documentation/SwiftNP/DType/uint16":{"abstract":[],"url":"\/documentation\/swiftnp\/dtype\/uint16","title":"DType.uint16","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint16","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"uint16","kind":"identifier"}],"kind":"symbol","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/uint32.json b/docs/data/documentation/swiftnp/dtype/uint32.json index a306ba3..d4e1b77 100644 --- a/docs/data/documentation/swiftnp/dtype/uint32.json +++ b/docs/data/documentation/swiftnp/dtype/uint32.json @@ -1 +1 @@ -{"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"metadata":{"modules":[{"name":"SwiftNP"}],"externalID":"s:7SwiftNP5DTypeO6uint32yA2CmF","title":"DType.uint32","role":"symbol","symbolKind":"case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"uint32"}],"roleHeading":"Case"},"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/uint32"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"uint32","kind":"identifier"}]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint32"},"references":{"doc://SwiftNP/documentation/SwiftNP/DType/uint32":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"uint32","kind":"identifier"}],"abstract":[],"role":"symbol","url":"\/documentation\/swiftnp\/dtype\/uint32","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint32","type":"topic","title":"DType.uint32","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"variants":[{"paths":["\/documentation\/swiftnp\/dtype\/uint32"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"externalID":"s:7SwiftNP5DTypeO6uint32yA2CmF","role":"symbol","symbolKind":"case","modules":[{"name":"SwiftNP"}],"roleHeading":"Case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"uint32","kind":"identifier"}],"title":"DType.uint32"},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"uint32","kind":"identifier"}],"platforms":["macOS"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint32"},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://SwiftNP/documentation/SwiftNP/DType/uint32":{"abstract":[],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"uint32"}],"role":"symbol","title":"DType.uint32","url":"\/documentation\/swiftnp\/dtype\/uint32","type":"topic","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint32"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/uint64.json b/docs/data/documentation/swiftnp/dtype/uint64.json index c96a4cd..65d4058 100644 --- a/docs/data/documentation/swiftnp/dtype/uint64.json +++ b/docs/data/documentation/swiftnp/dtype/uint64.json @@ -1 +1 @@ -{"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"uint64","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/uint64"]}],"metadata":{"modules":[{"name":"SwiftNP"}],"symbolKind":"case","roleHeading":"Case","role":"symbol","title":"DType.uint64","externalID":"s:7SwiftNP5DTypeO6uint64yA2CmF","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"uint64"}]},"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint64","interfaceLanguage":"swift"},"sections":[],"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType/uint64":{"title":"DType.uint64","abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint64","url":"\/documentation\/swiftnp\/dtype\/uint64","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"uint64"}]},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"}}} \ No newline at end of file +{"metadata":{"role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"uint64","kind":"identifier"}],"roleHeading":"Case","symbolKind":"case","title":"DType.uint64","modules":[{"name":"SwiftNP"}],"externalID":"s:7SwiftNP5DTypeO6uint64yA2CmF"},"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/uint64"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"uint64"}],"languages":["swift"],"platforms":["macOS"]}]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint64","interfaceLanguage":"swift"},"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"navigatorTitle":[{"text":"DType","kind":"identifier"}],"title":"DType","role":"symbol","url":"\/documentation\/swiftnp\/dtype","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DType"}],"abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"type":"topic"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/DType/uint64":{"kind":"symbol","abstract":[],"role":"symbol","title":"DType.uint64","url":"\/documentation\/swiftnp\/dtype\/uint64","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint64","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"uint64","kind":"identifier"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/dtype/uint8.json b/docs/data/documentation/swiftnp/dtype/uint8.json index e332c79..3fd1000 100644 --- a/docs/data/documentation/swiftnp/dtype/uint8.json +++ b/docs/data/documentation/swiftnp/dtype/uint8.json @@ -1 +1 @@ -{"metadata":{"symbolKind":"case","title":"DType.uint8","modules":[{"name":"SwiftNP"}],"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"uint8","kind":"identifier"}],"externalID":"s:7SwiftNP5DTypeO5uint8yA2CmF","roleHeading":"Case","role":"symbol"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint8"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"uint8","kind":"identifier"}],"languages":["swift"],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/uint8"]}],"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType/uint8":{"title":"DType.uint8","type":"topic","url":"\/documentation\/swiftnp\/dtype\/uint8","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint8","abstract":[],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"uint8"}],"kind":"symbol","role":"symbol"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"uint8","kind":"identifier"}],"platforms":["macOS"]}]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint8","interfaceLanguage":"swift"},"sections":[],"metadata":{"title":"DType.uint8","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"uint8","kind":"identifier"}],"role":"symbol","symbolKind":"case","externalID":"s:7SwiftNP5DTypeO5uint8yA2CmF","modules":[{"name":"SwiftNP"}],"roleHeading":"Case"},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/dtype\/uint8"]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"]]},"references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/DType/uint8":{"title":"DType.uint8","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"uint8"}],"abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType\/uint8","kind":"symbol","url":"\/documentation\/swiftnp\/dtype\/uint8"},"doc://SwiftNP/documentation/SwiftNP/DType":{"navigatorTitle":[{"text":"DType","kind":"identifier"}],"title":"DType","role":"symbol","url":"\/documentation\/swiftnp\/dtype","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"DType"}],"abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray.json b/docs/data/documentation/swiftnp/ndarray.json index c39a8c8..d8ea346 100644 --- a/docs/data/documentation/swiftnp/ndarray.json +++ b/docs/data/documentation/swiftnp/ndarray.json @@ -1 +1 @@ -{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray"]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","topicSections":[{"anchor":"Initializers","generated":true,"title":"Initializers","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/init(shape:dtype:defaultValue:)"]},{"generated":true,"title":"Instance Properties","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/description","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/dtype","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/isScalar","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/ndim","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/shape","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/size"],"anchor":"Instance-Properties"},{"anchor":"Instance-Methods","generated":true,"title":"Instance Methods","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/add(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/divide(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/multiply(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/reshape(to:order:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/subtract(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/toString()"]}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"type":"text","text":"This class conforms to CustomStringConvertible for custom string representation."}],"relationshipsSections":[{"title":"Conforms To","type":"conformsTo","identifiers":["doc:\/\/SwiftNP\/s23CustomStringConvertibleP"],"kind":"relationships"}],"sections":[],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"final","kind":"keyword"},{"kind":"text","text":" "},{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]}],"kind":"declarations"}],"metadata":{"modules":[{"name":"SwiftNP"}],"title":"NDArray","role":"symbol","externalID":"s:7SwiftNP7NDArrayC","symbolKind":"class","roleHeading":"Class","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}],"navigatorTitle":[{"text":"NDArray","kind":"identifier"}]},"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/toString()":{"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/toString()","title":"toString()","abstract":[{"type":"text","text":"Returns a string representation of the NDArray including its shape, dtype, and data."}],"type":"topic","url":"\/documentation\/swiftnp\/ndarray\/tostring()","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"toString"},{"text":"() -> ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray/reshape(to:order:)":{"abstract":[{"type":"text","text":"Reshapes the NDArray to the specified shape and order."}],"title":"reshape(to:order:)","url":"\/documentation\/swiftnp\/ndarray\/reshape(to:order:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/reshape(to:order:)","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"reshape"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Shape","preciseIdentifier":"s:7SwiftNP5Shapea"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"order"},{"kind":"text","text":": "},{"text":"ReshapeOrder","preciseIdentifier":"s:7SwiftNP12ReshapeOrderO","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier","text":"SNPError"},{"kind":"text","text":") -> "},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray/init(shape:dtype:defaultValue:)":{"kind":"symbol","fragments":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"shape"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"kind":"text","text":"], "},{"text":"dtype","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DType","preciseIdentifier":"s:7SwiftNP5DTypeO"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"defaultValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSNumber","text":"NSNumber"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"text":")","kind":"text"}],"url":"\/documentation\/swiftnp\/ndarray\/init(shape:dtype:defaultvalue:)","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/init(shape:dtype:defaultValue:)","role":"symbol","title":"init(shape:dtype:defaultValue:)","abstract":[{"text":"Initializes an NDArray with a specified shape, data type, and default value.","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray/multiply(_:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/multiply(_:)","role":"symbol","url":"\/documentation\/swiftnp\/ndarray\/multiply(_:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"multiply","kind":"identifier"},{"text":"(","kind":"text"},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"text":"?","kind":"text"}],"kind":"symbol","abstract":[],"type":"topic","title":"multiply(_:)"},"doc://SwiftNP/documentation/SwiftNP/NDArray/size":{"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/ndarray\/size","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"size","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"The total number of elements in the NDArray."}],"title":"size","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/size"},"doc://SwiftNP/documentation/SwiftNP/NDArray/shape":{"role":"symbol","title":"shape","url":"\/documentation\/swiftnp\/ndarray\/shape","kind":"symbol","abstract":[{"text":"The shape of the NDArray, represented as an array of integers.","type":"text"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/shape","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"shape","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Shape","preciseIdentifier":"s:7SwiftNP5Shapea"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray/subtract(_:)":{"url":"\/documentation\/swiftnp\/ndarray\/subtract(_:)","kind":"symbol","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"subtract","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"},{"kind":"text","text":"?"}],"abstract":[],"title":"subtract(_:)","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/subtract(_:)"},"doc://SwiftNP/documentation/SwiftNP/NDArray/description":{"role":"symbol","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/description","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"description"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"url":"\/documentation\/swiftnp\/ndarray\/description","type":"topic","abstract":[{"text":"A string representation of the NDArray, displaying its data.","type":"text"}],"title":"description"},"doc://SwiftNP/documentation/SwiftNP/NDArray/isScalar":{"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"isScalar","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/isScalar","url":"\/documentation\/swiftnp\/ndarray\/isscalar","title":"isScalar","abstract":[{"type":"text","text":"A Boolean indicating whether the NDArray is a scalar (i.e., has no dimensions)."}],"type":"topic"},"doc://SwiftNP/documentation/SwiftNP/NDArray/add(_:)":{"type":"topic","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/add(_:)","url":"\/documentation\/swiftnp\/ndarray\/add(_:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"add","kind":"identifier"},{"kind":"text","text":"("},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"text":"?","kind":"text"}],"title":"add(_:)"},"doc://SwiftNP/documentation/SwiftNP/NDArray/dtype":{"role":"symbol","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"dtype","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP5DTypeO","text":"DType","kind":"typeIdentifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/dtype","kind":"symbol","abstract":[{"type":"text","text":"The data type of the elements in the NDArray."}],"type":"topic","title":"dtype","url":"\/documentation\/swiftnp\/ndarray\/dtype"},"doc://SwiftNP/s23CustomStringConvertibleP":{"title":"Swift.CustomStringConvertible","type":"unresolvable","identifier":"doc:\/\/SwiftNP\/s23CustomStringConvertibleP"},"doc://SwiftNP/documentation/SwiftNP/NDArray/ndim":{"kind":"symbol","title":"ndim","abstract":[{"type":"text","text":"The number of dimensions of the NDArray."}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/ndarray\/ndim","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"ndim"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/ndim"},"doc://SwiftNP/documentation/SwiftNP/NDArray/divide(_:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/divide(_:)","url":"\/documentation\/swiftnp\/ndarray\/divide(_:)","title":"divide(_:)","abstract":[],"kind":"symbol","role":"symbol","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"divide","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"text":"?","kind":"text"}]}}} \ No newline at end of file +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray"]}],"topicSections":[{"generated":true,"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/*(_:_:)-7zs0q","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/*(_:_:)-9bupv","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/*(_:_:)-9hujx","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/+(_:_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/-(_:_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/==(_:_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/_(_:_:)-6qg4x","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/_(_:_:)-7clpm"],"title":"Operators","anchor":"Operators"},{"title":"Initializers","anchor":"Initializers","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/init(shape:dtype:defaultValue:)"],"generated":true},{"anchor":"Instance-Properties","title":"Instance Properties","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/description","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/dtype","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/isScalar","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/ndim","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/shape","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/size"],"generated":true},{"generated":true,"anchor":"Instance-Methods","title":"Instance Methods","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/reshape(to:order:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/toString()"]},{"generated":true,"anchor":"Default-Implementations","title":"Default Implementations","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/Equatable-Implementations"]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","interfaceLanguage":"swift"},"sections":[],"relationshipsSections":[{"title":"Conforms To","kind":"relationships","type":"conformsTo","identifiers":["doc:\/\/SwiftNP\/s23CustomStringConvertibleP","doc:\/\/SwiftNP\/SQ"]}],"metadata":{"title":"NDArray","externalID":"s:7SwiftNP7NDArrayC","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}],"roleHeading":"Class","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"symbolKind":"class","role":"symbol","modules":[{"name":"SwiftNP"}]},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"final","kind":"keyword"},{"text":" ","kind":"text"},{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"NDArray","kind":"identifier"}],"languages":["swift"]}]}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"text":" ","type":"text"},{"type":"text","text":"This class conforms to CustomStringConvertible for custom string representation."}],"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/-(_:_:)":{"title":"-(_:_:)","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray\/-(_:_:)","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/-(_:_:)","role":"symbol","abstract":[{"text":"Subtracts two NDArrays element-wise","type":"text"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"-"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"kind":"text","text":", "},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray/Equatable-Implementations":{"type":"topic","abstract":[],"kind":"article","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/Equatable-Implementations","url":"\/documentation\/swiftnp\/ndarray\/equatable-implementations","role":"collectionGroup","title":"Equatable Implementations"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/NDArray/reshape(to:order:)":{"title":"reshape(to:order:)","kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/reshape(to:order:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"reshape","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Shape","preciseIdentifier":"s:7SwiftNP5Shapea","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"order"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"ReshapeOrder","preciseIdentifier":"s:7SwiftNP12ReshapeOrderO"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier","text":"SNPError"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"}],"url":"\/documentation\/swiftnp\/ndarray\/reshape(to:order:)","role":"symbol","abstract":[{"type":"text","text":"Reshapes the NDArray to the specified shape and order."}]},"doc://SwiftNP/documentation/SwiftNP/NDArray/+(_:_:)":{"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/+(_:_:)","url":"\/documentation\/swiftnp\/ndarray\/+(_:_:)","type":"topic","title":"+(_:_:)","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"+","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"kind":"text","text":", "},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"text":"SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"}],"abstract":[{"text":"Adds two NDArrays element-wise","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray/*(_:_:)-9bupv":{"title":"*(_:_:)","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray\/*(_:_:)-9bupv","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/*(_:_:)-9bupv","role":"symbol","abstract":[{"type":"text","text":"Multiplies an NDArray by a scalar"}],"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"*","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"Double","kind":"typeIdentifier","preciseIdentifier":"s:Sd"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"text":"SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray/dtype":{"title":"dtype","type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"dtype","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5DTypeO","text":"DType"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/dtype","kind":"symbol","role":"symbol","abstract":[{"text":"The data type of the elements in the NDArray.","type":"text"}],"url":"\/documentation\/swiftnp\/ndarray\/dtype"},"doc://SwiftNP/documentation/SwiftNP/NDArray/_(_:_:)-6qg4x":{"title":"\/(_:_:)","kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/_(_:_:)-6qg4x","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"\/","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"kind":"text","text":", "},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier","text":"SNPError"},{"text":") -> ","kind":"text"},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"}],"url":"\/documentation\/swiftnp\/ndarray\/_(_:_:)-6qg4x","role":"symbol","abstract":[{"text":"Divides two NDArrays element-wise","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray/description":{"url":"\/documentation\/swiftnp\/ndarray\/description","type":"topic","title":"description","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"description","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"abstract":[{"type":"text","text":"A string representation of the NDArray, displaying its data."}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/description"},"doc://SwiftNP/documentation/SwiftNP/NDArray/isScalar":{"url":"\/documentation\/swiftnp\/ndarray\/isscalar","type":"topic","title":"isScalar","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/isScalar","abstract":[{"text":"A Boolean indicating whether the NDArray is a scalar (i.e., has no dimensions).","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"isScalar","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"role":"symbol","kind":"symbol"},"doc://SwiftNP/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/SwiftNP\/s23CustomStringConvertibleP"},"doc://SwiftNP/documentation/SwiftNP/NDArray/shape":{"title":"shape","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/shape","role":"symbol","url":"\/documentation\/swiftnp\/ndarray\/shape","type":"topic","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"shape"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7SwiftNP5Shapea","text":"Shape","kind":"typeIdentifier"}],"abstract":[{"type":"text","text":"The shape of the NDArray, represented as an array of integers."}]},"doc://SwiftNP/documentation/SwiftNP/NDArray/size":{"title":"size","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"size","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/size","url":"\/documentation\/swiftnp\/ndarray\/size","role":"symbol","abstract":[{"type":"text","text":"The total number of elements in the NDArray."}],"kind":"symbol"},"doc://SwiftNP/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/SwiftNP\/SQ"},"doc://SwiftNP/documentation/SwiftNP/NDArray/==(_:_:)":{"abstract":[{"text":"Compares two NDArray instances for equality.","type":"text"}],"url":"\/documentation\/swiftnp\/ndarray\/==(_:_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/==(_:_:)","title":"==(_:_:)","type":"topic","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"==","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"kind":"text","text":", "},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/NDArray/*(_:_:)-7zs0q":{"kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/*(_:_:)-7zs0q","abstract":[{"type":"text","text":"Multiplies an NDArray by a scalar"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray\/*(_:_:)-7zs0q","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"*","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"text":", ","kind":"text"},{"text":"Double","preciseIdentifier":"s:Sd","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"text":"SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"}],"title":"*(_:_:)"},"doc://SwiftNP/documentation/SwiftNP/NDArray/init(shape:dtype:defaultValue:)":{"abstract":[{"type":"text","text":"Initializes an NDArray with a specified shape, data type, and default value."}],"url":"\/documentation\/swiftnp\/ndarray\/init(shape:dtype:defaultvalue:)","kind":"symbol","role":"symbol","title":"init(shape:dtype:defaultValue:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/init(shape:dtype:defaultValue:)","fragments":[{"text":"convenience","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"shape","kind":"externalParam"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"text":"], ","kind":"text"},{"text":"dtype","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5DTypeO","text":"DType"},{"kind":"text","text":", "},{"text":"defaultValue","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"NSNumber","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSNumber"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError"},{"text":")","kind":"text"}],"type":"topic"},"doc://SwiftNP/documentation/SwiftNP/NDArray/_(_:_:)-7clpm":{"kind":"symbol","url":"\/documentation\/swiftnp\/ndarray\/_(_:_:)-7clpm","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/_(_:_:)-7clpm","abstract":[{"text":"Divides an NDArray by a scalar","type":"text"}],"title":"\/(_:_:)","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"\/"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Double","kind":"typeIdentifier","preciseIdentifier":"s:Sd"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier","text":"SNPError"},{"text":") -> ","kind":"text"},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}],"type":"topic"},"doc://SwiftNP/documentation/SwiftNP/NDArray/toString()":{"type":"topic","abstract":[{"type":"text","text":"Returns a string representation of the NDArray including its shape, dtype, and data."}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"toString"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/toString()","url":"\/documentation\/swiftnp\/ndarray\/tostring()","title":"toString()","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/NDArray/ndim":{"kind":"symbol","abstract":[{"type":"text","text":"The number of dimensions of the NDArray."}],"title":"ndim","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ndim","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/ndim","role":"symbol","type":"topic","url":"\/documentation\/swiftnp\/ndarray\/ndim"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/NDArray/*(_:_:)-9hujx":{"kind":"symbol","title":"*(_:_:)","type":"topic","abstract":[{"type":"text","text":"Multiplies two NDArrays element-wise"}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"*","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}],"url":"\/documentation\/swiftnp\/ndarray\/*(_:_:)-9hujx","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/*(_:_:)-9hujx","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/!=(_:_:).json b/docs/data/documentation/swiftnp/ndarray/!=(_:_:).json new file mode 100644 index 0000000..1053864 --- /dev/null +++ b/docs/data/documentation/swiftnp/ndarray/!=(_:_:).json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/!=(_:_:)","interfaceLanguage":"swift"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/Equatable-Implementations"]]},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"type":"text","text":"."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray\/!=(_:_:)"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"kind":"internalParam","text":"lhs"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"platforms":["macOS"],"languages":["swift"]}]}],"metadata":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"title":"!=(_:_:)","role":"symbol","extendedModule":"Swift","modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"symbolKind":"op","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:7SwiftNP7NDArrayC","roleHeading":"Operator"},"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/Equatable-Implementations":{"type":"topic","abstract":[],"kind":"article","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/Equatable-Implementations","url":"\/documentation\/swiftnp\/ndarray\/equatable-implementations","role":"collectionGroup","title":"Equatable Implementations"},"doc://SwiftNP/documentation/SwiftNP/NDArray/!=(_:_:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/!=(_:_:)","abstract":[],"role":"symbol","type":"topic","url":"\/documentation\/swiftnp\/ndarray\/!=(_:_:)","kind":"symbol","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}]},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/*(_:_:)-7zs0q.json b/docs/data/documentation/swiftnp/ndarray/*(_:_:)-7zs0q.json new file mode 100644 index 0000000..66fce63 --- /dev/null +++ b/docs/data/documentation/swiftnp/ndarray/*(_:_:)-7zs0q.json @@ -0,0 +1 @@ +{"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/*(_:_:)-7zs0q"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/*(_:_:)-7zs0q"},"abstract":[{"text":"Multiplies an NDArray by a scalar","type":"text"}],"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"*","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"lhs","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","text":"NDArray"},{"text":", ","kind":"text"},{"kind":"internalParam","text":"scalar"},{"text":": ","kind":"text"},{"text":"Double","preciseIdentifier":"s:Sd","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","kind":"typeIdentifier","text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"NDArray","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"}]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"type":"text","text":"The NDArray to be multiplied."}],"type":"paragraph"}],"name":"lhs"},{"content":[{"inlineContent":[{"type":"text","text":"The scalar value to multiply each element by."}],"type":"paragraph"}],"name":"scalar"}]},{"kind":"content","content":[{"type":"heading","level":2,"text":"Return Value","anchor":"return-value"},{"inlineContent":[{"type":"text","text":"A new NDArray with each element multiplied by the scalar."}],"type":"paragraph"}]},{"kind":"content","content":[{"text":"Discussion","anchor":"discussion","type":"heading","level":2},{"name":"Throws","style":"note","content":[{"inlineContent":[{"type":"text","text":"SNPError in case of computation errors."}],"type":"paragraph"}],"type":"aside"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"*","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"kind":"text","text":", "},{"text":"Double","preciseIdentifier":"s:Sd","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError"},{"kind":"text","text":") -> "},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}],"title":"*(_:_:)","externalID":"s:7SwiftNP7NDArrayC1moiyA2C_SdtAA8SNPErrorOYKFZ","role":"symbol","modules":[{"name":"SwiftNP"}],"symbolKind":"op","roleHeading":"Operator","extendedModule":"SwiftNP"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/NDArray/*(_:_:)-7zs0q":{"kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/*(_:_:)-7zs0q","abstract":[{"type":"text","text":"Multiplies an NDArray by a scalar"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray\/*(_:_:)-7zs0q","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"*","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"text":", ","kind":"text"},{"text":"Double","preciseIdentifier":"s:Sd","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"text":"SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"}],"title":"*(_:_:)"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/*(_:_:)-9bupv.json b/docs/data/documentation/swiftnp/ndarray/*(_:_:)-9bupv.json new file mode 100644 index 0000000..372a5fd --- /dev/null +++ b/docs/data/documentation/swiftnp/ndarray/*(_:_:)-9bupv.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/*(_:_:)-9bupv","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Multiplies an NDArray by a scalar"}],"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/*(_:_:)-9bupv"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"*","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"kind":"internalParam","text":"scalar"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"internalParam","text":"rhs"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","text":"NDArray"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","kind":"typeIdentifier","text":"SNPError"},{"text":") -> ","kind":"text"},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The scalar value to multiply each element by."}]}],"name":"scalar"},{"content":[{"inlineContent":[{"text":"The NDArray to be multiplied.","type":"text"}],"type":"paragraph"}],"name":"rhs"}]},{"kind":"content","content":[{"level":2,"type":"heading","text":"Return Value","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"A new NDArray with each element multiplied by the scalar.","type":"text"}]}]},{"kind":"content","content":[{"type":"heading","anchor":"discussion","level":2,"text":"Discussion"},{"name":"Throws","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"SNPError in case of computation errors."}]}],"type":"aside","style":"note"}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"title":"*(_:_:)","roleHeading":"Operator","modules":[{"name":"SwiftNP"}],"externalID":"s:7SwiftNP7NDArrayC1moiyACSd_ACtAA8SNPErrorOYKFZ","extendedModule":"SwiftNP","role":"symbol","symbolKind":"op","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"*","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"Double","kind":"typeIdentifier","preciseIdentifier":"s:Sd"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"kind":"text","text":") -> "},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"}]},"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/NDArray/*(_:_:)-9bupv":{"abstract":[{"type":"text","text":"Multiplies an NDArray by a scalar"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/*(_:_:)-9bupv","title":"*(_:_:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"*"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"Double","preciseIdentifier":"s:Sd","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier","text":"SNPError"},{"kind":"text","text":") -> "},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}],"kind":"symbol","type":"topic","url":"\/documentation\/swiftnp\/ndarray\/*(_:_:)-9bupv","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/*(_:_:)-9hujx.json b/docs/data/documentation/swiftnp/ndarray/*(_:_:)-9hujx.json new file mode 100644 index 0000000..2ebe900 --- /dev/null +++ b/docs/data/documentation/swiftnp/ndarray/*(_:_:)-9hujx.json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/*(_:_:)-9hujx","interfaceLanguage":"swift"},"metadata":{"externalID":"s:7SwiftNP7NDArrayC1moiyA2C_ACtAA8SNPErrorOYKFZ","role":"symbol","roleHeading":"Operator","modules":[{"name":"SwiftNP"}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"*","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"text":"SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"}],"extendedModule":"SwiftNP","title":"*(_:_:)","symbolKind":"op"},"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"abstract":[{"type":"text","text":"Multiplies two NDArrays element-wise"}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"lhs","kind":"internalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"rhs","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","text":"NDArray"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError"},{"kind":"text","text":") -> "},{"text":"NDArray","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"},{"parameters":[{"name":"lhs","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The left-hand side NDArray in the multiplication."}]}]},{"name":"rhs","content":[{"inlineContent":[{"text":"The right-hand side NDArray in the multiplication.","type":"text"}],"type":"paragraph"}]}],"kind":"parameters"},{"kind":"content","content":[{"text":"Return Value","type":"heading","anchor":"return-value","level":2},{"inlineContent":[{"type":"text","text":"A new NDArray representing the result of element-wise multiplication."}],"type":"paragraph"}]},{"kind":"content","content":[{"level":2,"text":"Discussion","anchor":"discussion","type":"heading"},{"name":"Throws","type":"aside","style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"SNPError if the shapes of the NDArrays are incompatible."}]}]}]}],"kind":"symbol","schemaVersion":{"patch":0,"minor":3,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray\/*(_:_:)-9hujx"]}],"references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/NDArray/*(_:_:)-9hujx":{"kind":"symbol","title":"*(_:_:)","type":"topic","abstract":[{"type":"text","text":"Multiplies two NDArrays element-wise"}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"*","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}],"url":"\/documentation\/swiftnp\/ndarray\/*(_:_:)-9hujx","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/*(_:_:)-9hujx","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/+(_:_:).json b/docs/data/documentation/swiftnp/ndarray/+(_:_:).json new file mode 100644 index 0000000..5304fe4 --- /dev/null +++ b/docs/data/documentation/swiftnp/ndarray/+(_:_:).json @@ -0,0 +1 @@ +{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/+(_:_:)","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"+","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"internalParam","text":"lhs"},{"kind":"text","text":": "},{"text":"NDArray","kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"kind":"text","text":", "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError"},{"text":") -> ","kind":"text"},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"typeIdentifier"}],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"name":"lhs","content":[{"inlineContent":[{"type":"text","text":"The left-hand side NDArray in the addition."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The right-hand side NDArray in the addition."}]}],"name":"rhs"}]},{"kind":"content","content":[{"level":2,"type":"heading","text":"Return Value","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"A new NDArray representing the result of element-wise addition.","type":"text"}]}]},{"kind":"content","content":[{"anchor":"discussion","type":"heading","level":2,"text":"Discussion"},{"style":"note","name":"Throws","type":"aside","content":[{"type":"paragraph","inlineContent":[{"text":"SNPError if the shapes of the NDArrays are incompatible.","type":"text"}]}]}]}],"metadata":{"modules":[{"name":"SwiftNP"}],"title":"+(_:_:)","extendedModule":"SwiftNP","roleHeading":"Operator","role":"symbol","externalID":"s:7SwiftNP7NDArrayC1poiyA2C_ACtAA8SNPErrorOYKFZ","symbolKind":"op","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"+","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"kind":"text","text":") -> "},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"}]},"kind":"symbol","abstract":[{"text":"Adds two NDArrays element-wise","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray\/+(_:_:)"]}],"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/+(_:_:)":{"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/+(_:_:)","url":"\/documentation\/swiftnp\/ndarray\/+(_:_:)","type":"topic","title":"+(_:_:)","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"+","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"kind":"text","text":", "},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"text":"SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"}],"abstract":[{"text":"Adds two NDArrays element-wise","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/-(_:_:).json b/docs/data/documentation/swiftnp/ndarray/-(_:_:).json new file mode 100644 index 0000000..d85389a --- /dev/null +++ b/docs/data/documentation/swiftnp/ndarray/-(_:_:).json @@ -0,0 +1 @@ +{"abstract":[{"text":"Subtracts two NDArrays element-wise","type":"text"}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/-(_:_:)","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/-(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"sections":[],"metadata":{"title":"-(_:_:)","symbolKind":"op","modules":[{"name":"SwiftNP"}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"-","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"kind":"text","text":", "},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}],"externalID":"s:7SwiftNP7NDArrayC1soiyA2C_ACtAA8SNPErrorOYKFZ","extendedModule":"SwiftNP","roleHeading":"Operator","role":"symbol"},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"-","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"internalParam","text":"lhs"},{"kind":"text","text":": "},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"rhs","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","kind":"typeIdentifier","text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"kind":"text","text":") -> "},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"type":"text","text":"The left-hand side NDArray in the subtraction."}],"type":"paragraph"}],"name":"lhs"},{"content":[{"inlineContent":[{"type":"text","text":"The right-hand side NDArray in the subtraction."}],"type":"paragraph"}],"name":"rhs"}]},{"content":[{"text":"Return Value","anchor":"return-value","type":"heading","level":2},{"inlineContent":[{"text":"A new NDArray representing the result of element-wise subtraction.","type":"text"}],"type":"paragraph"}],"kind":"content"},{"kind":"content","content":[{"anchor":"discussion","level":2,"text":"Discussion","type":"heading"},{"name":"Throws","type":"aside","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"SNPError if the shapes of the NDArrays are incompatible."}]}],"style":"note"}]}],"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP/NDArray/-(_:_:)":{"title":"-(_:_:)","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray\/-(_:_:)","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/-(_:_:)","role":"symbol","abstract":[{"text":"Subtracts two NDArrays element-wise","type":"text"}],"fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"-"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"kind":"text","text":", "},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"}]},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/==(_:_:).json b/docs/data/documentation/swiftnp/ndarray/==(_:_:).json new file mode 100644 index 0000000..bf4871b --- /dev/null +++ b/docs/data/documentation/swiftnp/ndarray/==(_:_:).json @@ -0,0 +1 @@ +{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/==(_:_:)","interfaceLanguage":"swift"},"kind":"symbol","abstract":[{"text":"Compares two NDArray instances for equality.","type":"text"}],"sections":[],"metadata":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"==","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"modules":[{"name":"SwiftNP"}],"symbolKind":"op","role":"symbol","title":"==(_:_:)","roleHeading":"Operator","externalID":"s:7SwiftNP7NDArrayC2eeoiySbAC_ACtFZ"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/==(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"==","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"kind":"internalParam","text":"lhs"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"},{"kind":"text","text":", "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"typeIdentifier","text":"NDArray"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}]}],"kind":"declarations"},{"parameters":[{"name":"lhs","content":[{"type":"paragraph","inlineContent":[{"text":"The left-hand side NDArray to compare.","type":"text"}]}]},{"name":"rhs","content":[{"type":"paragraph","inlineContent":[{"text":"The right-hand side NDArray to compare.","type":"text"}]}]}],"kind":"parameters"},{"kind":"content","content":[{"anchor":"return-value","type":"heading","text":"Return Value","level":2},{"type":"paragraph","inlineContent":[{"type":"text","text":"A boolean indicating whether the two NDArray instances are equal."}]}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/NDArray/==(_:_:)":{"abstract":[{"text":"Compares two NDArray instances for equality.","type":"text"}],"url":"\/documentation\/swiftnp\/ndarray\/==(_:_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/==(_:_:)","title":"==(_:_:)","type":"topic","kind":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"==","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"kind":"text","text":", "},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/_(_:_:)-6qg4x.json b/docs/data/documentation/swiftnp/ndarray/_(_:_:)-6qg4x.json new file mode 100644 index 0000000..85cf690 --- /dev/null +++ b/docs/data/documentation/swiftnp/ndarray/_(_:_:)-6qg4x.json @@ -0,0 +1 @@ +{"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"roleHeading":"Operator","role":"symbol","externalID":"s:7SwiftNP7NDArrayC1doiyA2C_ACtAA8SNPErrorOYKFZ","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"\/","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"text":"SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"}],"title":"\/(_:_:)","symbolKind":"op","extendedModule":"SwiftNP","modules":[{"name":"SwiftNP"}]},"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/_(_:_:)-6qg4x","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"\/","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"lhs","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"},{"kind":"text","text":", "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","text":"SNPError"},{"text":") -> ","kind":"text"},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"}],"languages":["swift"],"platforms":["macOS"]}]},{"parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The left-hand side NDArray in the division."}]}],"name":"lhs"},{"name":"rhs","content":[{"type":"paragraph","inlineContent":[{"text":"The right-hand side NDArray in the division.","type":"text"}]}]}],"kind":"parameters"},{"kind":"content","content":[{"type":"heading","level":2,"text":"Return Value","anchor":"return-value"},{"inlineContent":[{"text":"A new NDArray representing the result of element-wise division.","type":"text"}],"type":"paragraph"}]},{"content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"style":"note","type":"aside","name":"Throws","content":[{"inlineContent":[{"text":"SNPError if the shapes of the NDArrays are incompatible.","type":"text"}],"type":"paragraph"}]}],"kind":"content"}],"kind":"symbol","abstract":[{"type":"text","text":"Divides two NDArrays element-wise"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray\/_(_:_:)-6qg4x"]}],"references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/NDArray/_(_:_:)-6qg4x":{"title":"\/(_:_:)","kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/_(_:_:)-6qg4x","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"\/","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"kind":"text","text":", "},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier","text":"SNPError"},{"text":") -> ","kind":"text"},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"}],"url":"\/documentation\/swiftnp\/ndarray\/_(_:_:)-6qg4x","role":"symbol","abstract":[{"text":"Divides two NDArrays element-wise","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/_(_:_:)-7clpm.json b/docs/data/documentation/swiftnp/ndarray/_(_:_:)-7clpm.json new file mode 100644 index 0000000..43c0515 --- /dev/null +++ b/docs/data/documentation/swiftnp/ndarray/_(_:_:)-7clpm.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"text":"Divides an NDArray by a scalar","type":"text"}],"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"\/","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"internalParam","text":"lhs"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"kind":"text","text":", "},{"kind":"internalParam","text":"scalar"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sd","text":"Double"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","text":"SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"NDArray","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"text":"The NDArray to be divided.","type":"text"}]}],"name":"lhs"},{"content":[{"type":"paragraph","inlineContent":[{"text":"The scalar value to divide each element by.","type":"text"}]}],"name":"scalar"}]},{"kind":"content","content":[{"type":"heading","level":2,"anchor":"return-value","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A new NDArray with each element divided by the scalar."}]}]},{"kind":"content","content":[{"anchor":"discussion","type":"heading","level":2,"text":"Discussion"},{"name":"Throws","type":"aside","style":"note","content":[{"type":"paragraph","inlineContent":[{"text":"SNPError in case of computation errors.","type":"text"}]}]}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"metadata":{"modules":[{"name":"SwiftNP"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"\/","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"Double","kind":"typeIdentifier","preciseIdentifier":"s:Sd"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"}],"extendedModule":"SwiftNP","symbolKind":"op","role":"symbol","roleHeading":"Operator","externalID":"s:7SwiftNP7NDArrayC1doiyA2C_SdtAA8SNPErrorOYKFZ","title":"\/(_:_:)"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/_(_:_:)-7clpm"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray\/_(_:_:)-7clpm"]}],"sections":[],"references":{"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP/NDArray/_(_:_:)-7clpm":{"kind":"symbol","url":"\/documentation\/swiftnp\/ndarray\/_(_:_:)-7clpm","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/_(_:_:)-7clpm","abstract":[{"text":"Divides an NDArray by a scalar","type":"text"}],"title":"\/(_:_:)","role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"\/"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Double","kind":"typeIdentifier","preciseIdentifier":"s:Sd"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier","text":"SNPError"},{"text":") -> ","kind":"text"},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}],"type":"topic"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/add(_:).json b/docs/data/documentation/swiftnp/ndarray/add(_:).json deleted file mode 100644 index 7a88ac7..0000000 --- a/docs/data/documentation/swiftnp/ndarray/add(_:).json +++ /dev/null @@ -1 +0,0 @@ -{"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","metadata":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"add","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"kind":"text","text":"?"}],"title":"add(_:)","modules":[{"name":"SwiftNP"}],"extendedModule":"SwiftNP","role":"symbol","symbolKind":"method","externalID":"s:7SwiftNP7NDArrayC3addyACSgACF","roleHeading":"Instance Method"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/add(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/add(_:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"add","kind":"identifier"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"other","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"},{"text":"?","kind":"text"}],"languages":["swift"]}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/add(_:)":{"type":"topic","role":"symbol","abstract":[],"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/add(_:)","url":"\/documentation\/swiftnp\/ndarray\/add(_:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"add","kind":"identifier"},{"kind":"text","text":"("},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"text":"?","kind":"text"}],"title":"add(_:)"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/description.json b/docs/data/documentation/swiftnp/ndarray/description.json index 436fc23..03ab585 100644 --- a/docs/data/documentation/swiftnp/ndarray/description.json +++ b/docs/data/documentation/swiftnp/ndarray/description.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"description","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"sections":[],"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/description"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","abstract":[{"type":"text","text":"A string representation of the NDArray, displaying its data."}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/description"},"metadata":{"externalID":"s:7SwiftNP7NDArrayC11descriptionSSvp","roleHeading":"Instance Property","modules":[{"name":"SwiftNP"}],"symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"description","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"role":"symbol","title":"description"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/description":{"role":"symbol","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/description","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"description"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"url":"\/documentation\/swiftnp\/ndarray\/description","type":"topic","abstract":[{"text":"A string representation of the NDArray, displaying its data.","type":"text"}],"title":"description"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]}}} \ No newline at end of file +{"sections":[],"metadata":{"modules":[{"name":"SwiftNP"}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}],"roleHeading":"Instance Property","title":"description","symbolKind":"property","role":"symbol","externalID":"s:7SwiftNP7NDArrayC11descriptionSSvp"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"abstract":[{"type":"text","text":"A string representation of the NDArray, displaying its data."}],"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"description","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/description"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/description","interfaceLanguage":"swift"},"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/description":{"url":"\/documentation\/swiftnp\/ndarray\/description","type":"topic","title":"description","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"description","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"abstract":[{"type":"text","text":"A string representation of the NDArray, displaying its data."}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/description"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/divide(_:).json b/docs/data/documentation/swiftnp/ndarray/divide(_:).json deleted file mode 100644 index 1013e70..0000000 --- a/docs/data/documentation/swiftnp/ndarray/divide(_:).json +++ /dev/null @@ -1 +0,0 @@ -{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/divide(_:)","interfaceLanguage":"swift"},"metadata":{"title":"divide(_:)","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"divide","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"text":"?","kind":"text"}],"externalID":"s:7SwiftNP7NDArrayC6divideyACSgACF","extendedModule":"SwiftNP","symbolKind":"method","roleHeading":"Instance Method","modules":[{"name":"SwiftNP"}]},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"sections":[],"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/divide(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"divide","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"other"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"},{"kind":"text","text":") -> "},{"text":"NDArray","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/divide(_:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/divide(_:)","url":"\/documentation\/swiftnp\/ndarray\/divide(_:)","title":"divide(_:)","abstract":[],"kind":"symbol","role":"symbol","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"divide","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"text":"?","kind":"text"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/dtype.json b/docs/data/documentation/swiftnp/ndarray/dtype.json index 7e83ea3..9771c8d 100644 --- a/docs/data/documentation/swiftnp/ndarray/dtype.json +++ b/docs/data/documentation/swiftnp/ndarray/dtype.json @@ -1 +1 @@ -{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/dtype","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"sections":[],"metadata":{"modules":[{"name":"SwiftNP"}],"symbolKind":"property","role":"symbol","externalID":"s:7SwiftNP7NDArrayC5dtypeAA5DTypeOvp","roleHeading":"Instance Property","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"dtype","kind":"identifier"},{"text":": ","kind":"text"},{"text":"DType","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5DTypeO"}],"title":"dtype"},"abstract":[{"type":"text","text":"The data type of the elements in the NDArray."}],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"dtype","kind":"identifier"},{"kind":"text","text":": "},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","preciseIdentifier":"s:7SwiftNP5DTypeO","text":"DType","kind":"typeIdentifier"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/dtype"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/dtype":{"role":"symbol","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"dtype","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP5DTypeO","text":"DType","kind":"typeIdentifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/dtype","kind":"symbol","abstract":[{"type":"text","text":"The data type of the elements in the NDArray."}],"type":"topic","title":"dtype","url":"\/documentation\/swiftnp\/ndarray\/dtype"},"doc://SwiftNP/documentation/SwiftNP":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","url":"\/documentation\/swiftnp","role":"collection","kind":"symbol","type":"topic","title":"SwiftNP","abstract":[]},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"}}} \ No newline at end of file +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/dtype"},"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"modules":[{"name":"SwiftNP"}],"title":"dtype","role":"symbol","externalID":"s:7SwiftNP7NDArrayC5dtypeAA5DTypeOvp","symbolKind":"property","roleHeading":"Instance Property","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"dtype"},{"kind":"text","text":": "},{"text":"DType","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5DTypeO"}]},"abstract":[{"type":"text","text":"The data type of the elements in the NDArray."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"dtype","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","text":"DType","preciseIdentifier":"s:7SwiftNP5DTypeO"}],"languages":["swift"]}]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/dtype"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/dtype":{"title":"dtype","type":"topic","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"dtype","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5DTypeO","text":"DType"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/dtype","kind":"symbol","role":"symbol","abstract":[{"text":"The data type of the elements in the NDArray.","type":"text"}],"url":"\/documentation\/swiftnp\/ndarray\/dtype"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/equatable-implementations.json b/docs/data/documentation/swiftnp/ndarray/equatable-implementations.json new file mode 100644 index 0000000..6e95188 --- /dev/null +++ b/docs/data/documentation/swiftnp/ndarray/equatable-implementations.json @@ -0,0 +1 @@ +{"metadata":{"modules":[{"name":"SwiftNP"}],"title":"Equatable Implementations","roleHeading":"API Collection","role":"collectionGroup"},"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/Equatable-Implementations","interfaceLanguage":"swift"},"kind":"article","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"topicSections":[{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/!=(_:_:)"],"anchor":"Operators","generated":true,"title":"Operators"}],"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/!=(_:_:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/!=(_:_:)","abstract":[],"role":"symbol","type":"topic","url":"\/documentation\/swiftnp\/ndarray\/!=(_:_:)","kind":"symbol","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/init(shape:dtype:defaultvalue:).json b/docs/data/documentation/swiftnp/ndarray/init(shape:dtype:defaultvalue:).json index 66798c2..af01476 100644 --- a/docs/data/documentation/swiftnp/ndarray/init(shape:dtype:defaultvalue:).json +++ b/docs/data/documentation/swiftnp/ndarray/init(shape:dtype:defaultvalue:).json @@ -1 +1 @@ -{"sections":[],"abstract":[{"type":"text","text":"Initializes an NDArray with a specified shape, data type, and default value."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"convenience","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"shape"},{"text":": [","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":"], ","kind":"text"},{"text":"dtype","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP5DTypeO","kind":"typeIdentifier","text":"DType","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},{"text":" = .float64, ","kind":"text"},{"text":"defaultValue","kind":"externalParam"},{"kind":"text","text":": "},{"text":"NSNumber","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSNumber"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError"},{"text":")","kind":"text"}],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"shape","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An array of integers defining the dimensions of the NDArray (e.g., [2, 3] for a 2x3 matrix)."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"The data type of the elements in the NDArray (default is .float64).","type":"text"}]}],"name":"dtype"},{"name":"defaultValue","content":[{"inlineContent":[{"type":"text","text":"The value used to fill the NDArray (of type NSNumber)."}],"type":"paragraph"}]}]},{"kind":"content","content":[{"level":2,"text":"Discussion","type":"heading","anchor":"discussion"},{"type":"aside","name":"Throws","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"type":"codeVoice","code":"SNPError.valueError"},{"text":" if any dimension is negative, ","type":"text"},{"type":"codeVoice","code":"SNPError.typeError"},{"text":" if the default value cannot be cast to the specified dtype, and ","type":"text"},{"code":"SNPError.assertionError","type":"codeVoice"},{"type":"text","text":" if the temporary array creation fails."}]}],"style":"note"}]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray\/init(shape:dtype:defaultvalue:)"]}],"metadata":{"symbolKind":"init","role":"symbol","externalID":"s:7SwiftNP7NDArrayC5shape5dtype12defaultValueACSaySiG_AA5DTypeOSo8NSNumberCtAA8SNPErrorOYKcfc","modules":[{"name":"SwiftNP"}],"extendedModule":"SwiftNP","title":"init(shape:dtype:defaultValue:)","fragments":[{"text":"convenience","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"shape","kind":"externalParam"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"], "},{"kind":"externalParam","text":"dtype"},{"text":": ","kind":"text"},{"text":"DType","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5DTypeO"},{"text":", ","kind":"text"},{"text":"defaultValue","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)NSNumber","text":"NSNumber","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"kind":"text","text":")"}],"roleHeading":"Initializer"},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/init(shape:dtype:defaultValue:)","interfaceLanguage":"swift"},"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","abstract":[{"type":"text","text":"An enumeration representing different data types (DType) supported in SwiftNP."},{"type":"text","text":" "},{"text":"Each case corresponds to a numeric type used for arrays and computations.","type":"text"}],"title":"DType","kind":"symbol","navigatorTitle":[{"text":"DType","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"text":" ","type":"text"},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError","type":"topic","url":"\/documentation\/swiftnp\/snperror","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"navigatorTitle":[{"text":"SNPError","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray/init(shape:dtype:defaultValue:)":{"kind":"symbol","fragments":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"shape"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"kind":"text","text":"], "},{"text":"dtype","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DType","preciseIdentifier":"s:7SwiftNP5DTypeO"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"defaultValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSNumber","text":"NSNumber"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"text":")","kind":"text"}],"url":"\/documentation\/swiftnp\/ndarray\/init(shape:dtype:defaultvalue:)","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/init(shape:dtype:defaultValue:)","role":"symbol","title":"init(shape:dtype:defaultValue:)","abstract":[{"text":"Initializes an NDArray with a specified shape, data type, and default value.","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]}}} \ No newline at end of file +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/init(shape:dtype:defaultValue:)"},"metadata":{"symbolKind":"init","roleHeading":"Initializer","modules":[{"name":"SwiftNP"}],"extendedModule":"SwiftNP","title":"init(shape:dtype:defaultValue:)","fragments":[{"kind":"keyword","text":"convenience"},{"text":" ","kind":"text"},{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"shape"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"dtype"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5DTypeO","text":"DType"},{"text":", ","kind":"text"},{"text":"defaultValue","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)NSNumber","kind":"typeIdentifier","text":"NSNumber"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"text":")","kind":"text"}],"role":"symbol","externalID":"s:7SwiftNP7NDArrayC5shape5dtype12defaultValueACSaySiG_AA5DTypeOSo8NSNumberCtAA8SNPErrorOYKcfc"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"text":"init","kind":"keyword"},{"kind":"text","text":"("},{"kind":"externalParam","text":"shape"},{"text":": [","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":"], ","kind":"text"},{"text":"dtype","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP5DTypeO","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType","kind":"typeIdentifier","text":"DType"},{"kind":"text","text":" = .float64, "},{"text":"defaultValue","kind":"externalParam"},{"kind":"text","text":": "},{"text":"NSNumber","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSNumber"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"},{"kind":"text","text":")"}],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"text":"An array of integers defining the dimensions of the NDArray (e.g., [2, 3] for a 2x3 matrix).","type":"text"}],"type":"paragraph"}],"name":"shape"},{"name":"dtype","content":[{"inlineContent":[{"type":"text","text":"The data type of the elements in the NDArray (default is .float64)."}],"type":"paragraph"}]},{"name":"defaultValue","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The value used to fill the NDArray (of type NSNumber)."}]}]}]},{"kind":"content","content":[{"type":"heading","text":"Discussion","anchor":"discussion","level":2},{"type":"aside","style":"note","name":"Throws","content":[{"inlineContent":[{"text":"","type":"text"},{"type":"codeVoice","code":"SNPError.valueError"},{"type":"text","text":" if any dimension is negative, "},{"type":"codeVoice","code":"SNPError.typeError"},{"type":"text","text":" if the default value cannot be cast to the specified dtype, and "},{"code":"SNPError.assertionError","type":"codeVoice"},{"text":" if the temporary array creation fails.","type":"text"}],"type":"paragraph"}]}]}],"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"abstract":[{"text":"Initializes an NDArray with a specified shape, data type, and default value.","type":"text"}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/init(shape:dtype:defaultvalue:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/DType":{"type":"topic","navigatorTitle":[{"kind":"identifier","text":"DType"}],"title":"DType","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"DType","kind":"identifier"}],"url":"\/documentation\/swiftnp\/dtype","abstract":[{"text":"An enumeration representing different data types (DType) supported in SwiftNP.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each case corresponds to a numeric type used for arrays and computations."}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/DType"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP/NDArray/init(shape:dtype:defaultValue:)":{"abstract":[{"type":"text","text":"Initializes an NDArray with a specified shape, data type, and default value."}],"url":"\/documentation\/swiftnp\/ndarray\/init(shape:dtype:defaultvalue:)","kind":"symbol","role":"symbol","title":"init(shape:dtype:defaultValue:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/init(shape:dtype:defaultValue:)","fragments":[{"text":"convenience","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"shape","kind":"externalParam"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"text":"], ","kind":"text"},{"text":"dtype","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5DTypeO","text":"DType"},{"kind":"text","text":", "},{"text":"defaultValue","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"NSNumber","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSNumber"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError"},{"text":")","kind":"text"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/isscalar.json b/docs/data/documentation/swiftnp/ndarray/isscalar.json index 4fdbade..7f08560 100644 --- a/docs/data/documentation/swiftnp/ndarray/isscalar.json +++ b/docs/data/documentation/swiftnp/ndarray/isscalar.json @@ -1 +1 @@ -{"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"isScalar","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"platforms":["macOS"]}]}],"sections":[],"abstract":[{"type":"text","text":"A Boolean indicating whether the NDArray is a scalar (i.e., has no dimensions)."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray\/isscalar"]}],"metadata":{"roleHeading":"Instance Property","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"isScalar","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"role":"symbol","externalID":"s:7SwiftNP7NDArrayC8isScalarSbvp","symbolKind":"property","modules":[{"name":"SwiftNP"}],"title":"isScalar"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/isScalar"},"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/isScalar":{"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"isScalar","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/isScalar","url":"\/documentation\/swiftnp\/ndarray\/isscalar","title":"isScalar","abstract":[{"type":"text","text":"A Boolean indicating whether the NDArray is a scalar (i.e., has no dimensions)."}],"type":"topic"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"metadata":{"modules":[{"name":"SwiftNP"}],"externalID":"s:7SwiftNP7NDArrayC8isScalarSbvp","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"isScalar"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"title":"isScalar","symbolKind":"property","roleHeading":"Instance Property"},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/isScalar"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"isScalar"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/isscalar"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"abstract":[{"type":"text","text":"A Boolean indicating whether the NDArray is a scalar (i.e., has no dimensions)."}],"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/isScalar":{"url":"\/documentation\/swiftnp\/ndarray\/isscalar","type":"topic","title":"isScalar","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/isScalar","abstract":[{"text":"A Boolean indicating whether the NDArray is a scalar (i.e., has no dimensions).","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"isScalar","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"role":"symbol","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/multiply(_:).json b/docs/data/documentation/swiftnp/ndarray/multiply(_:).json deleted file mode 100644 index 28d889d..0000000 --- a/docs/data/documentation/swiftnp/ndarray/multiply(_:).json +++ /dev/null @@ -1 +0,0 @@ -{"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"multiply","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"other","kind":"internalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"NDArray","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"text":"?","kind":"text"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray\/multiply(_:)"]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/multiply(_:)"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"kind":"symbol","metadata":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"multiply"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"kind":"text","text":") -> "},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"symbolKind":"method","extendedModule":"SwiftNP","externalID":"s:7SwiftNP7NDArrayC8multiplyyACSgACF","roleHeading":"Instance Method","title":"multiply(_:)","modules":[{"name":"SwiftNP"}],"role":"symbol"},"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/NDArray/multiply(_:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/multiply(_:)","role":"symbol","url":"\/documentation\/swiftnp\/ndarray\/multiply(_:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"multiply","kind":"identifier"},{"text":"(","kind":"text"},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"text":"?","kind":"text"}],"kind":"symbol","abstract":[],"type":"topic","title":"multiply(_:)"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/ndim.json b/docs/data/documentation/swiftnp/ndarray/ndim.json index c27da44..a0a338d 100644 --- a/docs/data/documentation/swiftnp/ndarray/ndim.json +++ b/docs/data/documentation/swiftnp/ndarray/ndim.json @@ -1 +1 @@ -{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/ndim","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ndim"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"platforms":["macOS"]}]}],"abstract":[{"type":"text","text":"The number of dimensions of the NDArray."}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","sections":[],"metadata":{"externalID":"s:7SwiftNP7NDArrayC4ndimSivp","modules":[{"name":"SwiftNP"}],"roleHeading":"Instance Property","role":"symbol","title":"ndim","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"ndim","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}]},"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/ndim"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/ndim":{"kind":"symbol","title":"ndim","abstract":[{"type":"text","text":"The number of dimensions of the NDArray."}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/ndarray\/ndim","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"ndim"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/ndim"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"kind":"symbol","abstract":[{"text":"The number of dimensions of the NDArray.","type":"text"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/ndim"},"metadata":{"modules":[{"name":"SwiftNP"}],"title":"ndim","roleHeading":"Instance Property","role":"symbol","externalID":"s:7SwiftNP7NDArrayC4ndimSivp","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"ndim","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"}]},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/ndim"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ndim","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"languages":["swift"]}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/ndim":{"kind":"symbol","abstract":[{"type":"text","text":"The number of dimensions of the NDArray."}],"title":"ndim","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ndim","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/ndim","role":"symbol","type":"topic","url":"\/documentation\/swiftnp\/ndarray\/ndim"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/reshape(to:order:).json b/docs/data/documentation/swiftnp/ndarray/reshape(to:order:).json index ce92756..0be72d5 100644 --- a/docs/data/documentation/swiftnp/ndarray/reshape(to:order:).json +++ b/docs/data/documentation/swiftnp/ndarray/reshape(to:order:).json @@ -1 +1 @@ -{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/reshape(to:order:)","interfaceLanguage":"swift"},"kind":"symbol","abstract":[{"type":"text","text":"Reshapes the NDArray to the specified shape and order."}],"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"reshape"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"shape","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Shape","kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","preciseIdentifier":"s:7SwiftNP5Shapea"},{"text":", ","kind":"text"},{"text":"order","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","preciseIdentifier":"s:7SwiftNP12ReshapeOrderO","text":"ReshapeOrder"},{"text":" = .c) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","text":"SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"text":") -> ","kind":"text"},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"}],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"shape","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The desired shape of the reshaped NDArray."}]}]},{"content":[{"inlineContent":[{"text":"The order in which the array should be reshaped, either C-style or Fortran-style (default is C-style).","type":"text"}],"type":"paragraph"}],"name":"order"}]},{"content":[{"level":2,"text":"Return Value","anchor":"return-value","type":"heading"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An NDArray reshaped to the specified dimensions."}]}],"kind":"content"},{"kind":"content","content":[{"anchor":"discussion","type":"heading","level":2,"text":"Discussion"},{"name":"Throws","content":[{"inlineContent":[{"text":"","type":"text"},{"code":"SNPError","type":"codeVoice"},{"text":" if there are issues with dimensions or if the reshape cannot be performed.","type":"text"}],"type":"paragraph"}],"type":"aside","style":"note"}]}],"metadata":{"externalID":"s:7SwiftNP7NDArrayC7reshape2to5orderACSaySiG_AA12ReshapeOrderOtAA8SNPErrorOYKF","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"reshape","kind":"identifier"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Shape","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5Shapea"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"order"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"ReshapeOrder","preciseIdentifier":"s:7SwiftNP12ReshapeOrderO"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"}],"role":"symbol","roleHeading":"Instance Method","title":"reshape(to:order:)","modules":[{"name":"SwiftNP"}],"extendedModule":"SwiftNP"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray\/reshape(to:order:)"]}],"sections":[],"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"text":" ","type":"text"},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError","type":"topic","url":"\/documentation\/swiftnp\/snperror","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"navigatorTitle":[{"text":"SNPError","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray/reshape(to:order:)":{"abstract":[{"type":"text","text":"Reshapes the NDArray to the specified shape and order."}],"title":"reshape(to:order:)","url":"\/documentation\/swiftnp\/ndarray\/reshape(to:order:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/reshape(to:order:)","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"reshape"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Shape","preciseIdentifier":"s:7SwiftNP5Shapea"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"order"},{"kind":"text","text":": "},{"text":"ReshapeOrder","preciseIdentifier":"s:7SwiftNP12ReshapeOrderO","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier","text":"SNPError"},{"kind":"text","text":") -> "},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/Shape":{"title":"Shape","url":"\/documentation\/swiftnp\/shape","navigatorTitle":[{"text":"Shape","kind":"identifier"}],"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Shape"}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","type":"topic","abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"text":" ","type":"text"},{"type":"text","text":"Each integer represents the size of the array at a particular dimension."}]},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"url":"\/documentation\/swiftnp\/reshapeorder","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"ReshapeOrder","kind":"identifier"}],"title":"ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}]}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"metadata":{"modules":[{"name":"SwiftNP"}],"extendedModule":"SwiftNP","roleHeading":"Instance Method","symbolKind":"method","title":"reshape(to:order:)","role":"symbol","externalID":"s:7SwiftNP7NDArrayC7reshape2to5orderACSaySiG_AA12ReshapeOrderOtAA8SNPErrorOYKF","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"reshape","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Shape","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5Shapea"},{"text":", ","kind":"text"},{"text":"order","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"ReshapeOrder","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP12ReshapeOrderO"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}]},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/reshape(to:order:)","interfaceLanguage":"swift"},"kind":"symbol","sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"reshape"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"kind":"text","text":" "},{"text":"shape","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Shape","preciseIdentifier":"s:7SwiftNP5Shapea","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"order"},{"text":": ","kind":"text"},{"text":"ReshapeOrder","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","preciseIdentifier":"s:7SwiftNP12ReshapeOrderO","kind":"typeIdentifier"},{"text":" = .c) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"text":"SNPError","kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"typeIdentifier"}],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"shape","content":[{"inlineContent":[{"type":"text","text":"The desired shape of the reshaped NDArray."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"text":"The order in which the array should be reshaped, either C-style or Fortran-style (default is C-style).","type":"text"}],"type":"paragraph"}],"name":"order"}]},{"kind":"content","content":[{"text":"Return Value","level":2,"anchor":"return-value","type":"heading"},{"inlineContent":[{"type":"text","text":"An NDArray reshaped to the specified dimensions."}],"type":"paragraph"}]},{"kind":"content","content":[{"level":2,"text":"Discussion","type":"heading","anchor":"discussion"},{"type":"aside","name":"Throws","style":"note","content":[{"inlineContent":[{"type":"text","text":""},{"type":"codeVoice","code":"SNPError"},{"text":" if there are issues with dimensions or if the reshape cannot be performed.","type":"text"}],"type":"paragraph"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray\/reshape(to:order:)"]}],"abstract":[{"type":"text","text":"Reshapes the NDArray to the specified shape and order."}],"references":{"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/NDArray/reshape(to:order:)":{"title":"reshape(to:order:)","kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/reshape(to:order:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"reshape","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Shape","preciseIdentifier":"s:7SwiftNP5Shapea","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"order"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"ReshapeOrder","preciseIdentifier":"s:7SwiftNP12ReshapeOrderO"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier","text":"SNPError"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"}],"url":"\/documentation\/swiftnp\/ndarray\/reshape(to:order:)","role":"symbol","abstract":[{"type":"text","text":"Reshapes the NDArray to the specified shape and order."}]},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"title":"ReshapeOrder","navigatorTitle":[{"kind":"identifier","text":"ReshapeOrder"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}],"role":"symbol","kind":"symbol","url":"\/documentation\/swiftnp\/reshapeorder","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/Shape":{"navigatorTitle":[{"text":"Shape","kind":"identifier"}],"type":"topic","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Shape"}],"url":"\/documentation\/swiftnp\/shape","title":"Shape","abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"text":" ","type":"text"},{"type":"text","text":"Each integer represents the size of the array at a particular dimension."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/shape.json b/docs/data/documentation/swiftnp/ndarray/shape.json index 5476a1a..777dd8f 100644 --- a/docs/data/documentation/swiftnp/ndarray/shape.json +++ b/docs/data/documentation/swiftnp/ndarray/shape.json @@ -1 +1 @@ -{"kind":"symbol","variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/shape"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"abstract":[{"type":"text","text":"The shape of the NDArray, represented as an array of integers."}],"metadata":{"externalID":"s:7SwiftNP7NDArrayC5shapeSaySiGvp","fragments":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"text":"shape","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP5Shapea","text":"Shape","kind":"typeIdentifier"}],"roleHeading":"Instance Property","role":"symbol","title":"shape","symbolKind":"property","modules":[{"name":"SwiftNP"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/shape"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"shape","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP5Shapea","kind":"typeIdentifier","text":"Shape","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape"}],"platforms":["macOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"sections":[],"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/NDArray/shape":{"role":"symbol","title":"shape","url":"\/documentation\/swiftnp\/ndarray\/shape","kind":"symbol","abstract":[{"text":"The shape of the NDArray, represented as an array of integers.","type":"text"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/shape","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"shape","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Shape","preciseIdentifier":"s:7SwiftNP5Shapea"}]},"doc://SwiftNP/documentation/SwiftNP/Shape":{"title":"Shape","url":"\/documentation\/swiftnp\/shape","navigatorTitle":[{"text":"Shape","kind":"identifier"}],"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Shape"}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","type":"topic","abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"text":" ","type":"text"},{"type":"text","text":"Each integer represents the size of the array at a particular dimension."}]}}} \ No newline at end of file +{"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/shape"},"abstract":[{"text":"The shape of the NDArray, represented as an array of integers.","type":"text"}],"metadata":{"roleHeading":"Instance Property","modules":[{"name":"SwiftNP"}],"title":"shape","symbolKind":"property","externalID":"s:7SwiftNP7NDArrayC5shapeSaySiGvp","role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"shape","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP5Shapea","kind":"typeIdentifier","text":"Shape"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"shape"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5Shapea","text":"Shape"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray\/shape"]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"sections":[],"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/shape":{"title":"shape","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/shape","role":"symbol","url":"\/documentation\/swiftnp\/ndarray\/shape","type":"topic","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"shape"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7SwiftNP5Shapea","text":"Shape","kind":"typeIdentifier"}],"abstract":[{"type":"text","text":"The shape of the NDArray, represented as an array of integers."}]},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"NDArray"}],"navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"url":"\/documentation\/swiftnp\/ndarray","title":"NDArray","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"type":"text","text":"This class conforms to CustomStringConvertible for custom string representation."}],"kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/Shape":{"navigatorTitle":[{"text":"Shape","kind":"identifier"}],"type":"topic","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Shape"}],"url":"\/documentation\/swiftnp\/shape","title":"Shape","abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"text":" ","type":"text"},{"type":"text","text":"Each integer represents the size of the array at a particular dimension."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/size.json b/docs/data/documentation/swiftnp/ndarray/size.json index e805f8c..648feed 100644 --- a/docs/data/documentation/swiftnp/ndarray/size.json +++ b/docs/data/documentation/swiftnp/ndarray/size.json @@ -1 +1 @@ -{"metadata":{"roleHeading":"Instance Property","modules":[{"name":"SwiftNP"}],"role":"symbol","title":"size","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"size"},{"kind":"text","text":": "},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"}],"externalID":"s:7SwiftNP7NDArrayC4sizeSivp","symbolKind":"property"},"variants":[{"paths":["\/documentation\/swiftnp\/ndarray\/size"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/size","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"size","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"type":"text","text":"The total number of elements in the NDArray."}],"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/size":{"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/ndarray\/size","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"size","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"The total number of elements in the NDArray."}],"title":"size","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/size"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]}}} \ No newline at end of file +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/size"},"metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"size","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"}],"modules":[{"name":"SwiftNP"}],"externalID":"s:7SwiftNP7NDArrayC4sizeSivp","title":"size","roleHeading":"Instance Property","role":"symbol","symbolKind":"property"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray\/size"]}],"sections":[],"abstract":[{"type":"text","text":"The total number of elements in the NDArray."}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"size","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}]}],"kind":"declarations"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/NDArray/size":{"title":"size","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"size","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/size","url":"\/documentation\/swiftnp\/ndarray\/size","role":"symbol","abstract":[{"type":"text","text":"The total number of elements in the NDArray."}],"kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/subtract(_:).json b/docs/data/documentation/swiftnp/ndarray/subtract(_:).json deleted file mode 100644 index 5dd65e2..0000000 --- a/docs/data/documentation/swiftnp/ndarray/subtract(_:).json +++ /dev/null @@ -1 +0,0 @@ -{"kind":"symbol","metadata":{"role":"symbol","modules":[{"name":"SwiftNP"}],"title":"subtract(_:)","symbolKind":"method","roleHeading":"Instance Method","externalID":"s:7SwiftNP7NDArrayC8subtractyACSgACF","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"subtract"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"text":") -> ","kind":"text"},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"extendedModule":"SwiftNP"},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/subtract(_:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"subtract"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"other","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"},{"text":"?","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray\/subtract(_:)"]}],"sections":[],"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/subtract(_:)":{"url":"\/documentation\/swiftnp\/ndarray\/subtract(_:)","kind":"symbol","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"subtract","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"},{"kind":"text","text":"?"}],"abstract":[],"title":"subtract(_:)","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/subtract(_:)"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/ndarray/tostring().json b/docs/data/documentation/swiftnp/ndarray/tostring().json index 2cb8347..cf2e316 100644 --- a/docs/data/documentation/swiftnp/ndarray/tostring().json +++ b/docs/data/documentation/swiftnp/ndarray/tostring().json @@ -1 +1 @@ -{"sections":[],"abstract":[{"type":"text","text":"Returns a string representation of the NDArray including its shape, dtype, and data."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray\/tostring()"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/toString()","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"modules":[{"name":"SwiftNP"}],"role":"symbol","roleHeading":"Instance Method","title":"toString()","externalID":"s:7SwiftNP7NDArrayC8toStringSSyF","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"toString"},{"text":"() -> ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"symbolKind":"method"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"toString","kind":"identifier"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"languages":["swift"],"platforms":["macOS"]}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray/toString()":{"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/toString()","title":"toString()","abstract":[{"type":"text","text":"Returns a string representation of the NDArray including its shape, dtype, and data."}],"type":"topic","url":"\/documentation\/swiftnp\/ndarray\/tostring()","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"toString"},{"text":"() -> ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"]]},"metadata":{"externalID":"s:7SwiftNP7NDArrayC8toStringSSyF","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"toString","kind":"identifier"},{"text":"() -> ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"role":"symbol","title":"toString()","roleHeading":"Instance Method","modules":[{"name":"SwiftNP"}]},"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/toString()"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"toString"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"languages":["swift"],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/ndarray\/tostring()"]}],"abstract":[{"type":"text","text":"Returns a string representation of the NDArray including its shape, dtype, and data."}],"references":{"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/NDArray/toString()":{"type":"topic","abstract":[{"type":"text","text":"Returns a string representation of the NDArray including its shape, dtype, and data."}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"toString"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray\/toString()","url":"\/documentation\/swiftnp\/ndarray\/tostring()","title":"toString()","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/reshapeorder.json b/docs/data/documentation/swiftnp/reshapeorder.json index 77ba972..7da6075 100644 --- a/docs/data/documentation/swiftnp/reshapeorder.json +++ b/docs/data/documentation/swiftnp/reshapeorder.json @@ -1 +1 @@ -{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"kind":"symbol","metadata":{"title":"ReshapeOrder","role":"symbol","roleHeading":"Enumeration","externalID":"s:7SwiftNP12ReshapeOrderO","navigatorTitle":[{"text":"ReshapeOrder","kind":"identifier"}],"symbolKind":"enum","modules":[{"name":"SwiftNP"}],"fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}]},"topicSections":[{"anchor":"Enumeration-Cases","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/c","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/f"],"generated":true,"title":"Enumeration Cases"},{"anchor":"Initializers","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(rawValue:)"],"title":"Initializers","generated":true},{"anchor":"Default-Implementations","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/Equatable-Implementations","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations"],"generated":true,"title":"Default Implementations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/reshapeorder"]}],"relationshipsSections":[{"kind":"relationships","identifiers":["doc:\/\/SwiftNP\/s12CaseIterableP","doc:\/\/SwiftNP\/Se","doc:\/\/SwiftNP\/SE","doc:\/\/SwiftNP\/SQ","doc:\/\/SwiftNP\/SH","doc:\/\/SwiftNP\/SY"],"title":"Conforms To","type":"conformsTo"}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"ReshapeOrder"}],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"content","content":[{"level":2,"anchor":"overview","type":"heading","text":"Overview"},{"items":[{"content":[{"inlineContent":[{"type":"codeVoice","code":"c"},{"text":": Represents C-style ordering, where the last index changes the fastest.","type":"text"}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"codeVoice","code":"f"},{"type":"text","text":": Represents Fortran-style ordering, where the first index changes the fastest."}],"type":"paragraph"}]}],"type":"unorderedList"}]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays."}],"references":{"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/f":{"type":"topic","kind":"symbol","title":"ReshapeOrder.f","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/f","url":"\/documentation\/swiftnp\/reshapeorder\/f","abstract":[],"role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"f","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/c":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"c","kind":"identifier"}],"type":"topic","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/c","title":"ReshapeOrder.c","kind":"symbol","role":"symbol","url":"\/documentation\/swiftnp\/reshapeorder\/c"},"doc://SwiftNP/SY":{"identifier":"doc:\/\/SwiftNP\/SY","title":"Swift.RawRepresentable","type":"unresolvable"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/RawRepresentable-Implementations":{"url":"\/documentation\/swiftnp\/reshapeorder\/rawrepresentable-implementations","abstract":[],"kind":"article","role":"collectionGroup","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations","title":"RawRepresentable Implementations","type":"topic"},"doc://SwiftNP/Se":{"identifier":"doc:\/\/SwiftNP\/Se","title":"Swift.Decodable","type":"unresolvable"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"url":"\/documentation\/swiftnp\/reshapeorder","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"ReshapeOrder","kind":"identifier"}],"title":"ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/Equatable-Implementations":{"kind":"article","role":"collectionGroup","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/Equatable-Implementations","abstract":[],"type":"topic","url":"\/documentation\/swiftnp\/reshapeorder\/equatable-implementations","title":"Equatable Implementations"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/init(rawValue:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(rawValue:)","kind":"symbol","abstract":[],"url":"\/documentation\/swiftnp\/reshapeorder\/init(rawvalue:)","type":"topic","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(rawValue:)"},"doc://SwiftNP/SE":{"identifier":"doc:\/\/SwiftNP\/SE","type":"unresolvable","title":"Swift.Encodable"},"doc://SwiftNP/s12CaseIterableP":{"identifier":"doc:\/\/SwiftNP\/s12CaseIterableP","type":"unresolvable","title":"Swift.CaseIterable"},"doc://SwiftNP/SH":{"identifier":"doc:\/\/SwiftNP\/SH","type":"unresolvable","title":"Swift.Hashable"},"doc://SwiftNP/SQ":{"type":"unresolvable","identifier":"doc:\/\/SwiftNP\/SQ","title":"Swift.Equatable"}}} \ No newline at end of file +{"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ReshapeOrder","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}]},{"kind":"content","content":[{"level":2,"type":"heading","text":"Overview","anchor":"overview"},{"items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"codeVoice","code":"c"},{"type":"text","text":": Represents C-style ordering, where the last index changes the fastest."}]}]},{"content":[{"inlineContent":[{"type":"codeVoice","code":"f"},{"text":": Represents Fortran-style ordering, where the first index changes the fastest.","type":"text"}],"type":"paragraph"}]}],"type":"unorderedList"}]}],"variants":[{"paths":["\/documentation\/swiftnp\/reshapeorder"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"sections":[],"relationshipsSections":[{"kind":"relationships","type":"conformsTo","identifiers":["doc:\/\/SwiftNP\/s12CaseIterableP","doc:\/\/SwiftNP\/Se","doc:\/\/SwiftNP\/SE","doc:\/\/SwiftNP\/SQ","doc:\/\/SwiftNP\/SH","doc:\/\/SwiftNP\/SY"],"title":"Conforms To"}],"metadata":{"role":"symbol","symbolKind":"enum","title":"ReshapeOrder","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ReshapeOrder","kind":"identifier"}],"roleHeading":"Enumeration","externalID":"s:7SwiftNP12ReshapeOrderO","navigatorTitle":[{"text":"ReshapeOrder","kind":"identifier"}],"modules":[{"name":"SwiftNP"}]},"abstract":[{"type":"text","text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays."}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","interfaceLanguage":"swift"},"topicSections":[{"title":"Enumeration Cases","anchor":"Enumeration-Cases","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/c","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/f"],"generated":true},{"anchor":"Initializers","generated":true,"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(rawValue:)"],"title":"Initializers"},{"anchor":"Default-Implementations","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/Equatable-Implementations","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations"],"generated":true,"title":"Default Implementations"}],"references":{"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/init(rawValue:)":{"role":"symbol","title":"init(rawValue:)","abstract":[],"url":"\/documentation\/swiftnp\/reshapeorder\/init(rawvalue:)","kind":"symbol","type":"topic","fragments":[{"kind":"identifier","text":"init"},{"text":"?(","kind":"text"},{"kind":"externalParam","text":"rawValue"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":")"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(rawValue:)"},"doc://SwiftNP/Se":{"type":"unresolvable","title":"Swift.Decodable","identifier":"doc:\/\/SwiftNP\/Se"},"doc://SwiftNP/s12CaseIterableP":{"type":"unresolvable","title":"Swift.CaseIterable","identifier":"doc:\/\/SwiftNP\/s12CaseIterableP"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/Equatable-Implementations":{"kind":"article","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/Equatable-Implementations","role":"collectionGroup","title":"Equatable Implementations","abstract":[],"url":"\/documentation\/swiftnp\/reshapeorder\/equatable-implementations","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/RawRepresentable-Implementations":{"type":"topic","kind":"article","url":"\/documentation\/swiftnp\/reshapeorder\/rawrepresentable-implementations","title":"RawRepresentable Implementations","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations","role":"collectionGroup"},"doc://SwiftNP/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/SwiftNP\/SH"},"doc://SwiftNP/SE":{"type":"unresolvable","title":"Swift.Encodable","identifier":"doc:\/\/SwiftNP\/SE"},"doc://SwiftNP/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/SwiftNP\/SQ"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"title":"ReshapeOrder","navigatorTitle":[{"kind":"identifier","text":"ReshapeOrder"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}],"role":"symbol","kind":"symbol","url":"\/documentation\/swiftnp\/reshapeorder","type":"topic"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/f":{"type":"topic","kind":"symbol","abstract":[],"url":"\/documentation\/swiftnp\/reshapeorder\/f","role":"symbol","title":"ReshapeOrder.f","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"f","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/f"},"doc://SwiftNP/SY":{"type":"unresolvable","title":"Swift.RawRepresentable","identifier":"doc:\/\/SwiftNP\/SY"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/c":{"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/c","role":"symbol","abstract":[],"type":"topic","url":"\/documentation\/swiftnp\/reshapeorder\/c","title":"ReshapeOrder.c","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"c","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/reshapeorder/!=(_:_:).json b/docs/data/documentation/swiftnp/reshapeorder/!=(_:_:).json index 16b17c2..f06323f 100644 --- a/docs/data/documentation/swiftnp/reshapeorder/!=(_:_:).json +++ b/docs/data/documentation/swiftnp/reshapeorder/!=(_:_:).json @@ -1 +1 @@ -{"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"symbolKind":"op","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"roleHeading":"Operator","extendedModule":"Swift","role":"symbol","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:7SwiftNP12ReshapeOrderO"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"type":"text","text":"."}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/Equatable-Implementations"]]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"lhs","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"rhs","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}]}],"kind":"declarations"}],"kind":"symbol","variants":[{"paths":["\/documentation\/swiftnp\/reshapeorder\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/!=(_:_:)"},"references":{"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/Equatable-Implementations":{"kind":"article","role":"collectionGroup","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/Equatable-Implementations","abstract":[],"type":"topic","url":"\/documentation\/swiftnp\/reshapeorder\/equatable-implementations","title":"Equatable Implementations"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"url":"\/documentation\/swiftnp\/reshapeorder","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"ReshapeOrder","kind":"identifier"}],"title":"ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/!=(_:_:)":{"abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/swiftnp\/reshapeorder\/!=(_:_:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/!=(_:_:)","title":"!=(_:_:)"}}} \ No newline at end of file +{"abstract":[{"type":"text","text":"Inherited from "},{"code":"Equatable.!=(_:_:)","type":"codeVoice"},{"type":"text","text":"."}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/!=(_:_:)","interfaceLanguage":"swift"},"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/Equatable-Implementations"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"paths":["\/documentation\/swiftnp\/reshapeorder\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"lhs","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"rhs","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"languages":["swift"]}]}],"kind":"symbol","metadata":{"modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"role":"symbol","roleHeading":"Operator","extendedModule":"Swift","title":"!=(_:_:)","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:7SwiftNP12ReshapeOrderO","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"symbolKind":"op"},"references":{"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/Equatable-Implementations":{"kind":"article","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/Equatable-Implementations","role":"collectionGroup","title":"Equatable Implementations","abstract":[],"url":"\/documentation\/swiftnp\/reshapeorder\/equatable-implementations","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"title":"ReshapeOrder","navigatorTitle":[{"kind":"identifier","text":"ReshapeOrder"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}],"role":"symbol","kind":"symbol","url":"\/documentation\/swiftnp\/reshapeorder","type":"topic"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/!=(_:_:)":{"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/!=(_:_:)","role":"symbol","abstract":[],"url":"\/documentation\/swiftnp\/reshapeorder\/!=(_:_:)","type":"topic","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/reshapeorder/c.json b/docs/data/documentation/swiftnp/reshapeorder/c.json index 8ea4fc9..a6f5780 100644 --- a/docs/data/documentation/swiftnp/reshapeorder/c.json +++ b/docs/data/documentation/swiftnp/reshapeorder/c.json @@ -1 +1 @@ -{"metadata":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"c","kind":"identifier"}],"title":"ReshapeOrder.c","role":"symbol","symbolKind":"case","modules":[{"name":"SwiftNP"}],"externalID":"s:7SwiftNP12ReshapeOrderO1cyA2CmF","roleHeading":"Case"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"c"}]}],"kind":"declarations"}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/reshapeorder\/c"]}],"sections":[],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/c","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/c":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"c","kind":"identifier"}],"type":"topic","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/c","title":"ReshapeOrder.c","kind":"symbol","role":"symbol","url":"\/documentation\/swiftnp\/reshapeorder\/c"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"url":"\/documentation\/swiftnp\/reshapeorder","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"ReshapeOrder","kind":"identifier"}],"title":"ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder"]]},"kind":"symbol","sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"externalID":"s:7SwiftNP12ReshapeOrderO1cyA2CmF","modules":[{"name":"SwiftNP"}],"symbolKind":"case","roleHeading":"Case","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"c","kind":"identifier"}],"title":"ReshapeOrder.c"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/reshapeorder\/c"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"c"}],"platforms":["macOS"]}]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/c","interfaceLanguage":"swift"},"references":{"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"title":"ReshapeOrder","navigatorTitle":[{"kind":"identifier","text":"ReshapeOrder"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}],"role":"symbol","kind":"symbol","url":"\/documentation\/swiftnp\/reshapeorder","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/c":{"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/c","role":"symbol","abstract":[],"type":"topic","url":"\/documentation\/swiftnp\/reshapeorder\/c","title":"ReshapeOrder.c","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"c","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/reshapeorder/encode(to:).json b/docs/data/documentation/swiftnp/reshapeorder/encode(to:).json index 2fe8b03..c17608f 100644 --- a/docs/data/documentation/swiftnp/reshapeorder/encode(to:).json +++ b/docs/data/documentation/swiftnp/reshapeorder/encode(to:).json @@ -1 +1 @@ -{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","metadata":{"role":"symbol","title":"encode(to:)","modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"extendedModule":"Swift","externalID":"s:SYsSERzSS8RawValueSYRtzrlE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:7SwiftNP12ReshapeOrderO","symbolKind":"method","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Encodable"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"text":" is ","type":"text"},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"to"},{"kind":"text","text":": any "},{"text":"Encoder","kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"roleHeading":"Instance Method"},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/encode(to:)","interfaceLanguage":"swift"},"sections":[],"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.encode(to:)"},{"type":"text","text":"."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"encoder","kind":"internalParam"},{"text":": any ","kind":"text"},{"text":"Encoder","preciseIdentifier":"s:s7EncoderP","kind":"typeIdentifier"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}]}]}],"variants":[{"paths":["\/documentation\/swiftnp\/reshapeorder\/encode(to:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/encode(to:)":{"url":"\/documentation\/swiftnp\/reshapeorder\/encode(to:)","abstract":[],"kind":"symbol","title":"encode(to:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"kind":"text","text":": any "},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/encode(to:)","role":"symbol","conformance":{"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Encodable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"url":"\/documentation\/swiftnp\/reshapeorder","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"ReshapeOrder","kind":"identifier"}],"title":"ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/RawRepresentable-Implementations":{"url":"\/documentation\/swiftnp\/reshapeorder\/rawrepresentable-implementations","abstract":[],"kind":"article","role":"collectionGroup","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations","title":"RawRepresentable Implementations","type":"topic"}}} \ No newline at end of file +{"metadata":{"conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Encodable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}]},"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"text":": any ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7EncoderP","text":"Encoder"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"symbolKind":"method","title":"encode(to:)","extendedModule":"Swift","modules":[{"name":"SwiftNP","relatedModules":["Swift"]}],"roleHeading":"Instance Method","role":"symbol","externalID":"s:SYsSERzSS8RawValueSYRtzrlE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:7SwiftNP12ReshapeOrderO"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"encode"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"encoder"},{"text":": any ","kind":"text"},{"preciseIdentifier":"s:s7EncoderP","text":"Encoder","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"schemaVersion":{"patch":0,"minor":3,"major":0},"sections":[],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/encode(to:)","interfaceLanguage":"swift"},"kind":"symbol","abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.encode(to:)"},{"text":".","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/reshapeorder\/encode(to:)"]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations"]]},"references":{"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/RawRepresentable-Implementations":{"type":"topic","kind":"article","url":"\/documentation\/swiftnp\/reshapeorder\/rawrepresentable-implementations","title":"RawRepresentable Implementations","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations","role":"collectionGroup"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/encode(to:)":{"conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Encodable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"text":": any ","kind":"text"},{"preciseIdentifier":"s:s7EncoderP","kind":"typeIdentifier","text":"Encoder"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/encode(to:)","abstract":[],"kind":"symbol","title":"encode(to:)","url":"\/documentation\/swiftnp\/reshapeorder\/encode(to:)","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"title":"ReshapeOrder","navigatorTitle":[{"kind":"identifier","text":"ReshapeOrder"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}],"role":"symbol","kind":"symbol","url":"\/documentation\/swiftnp\/reshapeorder","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/reshapeorder/equatable-implementations.json b/docs/data/documentation/swiftnp/reshapeorder/equatable-implementations.json index e58cf2b..aca9408 100644 --- a/docs/data/documentation/swiftnp/reshapeorder/equatable-implementations.json +++ b/docs/data/documentation/swiftnp/reshapeorder/equatable-implementations.json @@ -1 +1 @@ -{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder"]]},"kind":"article","sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"topicSections":[{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/!=(_:_:)"],"generated":true,"title":"Operators","anchor":"Operators"}],"variants":[{"paths":["\/documentation\/swiftnp\/reshapeorder\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/Equatable-Implementations","interfaceLanguage":"swift"},"metadata":{"role":"collectionGroup","modules":[{"name":"SwiftNP"}],"roleHeading":"API Collection","title":"Equatable Implementations"},"references":{"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"url":"\/documentation\/swiftnp\/reshapeorder","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"ReshapeOrder","kind":"identifier"}],"title":"ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/!=(_:_:)":{"abstract":[],"kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/swiftnp\/reshapeorder\/!=(_:_:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/!=(_:_:)","title":"!=(_:_:)"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/reshapeorder\/equatable-implementations"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder"]]},"topicSections":[{"title":"Operators","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/!=(_:_:)"],"anchor":"Operators","generated":true}],"kind":"article","sections":[],"metadata":{"title":"Equatable Implementations","roleHeading":"API Collection","role":"collectionGroup","modules":[{"name":"SwiftNP"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/Equatable-Implementations"},"references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"title":"ReshapeOrder","navigatorTitle":[{"kind":"identifier","text":"ReshapeOrder"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}],"role":"symbol","kind":"symbol","url":"\/documentation\/swiftnp\/reshapeorder","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/!=(_:_:)":{"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/!=(_:_:)","role":"symbol","abstract":[],"url":"\/documentation\/swiftnp\/reshapeorder\/!=(_:_:)","type":"topic","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/reshapeorder/f.json b/docs/data/documentation/swiftnp/reshapeorder/f.json index 1c78d31..e01b4c1 100644 --- a/docs/data/documentation/swiftnp/reshapeorder/f.json +++ b/docs/data/documentation/swiftnp/reshapeorder/f.json @@ -1 +1 @@ -{"metadata":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"f","kind":"identifier"}],"modules":[{"name":"SwiftNP"}],"roleHeading":"Case","title":"ReshapeOrder.f","symbolKind":"case","externalID":"s:7SwiftNP12ReshapeOrderO1fyA2CmF","role":"symbol"},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/f","interfaceLanguage":"swift"},"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder"]]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"f"}],"platforms":["macOS"]}],"kind":"declarations"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"variants":[{"paths":["\/documentation\/swiftnp\/reshapeorder\/f"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/f":{"type":"topic","kind":"symbol","title":"ReshapeOrder.f","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/f","url":"\/documentation\/swiftnp\/reshapeorder\/f","abstract":[],"role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"f","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"url":"\/documentation\/swiftnp\/reshapeorder","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"ReshapeOrder","kind":"identifier"}],"title":"ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"variants":[{"paths":["\/documentation\/swiftnp\/reshapeorder\/f"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"title":"ReshapeOrder.f","externalID":"s:7SwiftNP12ReshapeOrderO1fyA2CmF","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"f"}],"role":"symbol","roleHeading":"Case","symbolKind":"case","modules":[{"name":"SwiftNP"}]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"f","kind":"identifier"}]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/f"},"references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/f":{"type":"topic","kind":"symbol","abstract":[],"url":"\/documentation\/swiftnp\/reshapeorder\/f","role":"symbol","title":"ReshapeOrder.f","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"f","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/f"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"title":"ReshapeOrder","navigatorTitle":[{"kind":"identifier","text":"ReshapeOrder"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}],"role":"symbol","kind":"symbol","url":"\/documentation\/swiftnp\/reshapeorder","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/reshapeorder/hash(into:).json b/docs/data/documentation/swiftnp/reshapeorder/hash(into:).json index 7edcf13..f4a31d5 100644 --- a/docs/data/documentation/swiftnp/reshapeorder/hash(into:).json +++ b/docs/data/documentation/swiftnp/reshapeorder/hash(into:).json @@ -1 +1 @@ -{"metadata":{"title":"hash(into:)","extendedModule":"Swift","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:s6HasherV","kind":"typeIdentifier","text":"Hasher"},{"text":")","kind":"text"}],"modules":[{"name":"SwiftNP","relatedModules":["Swift"]}],"roleHeading":"Instance Method","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"text":".","type":"text"}]},"symbolKind":"method","role":"symbol","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:7SwiftNP12ReshapeOrderO"},"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"hash"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"into"},{"kind":"text","text":" "},{"kind":"internalParam","text":"hasher"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"kind":"text","text":" "},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"sections":[],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hash(into:)"},"abstract":[{"type":"text","text":"Inherited from "},{"code":"RawRepresentable.hash(into:)","type":"codeVoice"},{"type":"text","text":"."}],"variants":[{"paths":["\/documentation\/swiftnp\/reshapeorder\/hash(into:)"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations"]]},"references":{"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/RawRepresentable-Implementations":{"url":"\/documentation\/swiftnp\/reshapeorder\/rawrepresentable-implementations","abstract":[],"kind":"article","role":"collectionGroup","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations","title":"RawRepresentable Implementations","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/hash(into:)":{"title":"hash(into:)","url":"\/documentation\/swiftnp\/reshapeorder\/hash(into:)","type":"topic","kind":"symbol","role":"symbol","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"text":".","type":"text"}]},"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hash"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"kind":"text","text":")"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hash(into:)","abstract":[]},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"url":"\/documentation\/swiftnp\/reshapeorder","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"ReshapeOrder","kind":"identifier"}],"title":"ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"metadata":{"externalID":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:7SwiftNP12ReshapeOrderO","title":"hash(into:)","symbolKind":"method","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"hash"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"kind":"text","text":")"}],"roleHeading":"Instance Method","role":"symbol","extendedModule":"Swift"},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hash(into:)","interfaceLanguage":"swift"},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations"]]},"sections":[],"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.hash(into:)"},{"text":".","type":"text"}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"text":"into","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"hasher"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/swiftnp\/reshapeorder\/hash(into:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/hash(into:)":{"abstract":[],"title":"hash(into:)","role":"symbol","url":"\/documentation\/swiftnp\/reshapeorder\/hash(into:)","kind":"symbol","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"text":"into","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hash(into:)","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"text":".","type":"text"}]}},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"title":"ReshapeOrder","navigatorTitle":[{"kind":"identifier","text":"ReshapeOrder"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}],"role":"symbol","kind":"symbol","url":"\/documentation\/swiftnp\/reshapeorder","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/RawRepresentable-Implementations":{"type":"topic","kind":"article","url":"\/documentation\/swiftnp\/reshapeorder\/rawrepresentable-implementations","title":"RawRepresentable Implementations","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations","role":"collectionGroup"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/reshapeorder/hashvalue.json b/docs/data/documentation/swiftnp/reshapeorder/hashvalue.json index 76f60b3..f32a36b 100644 --- a/docs/data/documentation/swiftnp/reshapeorder/hashvalue.json +++ b/docs/data/documentation/swiftnp/reshapeorder/hashvalue.json @@ -1 +1 @@ -{"metadata":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hashValue"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"role":"symbol","extendedModule":"Swift","roleHeading":"Instance Property","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:7SwiftNP12ReshapeOrderO","title":"hashValue","modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"symbolKind":"property","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]}},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hashValue"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations"]]},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hashValue","interfaceLanguage":"swift"},"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.hashValue"},{"text":".","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/reshapeorder\/hashvalue"]}],"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"url":"\/documentation\/swiftnp\/reshapeorder","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"ReshapeOrder","kind":"identifier"}],"title":"ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/RawRepresentable-Implementations":{"url":"\/documentation\/swiftnp\/reshapeorder\/rawrepresentable-implementations","abstract":[],"kind":"article","role":"collectionGroup","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations","title":"RawRepresentable Implementations","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/hashValue":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hashValue","type":"topic","kind":"symbol","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hashValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"}],"title":"hashValue","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}]},"abstract":[],"url":"\/documentation\/swiftnp\/reshapeorder\/hashvalue"}}} \ No newline at end of file +{"schemaVersion":{"minor":3,"patch":0,"major":0},"abstract":[{"text":"Inherited from ","type":"text"},{"code":"RawRepresentable.hashValue","type":"codeVoice"},{"type":"text","text":"."}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hashValue"},"sections":[],"metadata":{"extendedModule":"Swift","modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"roleHeading":"Instance Property","externalID":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:7SwiftNP12ReshapeOrderO","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hashValue"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"}],"symbolKind":"property","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}]},"title":"hashValue"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"hashValue","kind":"identifier"},{"kind":"text","text":": "},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/reshapeorder\/hashvalue"]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations"]]},"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"title":"ReshapeOrder","navigatorTitle":[{"kind":"identifier","text":"ReshapeOrder"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}],"role":"symbol","kind":"symbol","url":"\/documentation\/swiftnp\/reshapeorder","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/hashValue":{"conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"kind":"symbol","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hashValue"},{"text":": ","kind":"text"},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"}],"abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hashValue","title":"hashValue","url":"\/documentation\/swiftnp\/reshapeorder\/hashvalue","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/RawRepresentable-Implementations":{"type":"topic","kind":"article","url":"\/documentation\/swiftnp\/reshapeorder\/rawrepresentable-implementations","title":"RawRepresentable Implementations","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations","role":"collectionGroup"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/reshapeorder/init(from:).json b/docs/data/documentation/swiftnp/reshapeorder/init(from:).json index 6a09127..eab1dec 100644 --- a/docs/data/documentation/swiftnp/reshapeorder/init(from:).json +++ b/docs/data/documentation/swiftnp/reshapeorder/init(from:).json @@ -1 +1 @@ -{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/reshapeorder\/init(from:)"]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(from:)","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":" ","kind":"text"},{"text":"decoder","kind":"internalParam"},{"kind":"text","text":": any "},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"abstract":[{"type":"text","text":"Inherited from "},{"code":"RawRepresentable.init(from:)","type":"codeVoice"},{"text":".","type":"text"}],"sections":[],"metadata":{"modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"text":": any ","kind":"text"},{"preciseIdentifier":"s:s7DecoderP","text":"Decoder","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"extendedModule":"Swift","externalID":"s:SYsSeRzSS8RawValueSYRtzrlE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:7SwiftNP12ReshapeOrderO","roleHeading":"Initializer","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Decodable"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"symbolKind":"init","title":"init(from:)","role":"symbol"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations"]]},"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"url":"\/documentation\/swiftnp\/reshapeorder","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"ReshapeOrder","kind":"identifier"}],"title":"ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/init(from:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(from:)","abstract":[],"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":": any ","kind":"text"},{"text":"Decoder","preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Decodable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"String"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"url":"\/documentation\/swiftnp\/reshapeorder\/init(from:)","title":"init(from:)","kind":"symbol","role":"symbol","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/RawRepresentable-Implementations":{"url":"\/documentation\/swiftnp\/reshapeorder\/rawrepresentable-implementations","abstract":[],"kind":"article","role":"collectionGroup","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations","title":"RawRepresentable Implementations","type":"topic"}}} \ No newline at end of file +{"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations"]]},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(from:)","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"RawRepresentable.init(from:)"},{"type":"text","text":"."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"decoder","kind":"internalParam"},{"text":": any ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"platforms":["macOS"],"languages":["swift"]}]}],"metadata":{"title":"init(from:)","roleHeading":"Initializer","symbolKind":"init","conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"code":"Decodable","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"type":"text","text":"."}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"role":"symbol","externalID":"s:SYsSeRzSS8RawValueSYRtzrlE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:7SwiftNP12ReshapeOrderO","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"text":": any ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"extendedModule":"Swift","modules":[{"name":"SwiftNP","relatedModules":["Swift"]}]},"variants":[{"paths":["\/documentation\/swiftnp\/reshapeorder\/init(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/RawRepresentable-Implementations":{"type":"topic","kind":"article","url":"\/documentation\/swiftnp\/reshapeorder\/rawrepresentable-implementations","title":"RawRepresentable Implementations","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations","role":"collectionGroup"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/init(from:)":{"title":"init(from:)","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"code":"Decodable","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"kind":"symbol","role":"symbol","url":"\/documentation\/swiftnp\/reshapeorder\/init(from:)","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(from:)","type":"topic","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":": any "},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}]},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"title":"ReshapeOrder","navigatorTitle":[{"kind":"identifier","text":"ReshapeOrder"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}],"role":"symbol","kind":"symbol","url":"\/documentation\/swiftnp\/reshapeorder","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/reshapeorder/init(rawvalue:).json b/docs/data/documentation/swiftnp/reshapeorder/init(rawvalue:).json index bbea053..db6fa39 100644 --- a/docs/data/documentation/swiftnp/reshapeorder/init(rawvalue:).json +++ b/docs/data/documentation/swiftnp/reshapeorder/init(rawvalue:).json @@ -1 +1 @@ -{"sections":[],"variants":[{"paths":["\/documentation\/swiftnp\/reshapeorder\/init(rawvalue:)"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"text":"Inherited from ","type":"text"},{"code":"RawRepresentable.init(rawValue:)","type":"codeVoice"},{"text":".","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"init","kind":"keyword"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":")","kind":"text"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder"]]},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(rawValue:)","interfaceLanguage":"swift"},"metadata":{"modules":[{"name":"SwiftNP"}],"title":"init(rawValue:)","symbolKind":"init","fragments":[{"kind":"identifier","text":"init"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":")","kind":"text"}],"role":"symbol","roleHeading":"Initializer","externalID":"s:7SwiftNP12ReshapeOrderO8rawValueACSgSS_tcfc"},"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/init(rawValue:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(rawValue:)","kind":"symbol","abstract":[],"url":"\/documentation\/swiftnp\/reshapeorder\/init(rawvalue:)","type":"topic","role":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(rawValue:)"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"url":"\/documentation\/swiftnp\/reshapeorder","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"ReshapeOrder","kind":"identifier"}],"title":"ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}]}}} \ No newline at end of file +{"metadata":{"symbolKind":"init","fragments":[{"text":"init","kind":"identifier"},{"text":"?(","kind":"text"},{"text":"rawValue","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":")"}],"role":"symbol","roleHeading":"Initializer","externalID":"s:7SwiftNP12ReshapeOrderO8rawValueACSgSS_tcfc","title":"init(rawValue:)","modules":[{"name":"SwiftNP"}]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"init","kind":"keyword"},{"text":"?(","kind":"text"},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":")"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/reshapeorder\/init(rawvalue:)"]}],"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"RawRepresentable.init(rawValue:)"},{"type":"text","text":"."}],"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(rawValue:)"},"references":{"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"title":"ReshapeOrder","navigatorTitle":[{"kind":"identifier","text":"ReshapeOrder"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}],"role":"symbol","kind":"symbol","url":"\/documentation\/swiftnp\/reshapeorder","type":"topic"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/init(rawValue:)":{"role":"symbol","title":"init(rawValue:)","abstract":[],"url":"\/documentation\/swiftnp\/reshapeorder\/init(rawvalue:)","kind":"symbol","type":"topic","fragments":[{"kind":"identifier","text":"init"},{"text":"?(","kind":"text"},{"kind":"externalParam","text":"rawValue"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":")"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(rawValue:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/reshapeorder/rawrepresentable-implementations.json b/docs/data/documentation/swiftnp/reshapeorder/rawrepresentable-implementations.json index cefefeb..994c691 100644 --- a/docs/data/documentation/swiftnp/reshapeorder/rawrepresentable-implementations.json +++ b/docs/data/documentation/swiftnp/reshapeorder/rawrepresentable-implementations.json @@ -1 +1 @@ -{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations","interfaceLanguage":"swift"},"sections":[],"kind":"article","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder"]]},"metadata":{"role":"collectionGroup","roleHeading":"API Collection","title":"RawRepresentable Implementations","modules":[{"name":"SwiftNP"}]},"schemaVersion":{"major":0,"minor":3,"patch":0},"topicSections":[{"generated":true,"title":"Initializers","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(from:)"],"anchor":"Initializers"},{"generated":true,"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hashValue"],"title":"Instance Properties","anchor":"Instance-Properties"},{"anchor":"Instance-Methods","title":"Instance Methods","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/encode(to:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hash(into:)"],"generated":true}],"variants":[{"paths":["\/documentation\/swiftnp\/reshapeorder\/rawrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"url":"\/documentation\/swiftnp\/reshapeorder","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"ReshapeOrder","kind":"identifier"}],"title":"ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}]},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/hashValue":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hashValue","type":"topic","kind":"symbol","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hashValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"}],"title":"hashValue","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":"."}]},"abstract":[],"url":"\/documentation\/swiftnp\/reshapeorder\/hashvalue"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/init(from:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(from:)","abstract":[],"fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":": any ","kind":"text"},{"text":"Decoder","preciseIdentifier":"s:s7DecoderP","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Decodable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"text":" is ","type":"text"},{"type":"codeVoice","code":"String"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"url":"\/documentation\/swiftnp\/reshapeorder\/init(from:)","title":"init(from:)","kind":"symbol","role":"symbol","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/hash(into:)":{"title":"hash(into:)","url":"\/documentation\/swiftnp\/reshapeorder\/hash(into:)","type":"topic","kind":"symbol","role":"symbol","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"type":"text","text":" and "},{"type":"codeVoice","code":"RawValue"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"text":".","type":"text"}]},"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hash"},{"text":"(","kind":"text"},{"text":"into","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"inout","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"kind":"text","text":")"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hash(into:)","abstract":[]},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/encode(to:)":{"url":"\/documentation\/swiftnp\/reshapeorder\/encode(to:)","abstract":[],"kind":"symbol","title":"encode(to:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"to","kind":"externalParam"},{"kind":"text","text":": any "},{"kind":"typeIdentifier","text":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/encode(to:)","role":"symbol","conformance":{"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Encodable"},{"type":"text","text":" and "},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"type":"topic"}}} \ No newline at end of file +{"topicSections":[{"generated":true,"anchor":"Initializers","title":"Initializers","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(from:)"]},{"generated":true,"anchor":"Instance-Properties","title":"Instance Properties","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hashValue"]},{"title":"Instance Methods","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/encode(to:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hash(into:)"],"anchor":"Instance-Methods","generated":true}],"variants":[{"paths":["\/documentation\/swiftnp\/reshapeorder\/rawrepresentable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/RawRepresentable-Implementations"},"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder"]]},"sections":[],"kind":"article","metadata":{"roleHeading":"API Collection","modules":[{"name":"SwiftNP"}],"role":"collectionGroup","title":"RawRepresentable Implementations"},"references":{"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/hash(into:)":{"abstract":[],"title":"hash(into:)","role":"symbol","url":"\/documentation\/swiftnp\/reshapeorder\/hash(into:)","kind":"symbol","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"hash","kind":"identifier"},{"kind":"text","text":"("},{"text":"into","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"text":"Hasher","kind":"typeIdentifier","preciseIdentifier":"s:s6HasherV"},{"text":")","kind":"text"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hash(into:)","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"type":"text","text":" conforms to "},{"type":"codeVoice","code":"Hashable"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"text":".","type":"text"}]}},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/encode(to:)":{"conformance":{"conformancePrefix":[{"type":"text","text":"Conforms when"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"type":"codeVoice","code":"Encodable"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" is "},{"code":"String","type":"codeVoice"},{"text":".","type":"text"}],"availabilityPrefix":[{"text":"Available when","type":"text"}]},"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"encode","kind":"identifier"},{"kind":"text","text":"("},{"text":"to","kind":"externalParam"},{"text":": any ","kind":"text"},{"preciseIdentifier":"s:s7EncoderP","kind":"typeIdentifier","text":"Encoder"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/encode(to:)","abstract":[],"kind":"symbol","title":"encode(to:)","url":"\/documentation\/swiftnp\/reshapeorder\/encode(to:)","type":"topic"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder":{"title":"ReshapeOrder","navigatorTitle":[{"kind":"identifier","text":"ReshapeOrder"}],"fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ReshapeOrder","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder","abstract":[{"text":"An enumeration that defines the possible reshaping orders for multi-dimensional arrays.","type":"text"}],"role":"symbol","kind":"symbol","url":"\/documentation\/swiftnp\/reshapeorder","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/init(from:)":{"title":"init(from:)","conformance":{"constraints":[{"type":"codeVoice","code":"Self"},{"type":"text","text":" conforms to "},{"code":"Decodable","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"RawValue","type":"codeVoice"},{"type":"text","text":" is "},{"type":"codeVoice","code":"String"},{"text":".","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"kind":"symbol","role":"symbol","url":"\/documentation\/swiftnp\/reshapeorder\/init(from:)","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/init(from:)","type":"topic","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":": any "},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}]},"doc://SwiftNP/documentation/SwiftNP/ReshapeOrder/hashValue":{"conformance":{"availabilityPrefix":[{"text":"Available when","type":"text"}],"constraints":[{"code":"Self","type":"codeVoice"},{"text":" conforms to ","type":"text"},{"code":"Hashable","type":"codeVoice"},{"text":" and ","type":"text"},{"type":"codeVoice","code":"RawValue"},{"type":"text","text":" conforms to "},{"code":"Hashable","type":"codeVoice"},{"type":"text","text":"."}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"kind":"symbol","type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"hashValue"},{"text":": ","kind":"text"},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"}],"abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/ReshapeOrder\/hashValue","title":"hashValue","url":"\/documentation\/swiftnp\/reshapeorder\/hashvalue","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/shape.json b/docs/data/documentation/swiftnp/shape.json index 44da89d..0c13971 100644 --- a/docs/data/documentation/swiftnp/shape.json +++ b/docs/data/documentation/swiftnp/shape.json @@ -1 +1 @@ -{"metadata":{"navigatorTitle":[{"text":"Shape","kind":"identifier"}],"roleHeading":"Type Alias","role":"symbol","externalID":"s:7SwiftNP5Shapea","title":"Shape","modules":[{"name":"SwiftNP"}],"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"Shape","kind":"identifier"}],"symbolKind":"typealias"},"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"Shape","kind":"identifier"},{"text":" = [","kind":"text"},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"},{"kind":"text","text":"]"}],"platforms":["macOS"]}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape"},"variants":[{"paths":["\/documentation\/swiftnp\/shape"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"text":" ","type":"text"},{"type":"text","text":"Each integer represents the size of the array at a particular dimension."}],"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/Shape":{"title":"Shape","url":"\/documentation\/swiftnp\/shape","navigatorTitle":[{"text":"Shape","kind":"identifier"}],"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Shape"}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","type":"topic","abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"text":" ","type":"text"},{"type":"text","text":"Each integer represents the size of the array at a particular dimension."}]}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Shape","kind":"identifier"},{"kind":"text","text":" = ["},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"kind":"text","text":"]"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/shape"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"role":"symbol","title":"Shape","symbolKind":"typealias","externalID":"s:7SwiftNP5Shapea","roleHeading":"Type Alias","navigatorTitle":[{"text":"Shape","kind":"identifier"}],"modules":[{"name":"SwiftNP"}],"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"Shape","kind":"identifier"}]},"abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"type":"text","text":" "},{"text":"Each integer represents the size of the array at a particular dimension.","type":"text"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape"},"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/Shape":{"navigatorTitle":[{"text":"Shape","kind":"identifier"}],"type":"topic","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Shape"}],"url":"\/documentation\/swiftnp\/shape","title":"Shape","abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"text":" ","type":"text"},{"type":"text","text":"Each integer represents the size of the array at a particular dimension."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","role":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/snp.json b/docs/data/documentation/swiftnp/snp.json index c67fd29..d9c007d 100644 --- a/docs/data/documentation/swiftnp/snp.json +++ b/docs/data/documentation/swiftnp/snp.json @@ -1 +1 @@ -{"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/snp"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"SNP"},{"text":" = ","kind":"text"},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNPAAC","text":"SwiftNP"}],"languages":["swift"]}]}],"kind":"symbol","metadata":{"roleHeading":"Type Alias","title":"SNP","symbolKind":"typealias","navigatorTitle":[{"kind":"identifier","text":"SNP"}],"externalID":"s:7SwiftNP3SNPa","modules":[{"name":"SwiftNP"}],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"SNP","kind":"identifier"}],"role":"symbol"},"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNP"},"abstract":[{"type":"text","text":"Type alias for the SwiftNP framework, allowing for easier reference."},{"type":"text","text":" "},{"text":"This can be used to refer to the SwiftNP namespace or functionality.","type":"text"}],"references":{"doc://SwiftNP/documentation/SwiftNP/SwiftNP":{"navigatorTitle":[{"text":"SwiftNP","kind":"identifier"}],"type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"SwiftNP","kind":"identifier"}],"abstract":[{"type":"text","text":"A class that provides methods for creating and manipulating multi-dimensional arrays (NDArray) in the SwiftNP framework."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP","kind":"symbol","url":"\/documentation\/swiftnp\/swiftnp","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SNP":{"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"SNP"}],"navigatorTitle":[{"text":"SNP","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNP","abstract":[{"type":"text","text":"Type alias for the SwiftNP framework, allowing for easier reference."},{"type":"text","text":" "},{"text":"This can be used to refer to the SwiftNP namespace or functionality.","type":"text"}],"title":"SNP","kind":"symbol","role":"symbol","url":"\/documentation\/swiftnp\/snp"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNP"},"schemaVersion":{"minor":3,"major":0,"patch":0},"variants":[{"paths":["\/documentation\/swiftnp\/snp"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"text":"Type alias for the SwiftNP framework, allowing for easier reference.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"This can be used to refer to the SwiftNP namespace or functionality."}],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"text":"SNP","kind":"identifier"},{"text":" = ","kind":"text"},{"text":"SwiftNP","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNPAAC","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP"}],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"metadata":{"role":"symbol","symbolKind":"typealias","title":"SNP","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"SNP","kind":"identifier"}],"roleHeading":"Type Alias","externalID":"s:7SwiftNP3SNPa","navigatorTitle":[{"kind":"identifier","text":"SNP"}],"modules":[{"name":"SwiftNP"}]},"sections":[],"references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SNP":{"url":"\/documentation\/swiftnp\/snp","kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNP","abstract":[{"text":"Type alias for the SwiftNP framework, allowing for easier reference.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"This can be used to refer to the SwiftNP namespace or functionality."}],"navigatorTitle":[{"text":"SNP","kind":"identifier"}],"title":"SNP","type":"topic","fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"SNP"}]},"doc://SwiftNP/documentation/SwiftNP/SwiftNP":{"role":"symbol","url":"\/documentation\/swiftnp\/swiftnp","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"SwiftNP"}],"type":"topic","title":"SwiftNP","navigatorTitle":[{"text":"SwiftNP","kind":"identifier"}],"abstract":[{"text":"A class that provides methods for creating and manipulating multi-dimensional arrays (NDArray) in the SwiftNP framework.","type":"text"}],"kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/snperror.json b/docs/data/documentation/swiftnp/snperror.json index 2779b05..c79c0cb 100644 --- a/docs/data/documentation/swiftnp/snperror.json +++ b/docs/data/documentation/swiftnp/snperror.json @@ -1 +1 @@ -{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"type":"text","text":" "},{"type":"text","text":"This conforms to the Error protocol and provides custom descriptions for error handling."}],"metadata":{"title":"SNPError","navigatorTitle":[{"text":"SNPError","kind":"identifier"}],"modules":[{"name":"SwiftNP"}],"symbolKind":"enum","externalID":"s:7SwiftNP8SNPErrorO","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"SNPError","kind":"identifier"}],"role":"symbol","roleHeading":"Enumeration"},"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"SNPError","kind":"identifier"}],"platforms":["macOS"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/snperror"]}],"sections":[],"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/assertionError(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/floatingPointError(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/indexError(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/memoryError(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/shapeError(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/typeError(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/valueError(_:)"],"generated":true,"anchor":"Enumeration-Cases"},{"anchor":"Instance-Properties","title":"Instance Properties","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/description"],"generated":true},{"title":"Default Implementations","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/Error-Implementations"],"generated":true,"anchor":"Default-Implementations"}],"relationshipsSections":[{"title":"Conforms To","kind":"relationships","type":"conformsTo","identifiers":["doc:\/\/SwiftNP\/s23CustomStringConvertibleP","doc:\/\/SwiftNP\/s5ErrorP","doc:\/\/SwiftNP\/s8SendableP"]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","interfaceLanguage":"swift"},"references":{"doc://SwiftNP/documentation/SwiftNP/SNPError/typeError(_:)":{"title":"SNPError.typeError(_:)","abstract":[],"url":"\/documentation\/swiftnp\/snperror\/typeerror(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/typeError(_:)","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"typeError","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/SNPError/shapeError(_:)":{"url":"\/documentation\/swiftnp\/snperror\/shapeerror(_:)","kind":"symbol","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/shapeError(_:)","role":"symbol","type":"topic","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"shapeError"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"SNPError.shapeError(_:)"},"doc://SwiftNP/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/SwiftNP\/s23CustomStringConvertibleP"},"doc://SwiftNP/documentation/SwiftNP/SNPError/floatingPointError(_:)":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"floatingPointError","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":")"}],"type":"topic","abstract":[],"title":"SNPError.floatingPointError(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/floatingPointError(_:)","url":"\/documentation\/swiftnp\/snperror\/floatingpointerror(_:)","kind":"symbol","role":"symbol"},"doc://SwiftNP/s5ErrorP":{"type":"unresolvable","title":"Swift.Error","identifier":"doc:\/\/SwiftNP\/s5ErrorP"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"text":" ","type":"text"},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError","type":"topic","url":"\/documentation\/swiftnp\/snperror","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"navigatorTitle":[{"text":"SNPError","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/SNPError/Error-Implementations":{"abstract":[],"title":"Error Implementations","type":"topic","url":"\/documentation\/swiftnp\/snperror\/error-implementations","kind":"article","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/Error-Implementations","role":"collectionGroup"},"doc://SwiftNP/documentation/SwiftNP/SNPError/description":{"kind":"symbol","abstract":[{"type":"text","text":"A textual description of the error, used for logging and debugging."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/description","title":"description","url":"\/documentation\/swiftnp\/snperror\/description","type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"description","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}]},"doc://SwiftNP/documentation/SwiftNP/SNPError/indexError(_:)":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"indexError"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":")"}],"title":"SNPError.indexError(_:)","kind":"symbol","type":"topic","abstract":[],"url":"\/documentation\/swiftnp\/snperror\/indexerror(_:)","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/indexError(_:)"},"doc://SwiftNP/documentation/SwiftNP/SNPError/valueError(_:)":{"url":"\/documentation\/swiftnp\/snperror\/valueerror(_:)","abstract":[],"role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"valueError"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"SNPError.valueError(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/valueError(_:)","kind":"symbol","type":"topic"},"doc://SwiftNP/s8SendableP":{"type":"unresolvable","title":"Swift.Sendable","identifier":"doc:\/\/SwiftNP\/s8SendableP"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError/assertionError(_:)":{"type":"topic","kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"assertionError","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[],"title":"SNPError.assertionError(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/assertionError(_:)","url":"\/documentation\/swiftnp\/snperror\/assertionerror(_:)"},"doc://SwiftNP/documentation/SwiftNP/SNPError/memoryError(_:)":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"memoryError"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"SNPError.memoryError(_:)","kind":"symbol","type":"topic","abstract":[],"url":"\/documentation\/swiftnp\/snperror\/memoryerror(_:)","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/memoryError(_:)"}}} \ No newline at end of file +{"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"metadata":{"navigatorTitle":[{"text":"SNPError","kind":"identifier"}],"role":"symbol","externalID":"s:7SwiftNP8SNPErrorO","roleHeading":"Enumeration","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"title":"SNPError","modules":[{"name":"SwiftNP"}],"symbolKind":"enum"},"variants":[{"paths":["\/documentation\/swiftnp\/snperror"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/assertionError(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/floatingPointError(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/indexError(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/memoryError(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/shapeError(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/typeError(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/valueError(_:)"],"generated":true,"anchor":"Enumeration-Cases"},{"anchor":"Instance-Properties","title":"Instance Properties","generated":true,"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/description"]},{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/Error-Implementations"],"title":"Default Implementations","generated":true,"anchor":"Default-Implementations"}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","interfaceLanguage":"swift"},"relationshipsSections":[{"type":"conformsTo","kind":"relationships","identifiers":["doc:\/\/SwiftNP\/s23CustomStringConvertibleP","doc:\/\/SwiftNP\/s5ErrorP","doc:\/\/SwiftNP\/s8SendableP"],"title":"Conforms To"}],"sections":[],"abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"type":"text","text":" "},{"type":"text","text":"This conforms to the Error protocol and provides custom descriptions for error handling."}],"schemaVersion":{"patch":0,"major":0,"minor":3},"references":{"doc://SwiftNP/documentation/SwiftNP/SNPError/typeError(_:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/typeError(_:)","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"typeError"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"url":"\/documentation\/swiftnp\/snperror\/typeerror(_:)","title":"SNPError.typeError(_:)","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError/valueError(_:)":{"kind":"symbol","abstract":[],"role":"symbol","title":"SNPError.valueError(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/valueError(_:)","url":"\/documentation\/swiftnp\/snperror\/valueerror(_:)","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"valueError","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError/memoryError(_:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/memoryError(_:)","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"memoryError","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"url":"\/documentation\/swiftnp\/snperror\/memoryerror(_:)","title":"SNPError.memoryError(_:)","type":"topic"},"doc://SwiftNP/s8SendableP":{"type":"unresolvable","title":"Swift.Sendable","identifier":"doc:\/\/SwiftNP\/s8SendableP"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP/SNPError/description":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/description","abstract":[{"type":"text","text":"A textual description of the error, used for logging and debugging."}],"kind":"symbol","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"description"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"url":"\/documentation\/swiftnp\/snperror\/description","title":"description","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError/Error-Implementations":{"kind":"article","abstract":[],"role":"collectionGroup","title":"Error Implementations","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/Error-Implementations","url":"\/documentation\/swiftnp\/snperror\/error-implementations","type":"topic"},"doc://SwiftNP/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/SwiftNP\/s23CustomStringConvertibleP"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SNPError/indexError(_:)":{"kind":"symbol","abstract":[],"role":"symbol","title":"SNPError.indexError(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/indexError(_:)","url":"\/documentation\/swiftnp\/snperror\/indexerror(_:)","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"indexError","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError/assertionError(_:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/assertionError(_:)","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"assertionError"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"url":"\/documentation\/swiftnp\/snperror\/assertionerror(_:)","title":"SNPError.assertionError(_:)","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError/floatingPointError(_:)":{"kind":"symbol","abstract":[],"role":"symbol","title":"SNPError.floatingPointError(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/floatingPointError(_:)","url":"\/documentation\/swiftnp\/snperror\/floatingpointerror(_:)","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"floatingPointError"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError/shapeError(_:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/shapeError(_:)","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"shapeError","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"url":"\/documentation\/swiftnp\/snperror\/shapeerror(_:)","title":"SNPError.shapeError(_:)","type":"topic"},"doc://SwiftNP/s5ErrorP":{"identifier":"doc:\/\/SwiftNP\/s5ErrorP","type":"unresolvable","title":"Swift.Error"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/snperror/assertionerror(_:).json b/docs/data/documentation/swiftnp/snperror/assertionerror(_:).json index 40d3ede..c3cce1c 100644 --- a/docs/data/documentation/swiftnp/snperror/assertionerror(_:).json +++ b/docs/data/documentation/swiftnp/snperror/assertionerror(_:).json @@ -1 +1 @@ -{"metadata":{"externalID":"s:7SwiftNP8SNPErrorO14assertionErroryACSScACmF","modules":[{"name":"SwiftNP"}],"role":"symbol","title":"SNPError.assertionError(_:)","roleHeading":"Case","symbolKind":"case","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"assertionError","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}]},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/snperror\/assertionerror(_:)"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/assertionError(_:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"assertionError"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"]}]}],"kind":"symbol","sections":[],"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError/assertionError(_:)":{"type":"topic","kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"assertionError","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[],"title":"SNPError.assertionError(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/assertionError(_:)","url":"\/documentation\/swiftnp\/snperror\/assertionerror(_:)"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"text":" ","type":"text"},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError","type":"topic","url":"\/documentation\/swiftnp\/snperror","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"navigatorTitle":[{"text":"SNPError","kind":"identifier"}]}}} \ No newline at end of file +{"metadata":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"assertionError","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":")"}],"roleHeading":"Case","role":"symbol","externalID":"s:7SwiftNP8SNPErrorO14assertionErroryACSScACmF","symbolKind":"case","title":"SNPError.assertionError(_:)","modules":[{"name":"SwiftNP"}]},"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"assertionError"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/assertionError(_:)","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/snperror\/assertionerror(_:)"]}],"references":{"doc://SwiftNP/documentation/SwiftNP/SNPError/assertionError(_:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/assertionError(_:)","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"assertionError"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"url":"\/documentation\/swiftnp\/snperror\/assertionerror(_:)","title":"SNPError.assertionError(_:)","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/snperror/description.json b/docs/data/documentation/swiftnp/snperror/description.json index 4222721..2283884 100644 --- a/docs/data/documentation/swiftnp/snperror/description.json +++ b/docs/data/documentation/swiftnp/snperror/description.json @@ -1 +1 @@ -{"abstract":[{"text":"A textual description of the error, used for logging and debugging.","type":"text"}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/description"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}]}],"kind":"declarations"}],"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"description","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}],"externalID":"s:7SwiftNP8SNPErrorO11descriptionSSvp","modules":[{"name":"SwiftNP"}],"symbolKind":"property","title":"description","role":"symbol","roleHeading":"Instance Property"},"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"paths":["\/documentation\/swiftnp\/snperror\/description"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","url":"\/documentation\/swiftnp","role":"collection","kind":"symbol","type":"topic","title":"SwiftNP","abstract":[]},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"text":" ","type":"text"},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError","type":"topic","url":"\/documentation\/swiftnp\/snperror","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"navigatorTitle":[{"text":"SNPError","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/SNPError/description":{"kind":"symbol","abstract":[{"type":"text","text":"A textual description of the error, used for logging and debugging."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/description","title":"description","url":"\/documentation\/swiftnp\/snperror\/description","type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"description","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}]}}} \ No newline at end of file +{"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"abstract":[{"type":"text","text":"A textual description of the error, used for logging and debugging."}],"kind":"symbol","metadata":{"role":"symbol","symbolKind":"property","roleHeading":"Instance Property","title":"description","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"externalID":"s:7SwiftNP8SNPErrorO11descriptionSSvp","modules":[{"name":"SwiftNP"}]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"description","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/snperror\/description"]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/description","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP/SNPError/description":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/description","abstract":[{"type":"text","text":"A textual description of the error, used for logging and debugging."}],"kind":"symbol","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"description"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"url":"\/documentation\/swiftnp\/snperror\/description","title":"description","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/snperror/error-implementations.json b/docs/data/documentation/swiftnp/snperror/error-implementations.json index d46d206..298ebad 100644 --- a/docs/data/documentation/swiftnp/snperror/error-implementations.json +++ b/docs/data/documentation/swiftnp/snperror/error-implementations.json @@ -1 +1 @@ -{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/Error-Implementations","interfaceLanguage":"swift"},"kind":"article","topicSections":[{"generated":true,"title":"Instance Properties","anchor":"Instance-Properties","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/localizedDescription"]}],"variants":[{"paths":["\/documentation\/swiftnp\/snperror\/error-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"metadata":{"role":"collectionGroup","title":"Error Implementations","modules":[{"name":"SwiftNP"}],"roleHeading":"API Collection"},"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"text":" ","type":"text"},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError","type":"topic","url":"\/documentation\/swiftnp\/snperror","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"navigatorTitle":[{"text":"SNPError","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/SNPError/localizedDescription":{"kind":"symbol","abstract":[],"url":"\/documentation\/swiftnp\/snperror\/localizeddescription","title":"localizedDescription","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/localizedDescription","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"localizedDescription","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}]}}} \ No newline at end of file +{"metadata":{"modules":[{"name":"SwiftNP"}],"title":"Error Implementations","role":"collectionGroup","roleHeading":"API Collection"},"topicSections":[{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/localizedDescription"],"generated":true,"anchor":"Instance-Properties","title":"Instance Properties"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"kind":"article","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/Error-Implementations"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/snperror\/error-implementations"]}],"references":{"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SNPError/localizedDescription":{"kind":"symbol","title":"localizedDescription","abstract":[],"type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"localizedDescription"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"url":"\/documentation\/swiftnp\/snperror\/localizeddescription","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/localizedDescription"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/snperror/floatingpointerror(_:).json b/docs/data/documentation/swiftnp/snperror/floatingpointerror(_:).json index 0eaf060..814d2dd 100644 --- a/docs/data/documentation/swiftnp/snperror/floatingpointerror(_:).json +++ b/docs/data/documentation/swiftnp/snperror/floatingpointerror(_:).json @@ -1 +1 @@ -{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/floatingPointError(_:)"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"externalID":"s:7SwiftNP8SNPErrorO18floatingPointErroryACSScACmF","modules":[{"name":"SwiftNP"}],"roleHeading":"Case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"floatingPointError","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"role":"symbol","symbolKind":"case","title":"SNPError.floatingPointError(_:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"floatingPointError","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/snperror\/floatingpointerror(_:)"]}],"sections":[],"references":{"doc://SwiftNP/documentation/SwiftNP/SNPError":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"SNPError","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","url":"\/documentation\/swiftnp\/snperror","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"SNPError","kind":"identifier"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError"},"doc://SwiftNP/documentation/SwiftNP":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","url":"\/documentation\/swiftnp","role":"collection","kind":"symbol","type":"topic","title":"SwiftNP","abstract":[]},"doc://SwiftNP/documentation/SwiftNP/SNPError/floatingPointError(_:)":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"floatingPointError","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":")"}],"type":"topic","abstract":[],"title":"SNPError.floatingPointError(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/floatingPointError(_:)","url":"\/documentation\/swiftnp\/snperror\/floatingpointerror(_:)","kind":"symbol","role":"symbol"}}} \ No newline at end of file +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/floatingPointError(_:)"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"roleHeading":"Case","modules":[{"name":"SwiftNP"}],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"floatingPointError","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":")"}],"externalID":"s:7SwiftNP8SNPErrorO18floatingPointErroryACSScACmF","role":"symbol","title":"SNPError.floatingPointError(_:)","symbolKind":"case"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"floatingPointError","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}]}]}],"variants":[{"paths":["\/documentation\/swiftnp\/snperror\/floatingpointerror(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/SNPError/floatingPointError(_:)":{"kind":"symbol","abstract":[],"role":"symbol","title":"SNPError.floatingPointError(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/floatingPointError(_:)","url":"\/documentation\/swiftnp\/snperror\/floatingpointerror(_:)","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"floatingPointError"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"type":"topic"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/snperror/indexerror(_:).json b/docs/data/documentation/swiftnp/snperror/indexerror(_:).json index 78189f3..896366e 100644 --- a/docs/data/documentation/swiftnp/snperror/indexerror(_:).json +++ b/docs/data/documentation/swiftnp/snperror/indexerror(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"indexError"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":")"}],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/indexError(_:)"},"metadata":{"modules":[{"name":"SwiftNP"}],"roleHeading":"Case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"indexError"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":")"}],"externalID":"s:7SwiftNP8SNPErrorO10indexErroryACSScACmF","role":"symbol","title":"SNPError.indexError(_:)","symbolKind":"case"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/snperror\/indexerror(_:)"]}],"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://SwiftNP/documentation/SwiftNP/SNPError":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"text":" ","type":"text"},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError","type":"topic","url":"\/documentation\/swiftnp\/snperror","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"navigatorTitle":[{"text":"SNPError","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/SNPError/indexError(_:)":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"indexError"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":")"}],"title":"SNPError.indexError(_:)","kind":"symbol","type":"topic","abstract":[],"url":"\/documentation\/swiftnp\/snperror\/indexerror(_:)","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/indexError(_:)"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"modules":[{"name":"SwiftNP"}],"role":"symbol","roleHeading":"Case","symbolKind":"case","externalID":"s:7SwiftNP8SNPErrorO10indexErroryACSScACmF","title":"SNPError.indexError(_:)","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"indexError","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":")"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/indexError(_:)"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"indexError"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/snperror\/indexerror(_:)"]}],"references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SNPError/indexError(_:)":{"kind":"symbol","abstract":[],"role":"symbol","title":"SNPError.indexError(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/indexError(_:)","url":"\/documentation\/swiftnp\/snperror\/indexerror(_:)","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"indexError","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/snperror/localizeddescription.json b/docs/data/documentation/swiftnp/snperror/localizeddescription.json index 83d7314..d96f49e 100644 --- a/docs/data/documentation/swiftnp/snperror/localizeddescription.json +++ b/docs/data/documentation/swiftnp/snperror/localizeddescription.json @@ -1 +1 @@ -{"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"externalID":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:7SwiftNP8SNPErrorO","title":"localizedDescription","modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"localizedDescription","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"role":"symbol","extendedModule":"Swift","roleHeading":"Instance Property","platforms":[{"introducedAt":"8.0","name":"iOS","unavailable":false,"deprecated":false,"beta":false},{"unavailable":false,"beta":false,"deprecated":false,"introducedAt":"10.10","name":"macOS"},{"name":"tvOS","beta":false,"deprecated":false,"introducedAt":"9.0","unavailable":false},{"name":"watchOS","unavailable":false,"beta":false,"introducedAt":"2.0","deprecated":false}]},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/Error-Implementations"]]},"variants":[{"paths":["\/documentation\/swiftnp\/snperror\/localizeddescription"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"Inherited from "},{"code":"Error.localizedDescription","type":"codeVoice"},{"text":".","type":"text"}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/localizedDescription","interfaceLanguage":"swift"},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"localizedDescription","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}]}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/SNPError":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"text":" ","type":"text"},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError","type":"topic","url":"\/documentation\/swiftnp\/snperror","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"navigatorTitle":[{"text":"SNPError","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/SNPError/localizedDescription":{"kind":"symbol","abstract":[],"url":"\/documentation\/swiftnp\/snperror\/localizeddescription","title":"localizedDescription","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/localizedDescription","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"localizedDescription","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError/Error-Implementations":{"abstract":[],"title":"Error Implementations","type":"topic","url":"\/documentation\/swiftnp\/snperror\/error-implementations","kind":"article","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/Error-Implementations","role":"collectionGroup"}}} \ No newline at end of file +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/snperror\/localizeddescription"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"abstract":[{"type":"text","text":"Inherited from "},{"code":"Error.localizedDescription","type":"codeVoice"},{"type":"text","text":"."}],"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/Error-Implementations"]]},"metadata":{"extendedModule":"Swift","modules":[{"name":"SwiftNP","relatedModules":["Swift"]}],"externalID":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:7SwiftNP8SNPErrorO","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"localizedDescription","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"roleHeading":"Instance Property","role":"symbol","symbolKind":"property","title":"localizedDescription","platforms":[{"name":"iOS","unavailable":false,"introducedAt":"8.0","deprecated":false,"beta":false},{"beta":false,"deprecated":false,"unavailable":false,"name":"macOS","introducedAt":"10.10"},{"name":"tvOS","unavailable":false,"deprecated":false,"introducedAt":"9.0","beta":false},{"introducedAt":"2.0","deprecated":false,"unavailable":false,"name":"watchOS","beta":false}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/localizedDescription"},"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"localizedDescription"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://SwiftNP/documentation/SwiftNP/SNPError/Error-Implementations":{"kind":"article","abstract":[],"role":"collectionGroup","title":"Error Implementations","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/Error-Implementations","url":"\/documentation\/swiftnp\/snperror\/error-implementations","type":"topic"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP/SNPError/localizedDescription":{"kind":"symbol","title":"localizedDescription","abstract":[],"type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"localizedDescription"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"url":"\/documentation\/swiftnp\/snperror\/localizeddescription","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/localizedDescription"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/snperror/memoryerror(_:).json b/docs/data/documentation/swiftnp/snperror/memoryerror(_:).json index a51fdb7..0be2a31 100644 --- a/docs/data/documentation/swiftnp/snperror/memoryerror(_:).json +++ b/docs/data/documentation/swiftnp/snperror/memoryerror(_:).json @@ -1 +1 @@ -{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/memoryError(_:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"memoryError","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":")"}],"languages":["swift"]}]}],"kind":"symbol","schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"paths":["\/documentation\/swiftnp\/snperror\/memoryerror(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"metadata":{"title":"SNPError.memoryError(_:)","roleHeading":"Case","symbolKind":"case","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"memoryError","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"externalID":"s:7SwiftNP8SNPErrorO11memoryErroryACSScACmF","modules":[{"name":"SwiftNP"}]},"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError/memoryError(_:)":{"fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"memoryError"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"SNPError.memoryError(_:)","kind":"symbol","type":"topic","abstract":[],"url":"\/documentation\/swiftnp\/snperror\/memoryerror(_:)","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/memoryError(_:)"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"text":" ","type":"text"},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError","type":"topic","url":"\/documentation\/swiftnp\/snperror","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"navigatorTitle":[{"text":"SNPError","kind":"identifier"}]}}} \ No newline at end of file +{"schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"memoryError","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"]}]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/memoryError(_:)"},"metadata":{"externalID":"s:7SwiftNP8SNPErrorO11memoryErroryACSScACmF","roleHeading":"Case","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"memoryError"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"role":"symbol","symbolKind":"case","modules":[{"name":"SwiftNP"}],"title":"SNPError.memoryError(_:)"},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/snperror\/memoryerror(_:)"]}],"references":{"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SNPError/memoryError(_:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/memoryError(_:)","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"memoryError","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"url":"\/documentation\/swiftnp\/snperror\/memoryerror(_:)","title":"SNPError.memoryError(_:)","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/snperror/shapeerror(_:).json b/docs/data/documentation/swiftnp/snperror/shapeerror(_:).json index c2a3624..0fbbd45 100644 --- a/docs/data/documentation/swiftnp/snperror/shapeerror(_:).json +++ b/docs/data/documentation/swiftnp/snperror/shapeerror(_:).json @@ -1 +1 @@ -{"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/shapeError(_:)"},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"shapeError","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/swiftnp\/snperror\/shapeerror(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"metadata":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"shapeError"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"modules":[{"name":"SwiftNP"}],"symbolKind":"case","title":"SNPError.shapeError(_:)","roleHeading":"Case","role":"symbol","externalID":"s:7SwiftNP8SNPErrorO10shapeErroryACSScACmF"},"references":{"doc://SwiftNP/documentation/SwiftNP/SNPError/shapeError(_:)":{"url":"\/documentation\/swiftnp\/snperror\/shapeerror(_:)","kind":"symbol","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/shapeError(_:)","role":"symbol","type":"topic","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"shapeError"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"SNPError.shapeError(_:)"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"text":" ","type":"text"},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError","type":"topic","url":"\/documentation\/swiftnp\/snperror","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"navigatorTitle":[{"text":"SNPError","kind":"identifier"}]}}} \ No newline at end of file +{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/shapeError(_:)","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"shapeError","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/snperror\/shapeerror(_:)"]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"modules":[{"name":"SwiftNP"}],"externalID":"s:7SwiftNP8SNPErrorO10shapeErroryACSScACmF","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"shapeError","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"roleHeading":"Case","symbolKind":"case","title":"SNPError.shapeError(_:)","role":"symbol"},"sections":[],"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SNPError/shapeError(_:)":{"url":"\/documentation\/swiftnp\/snperror\/shapeerror(_:)","abstract":[],"role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"shapeError","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"SNPError.shapeError(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/shapeError(_:)","kind":"symbol","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/snperror/typeerror(_:).json b/docs/data/documentation/swiftnp/snperror/typeerror(_:).json index 1031e18..2654356 100644 --- a/docs/data/documentation/swiftnp/snperror/typeerror(_:).json +++ b/docs/data/documentation/swiftnp/snperror/typeerror(_:).json @@ -1 +1 @@ -{"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/typeError(_:)"},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"typeError"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"platforms":["macOS"]}]}],"metadata":{"externalID":"s:7SwiftNP8SNPErrorO9typeErroryACSScACmF","role":"symbol","symbolKind":"case","roleHeading":"Case","title":"SNPError.typeError(_:)","modules":[{"name":"SwiftNP"}],"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"typeError","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/snperror\/typeerror(_:)"]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"type":"topic","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"SNPError","kind":"identifier"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","url":"\/documentation\/swiftnp\/snperror","role":"symbol","kind":"symbol","navigatorTitle":[{"text":"SNPError","kind":"identifier"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError"},"doc://SwiftNP/documentation/SwiftNP/SNPError/typeError(_:)":{"title":"SNPError.typeError(_:)","abstract":[],"url":"\/documentation\/swiftnp\/snperror\/typeerror(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/typeError(_:)","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"typeError","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"kind":"symbol"}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"typeError","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}]}]}],"kind":"symbol","metadata":{"role":"symbol","modules":[{"name":"SwiftNP"}],"externalID":"s:7SwiftNP8SNPErrorO9typeErroryACSScACmF","symbolKind":"case","title":"SNPError.typeError(_:)","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"typeError"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":")"}],"roleHeading":"Case"},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/typeError(_:)","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/snperror\/typeerror(_:)"]}],"references":{"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SNPError/typeError(_:)":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/typeError(_:)","abstract":[],"kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"typeError"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"url":"\/documentation\/swiftnp\/snperror\/typeerror(_:)","title":"SNPError.typeError(_:)","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/snperror/valueerror(_:).json b/docs/data/documentation/swiftnp/snperror/valueerror(_:).json index ae719e4..339db07 100644 --- a/docs/data/documentation/swiftnp/snperror/valueerror(_:).json +++ b/docs/data/documentation/swiftnp/snperror/valueerror(_:).json @@ -1 +1 @@ -{"metadata":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"valueError"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"title":"SNPError.valueError(_:)","modules":[{"name":"SwiftNP"}],"roleHeading":"Case","externalID":"s:7SwiftNP8SNPErrorO10valueErroryACSScACmF","role":"symbol","symbolKind":"case"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"valueError"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}]}]}],"variants":[{"paths":["\/documentation\/swiftnp\/snperror\/valueerror(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"sections":[],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/valueError(_:)","interfaceLanguage":"swift"},"kind":"symbol","schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://SwiftNP/documentation/SwiftNP/SNPError":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"text":" ","type":"text"},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError","type":"topic","url":"\/documentation\/swiftnp\/snperror","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"navigatorTitle":[{"text":"SNPError","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/SNPError/valueError(_:)":{"url":"\/documentation\/swiftnp\/snperror\/valueerror(_:)","abstract":[],"role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"valueError"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"SNPError.valueError(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/valueError(_:)","kind":"symbol","type":"topic"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"]]},"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"valueError","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":")","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/swiftnp\/snperror\/valueerror(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/valueError(_:)","interfaceLanguage":"swift"},"metadata":{"modules":[{"name":"SwiftNP"}],"roleHeading":"Case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"valueError"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"role":"symbol","externalID":"s:7SwiftNP8SNPErrorO10valueErroryACSScACmF","symbolKind":"case","title":"SNPError.valueError(_:)"},"sections":[],"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP/SNPError/valueError(_:)":{"kind":"symbol","abstract":[],"role":"symbol","title":"SNPError.valueError(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError\/valueError(_:)","url":"\/documentation\/swiftnp\/snperror\/valueerror(_:)","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"valueError","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/swift.json b/docs/data/documentation/swiftnp/swift.json index 820a820..5daaf17 100644 --- a/docs/data/documentation/swiftnp/swift.json +++ b/docs/data/documentation/swiftnp/swift.json @@ -1 +1 @@ -{"metadata":{"roleHeading":"Extended Module","symbolKind":"extension","modules":[{"name":"SwiftNP"}],"title":"Swift","role":"collection","externalID":"s:m:s:e:s:SS7SwiftNPE6custom3key4argsS2S10FoundationE17LocalizationValueV_Says7CVarArg_pGtFZ"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"sections":[],"topicSections":[{"title":"Extended Structures","generated":true,"anchor":"Extended-Structures","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String"]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"patch":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swift"]}],"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/Swift/String":{"title":"String","type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"String","kind":"identifier","preciseIdentifier":"s:SS"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String","role":"symbol","abstract":[],"kind":"symbol","navigatorTitle":[{"text":"String","kind":"identifier"}],"url":"\/documentation\/swiftnp\/swift\/string"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/Swift/Int":{"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int","abstract":[],"url":"\/documentation\/swiftnp\/swift\/int","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Int"}],"title":"Int","kind":"symbol","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/Swift":{"type":"topic","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","title":"Swift","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp\/swift"},"doc://SwiftNP/documentation/SwiftNP/Swift/Array":{"type":"topic","navigatorTitle":[{"text":"Array","kind":"identifier"}],"title":"Array","abstract":[{"text":"An extension to the Array type that adds a computed property to check if all elements are of the same type.","type":"text"}],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Array","kind":"identifier","preciseIdentifier":"s:Sa"}],"url":"\/documentation\/swiftnp\/swift\/array","kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array"}}} \ No newline at end of file +{"sections":[],"metadata":{"modules":[{"name":"SwiftNP"}],"role":"collection","symbolKind":"extension","externalID":"s:m:s:e:s:SS7SwiftNPE6custom3key4argsS2S10FoundationE17LocalizationValueV_Says7CVarArg_pGtFZ","roleHeading":"Extended Module","title":"Swift"},"kind":"symbol","topicSections":[{"generated":true,"title":"Extended Protocols","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Numeric"],"anchor":"Extended-Protocols"},{"anchor":"Extended-Structures","title":"Extended Structures","generated":true,"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String"]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swift"]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://SwiftNP/documentation/SwiftNP/Swift/Array":{"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array","kind":"symbol","abstract":[{"type":"text","text":"An extension to the Array type that adds a computed property to check if all elements are of the same type."}],"role":"symbol","title":"Array","url":"\/documentation\/swiftnp\/swift\/array","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"s:Sa","text":"Array"}],"navigatorTitle":[{"text":"Array","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/Swift/String":{"type":"topic","title":"String","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:SS","text":"String","kind":"identifier"}],"url":"\/documentation\/swiftnp\/swift\/string","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String","kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"String","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/Swift/Numeric":{"url":"\/documentation\/swiftnp\/swift\/numeric","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Numeric","kind":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"text":"Numeric","kind":"identifier","preciseIdentifier":"s:Sj"}],"abstract":[],"navigatorTitle":[{"text":"Numeric","kind":"identifier"}],"role":"symbol","type":"topic","title":"Numeric"},"doc://SwiftNP/documentation/SwiftNP/Swift":{"abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","role":"collection","url":"\/documentation\/swiftnp\/swift","title":"Swift"},"doc://SwiftNP/documentation/SwiftNP/Swift/Int":{"type":"topic","title":"Int","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"text":"Int","kind":"identifier","preciseIdentifier":"s:Si"}],"url":"\/documentation\/swiftnp\/swift\/int","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int","kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"Int","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/swift/array.json b/docs/data/documentation/swiftnp/swift/array.json index ec32a85..ef21220 100644 --- a/docs/data/documentation/swiftnp/swift/array.json +++ b/docs/data/documentation/swiftnp/swift/array.json @@ -1 +1 @@ -{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift"]]},"sections":[],"metadata":{"title":"Array","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"s:Sa","text":"Array"}],"navigatorTitle":[{"kind":"identifier","text":"Array"}],"externalID":"s:e:s:Sa7SwiftNPE13isHomogeneousSbvp","extendedModule":"Swift","symbolKind":"extension","roleHeading":"Extended Structure","modules":[{"name":"SwiftNP","relatedModules":["Swift"]}]},"abstract":[{"type":"text","text":"An extension to the Array type that adds a computed property to check if all elements are of the same type."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sa","text":"Array"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swift\/array"]}],"kind":"symbol","topicSections":[{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array\/isHomogeneous"],"anchor":"Instance-Properties","generated":true,"title":"Instance Properties"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array","interfaceLanguage":"swift"},"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/Swift/Array/isHomogeneous":{"url":"\/documentation\/swiftnp\/swift\/array\/ishomogeneous","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array\/isHomogeneous","type":"topic","kind":"symbol","role":"symbol","title":"isHomogeneous","abstract":[{"type":"text","text":"A Boolean property that indicates whether all elements in the array are of the same type."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"isHomogeneous"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}]},"doc://SwiftNP/documentation/SwiftNP/Swift/Array":{"type":"topic","navigatorTitle":[{"text":"Array","kind":"identifier"}],"title":"Array","abstract":[{"text":"An extension to the Array type that adds a computed property to check if all elements are of the same type.","type":"text"}],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Array","kind":"identifier","preciseIdentifier":"s:Sa"}],"url":"\/documentation\/swiftnp\/swift\/array","kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array"},"doc://SwiftNP/documentation/SwiftNP/Swift":{"type":"topic","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","title":"Swift","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp\/swift"}}} \ No newline at end of file +{"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"text":"Array","kind":"typeIdentifier","preciseIdentifier":"s:Sa"}],"platforms":["macOS"],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/swiftnp\/swift\/array"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"text":"An extension to the Array type that adds a computed property to check if all elements are of the same type.","type":"text"}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array"},"topicSections":[{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array\/isHomogeneous"],"generated":true,"title":"Instance Properties","anchor":"Instance-Properties"}],"sections":[],"metadata":{"modules":[{"name":"SwiftNP","relatedModules":["Swift"]}],"navigatorTitle":[{"kind":"identifier","text":"Array"}],"externalID":"s:e:s:Sa7SwiftNPE13isHomogeneousSbvp","title":"Array","extendedModule":"Swift","role":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","text":"Array","preciseIdentifier":"s:Sa"}],"symbolKind":"extension","roleHeading":"Extended Structure"},"references":{"doc://SwiftNP/documentation/SwiftNP/Swift/Array/isHomogeneous":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"isHomogeneous","kind":"identifier"},{"kind":"text","text":": "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array\/isHomogeneous","role":"symbol","title":"isHomogeneous","abstract":[{"type":"text","text":"A Boolean property that indicates whether all elements in the array are of the same type."}],"url":"\/documentation\/swiftnp\/swift\/array\/ishomogeneous","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/Swift":{"abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","role":"collection","url":"\/documentation\/swiftnp\/swift","title":"Swift"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/Swift/Array":{"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array","kind":"symbol","abstract":[{"type":"text","text":"An extension to the Array type that adds a computed property to check if all elements are of the same type."}],"role":"symbol","title":"Array","url":"\/documentation\/swiftnp\/swift\/array","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"s:Sa","text":"Array"}],"navigatorTitle":[{"text":"Array","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/swift/array/ishomogeneous.json b/docs/data/documentation/swiftnp/swift/array/ishomogeneous.json index fd3f8b8..278ff3c 100644 --- a/docs/data/documentation/swiftnp/swift/array/ishomogeneous.json +++ b/docs/data/documentation/swiftnp/swift/array/ishomogeneous.json @@ -1 +1 @@ -{"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"type":"text","text":"A Boolean property that indicates whether all elements in the array are of the same type."}],"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swift\/array\/ishomogeneous"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array\/isHomogeneous"},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"isHomogeneous"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"text":" { ","kind":"text"},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"kind":"content","content":[{"level":2,"text":"Return Value","anchor":"return-value","type":"heading"},{"type":"paragraph","inlineContent":[{"text":"","type":"text"},{"type":"codeVoice","code":"true"},{"text":" if the array is empty or if all elements are of the same type; otherwise, ","type":"text"},{"type":"codeVoice","code":"false"},{"type":"text","text":"."}]}]},{"content":[{"level":2,"anchor":"discussion","text":"Discussion","type":"heading"},{"inlineContent":[{"text":"Example:","type":"text"},{"type":"text","text":" "},{"text":"let homogeneousArray: [Any] = [1, 2, 3]","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"let isHomogeneous = homogeneousArray.isHomogeneous \/\/ true"}],"type":"paragraph"},{"code":["let heterogeneousArray: [Any] = [1, \"two\", 3.0]","let isHeterogeneous = heterogeneousArray.isHomogeneous \/\/ false"],"type":"codeListing","syntax":null}],"kind":"content"}],"metadata":{"externalID":"s:Sa7SwiftNPE13isHomogeneousSbvp","role":"symbol","roleHeading":"Instance Property","modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"isHomogeneous","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"title":"isHomogeneous","extendedModule":"Swift","symbolKind":"property"},"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/Swift/Array/isHomogeneous":{"url":"\/documentation\/swiftnp\/swift\/array\/ishomogeneous","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array\/isHomogeneous","type":"topic","kind":"symbol","role":"symbol","title":"isHomogeneous","abstract":[{"type":"text","text":"A Boolean property that indicates whether all elements in the array are of the same type."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"isHomogeneous"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}]},"doc://SwiftNP/documentation/SwiftNP/Swift/Array":{"type":"topic","navigatorTitle":[{"text":"Array","kind":"identifier"}],"title":"Array","abstract":[{"text":"An extension to the Array type that adds a computed property to check if all elements are of the same type.","type":"text"}],"fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Array","kind":"identifier","preciseIdentifier":"s:Sa"}],"url":"\/documentation\/swiftnp\/swift\/array","kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/Swift":{"type":"topic","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","title":"Swift","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp\/swift"}}} \ No newline at end of file +{"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"isHomogeneous","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"]}]},{"kind":"content","content":[{"level":2,"type":"heading","text":"Return Value","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"type":"codeVoice","code":"true"},{"type":"text","text":" if the array is empty or if all elements are of the same type; otherwise, "},{"type":"codeVoice","code":"false"},{"type":"text","text":"."}]}]},{"kind":"content","content":[{"text":"Discussion","type":"heading","level":2,"anchor":"discussion"},{"type":"paragraph","inlineContent":[{"text":"Example:","type":"text"},{"type":"text","text":" "},{"text":"let homogeneousArray: [Any] = [1, 2, 3]","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"let isHomogeneous = homogeneousArray.isHomogeneous \/\/ true"}]},{"type":"codeListing","syntax":null,"code":["let heterogeneousArray: [Any] = [1, \"two\", 3.0]","let isHeterogeneous = heterogeneousArray.isHomogeneous \/\/ false"]}]}],"abstract":[{"text":"A Boolean property that indicates whether all elements in the array are of the same type.","type":"text"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swift\/array\/ishomogeneous"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array\/isHomogeneous"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array"]]},"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"isHomogeneous","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"externalID":"s:Sa7SwiftNPE13isHomogeneousSbvp","role":"symbol","title":"isHomogeneous","roleHeading":"Instance Property","extendedModule":"Swift","modules":[{"name":"SwiftNP","relatedModules":["Swift"]}],"symbolKind":"property"},"references":{"doc://SwiftNP/documentation/SwiftNP/Swift":{"abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","role":"collection","url":"\/documentation\/swiftnp\/swift","title":"Swift"},"doc://SwiftNP/documentation/SwiftNP/Swift/Array":{"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array","kind":"symbol","abstract":[{"type":"text","text":"An extension to the Array type that adds a computed property to check if all elements are of the same type."}],"role":"symbol","title":"Array","url":"\/documentation\/swiftnp\/swift\/array","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"s:Sa","text":"Array"}],"navigatorTitle":[{"text":"Array","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/Swift/Array/isHomogeneous":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"isHomogeneous","kind":"identifier"},{"kind":"text","text":": "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Array\/isHomogeneous","role":"symbol","title":"isHomogeneous","abstract":[{"type":"text","text":"A Boolean property that indicates whether all elements in the array are of the same type."}],"url":"\/documentation\/swiftnp\/swift\/array\/ishomogeneous","type":"topic"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/swift/int.json b/docs/data/documentation/swiftnp/swift/int.json index 58f9ce4..e57244a 100644 --- a/docs/data/documentation/swiftnp/swift/int.json +++ b/docs/data/documentation/swiftnp/swift/int.json @@ -1 +1 @@ -{"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"}],"platforms":["macOS"]}]}],"metadata":{"title":"Int","role":"symbol","extendedModule":"Swift","modules":[{"name":"SwiftNP","relatedModules":["Swift"]}],"roleHeading":"Extended Structure","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"identifier"}],"navigatorTitle":[{"text":"Int","kind":"identifier"}],"externalID":"s:e:s:Si7SwiftNPE8isFiniteSbvp","symbolKind":"extension"},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swift\/int"]}],"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int\/isFinite"],"generated":true,"anchor":"Instance-Properties"}],"references":{"doc://SwiftNP/documentation/SwiftNP/Swift/Int/isFinite":{"type":"topic","abstract":[{"type":"text","text":"A computed property that checks if the integer is non-negative."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int\/isFinite","title":"isFinite","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"isFinite","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"kind":"symbol","role":"symbol","url":"\/documentation\/swiftnp\/swift\/int\/isfinite"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/Swift":{"type":"topic","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","title":"Swift","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp\/swift"},"doc://SwiftNP/documentation/SwiftNP/Swift/Int":{"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int","abstract":[],"url":"\/documentation\/swiftnp\/swift\/int","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Int"}],"title":"Int","kind":"symbol","role":"symbol"}}} \ No newline at end of file +{"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift"]]},"metadata":{"externalID":"s:e:s:Si7SwiftNPE8isFiniteSbvp","title":"Int","fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"preciseIdentifier":"s:Si","text":"Int","kind":"identifier"}],"modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"symbolKind":"extension","roleHeading":"Extended Structure","role":"symbol","extendedModule":"Swift","navigatorTitle":[{"text":"Int","kind":"identifier"}]},"topicSections":[{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int\/isFinite"],"anchor":"Instance-Properties","title":"Instance Properties","generated":true}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"}],"platforms":["macOS"]}]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int","interfaceLanguage":"swift"},"sections":[],"variants":[{"paths":["\/documentation\/swiftnp\/swift\/int"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/Swift":{"abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","role":"collection","url":"\/documentation\/swiftnp\/swift","title":"Swift"},"doc://SwiftNP/documentation/SwiftNP/Swift/Int":{"role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:Si","kind":"identifier","text":"Int"}],"url":"\/documentation\/swiftnp\/swift\/int","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int","abstract":[],"kind":"symbol","title":"Int","type":"topic","navigatorTitle":[{"text":"Int","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/Swift/Int/isFinite":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"isFinite"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"role":"symbol","type":"topic","abstract":[{"type":"text","text":"A computed property that checks if the integer is non-negative."}],"url":"\/documentation\/swiftnp\/swift\/int\/isfinite","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int\/isFinite","title":"isFinite","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/swift/int/isfinite.json b/docs/data/documentation/swiftnp/swift/int/isfinite.json index f40e627..19bb6d8 100644 --- a/docs/data/documentation/swiftnp/swift/int/isfinite.json +++ b/docs/data/documentation/swiftnp/swift/int/isfinite.json @@ -1 +1 @@ -{"schemaVersion":{"patch":0,"minor":3,"major":0},"abstract":[{"type":"text","text":"A computed property that checks if the integer is non-negative."}],"metadata":{"extendedModule":"Swift","symbolKind":"property","externalID":"s:Si7SwiftNPE8isFiniteSbvp","modules":[{"name":"SwiftNP","relatedModules":["Swift"]}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"isFinite","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"title":"isFinite","roleHeading":"Instance Property","role":"symbol"},"sections":[],"kind":"symbol","variants":[{"paths":["\/documentation\/swiftnp\/swift\/int\/isfinite"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"isFinite","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":" { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"]}]},{"kind":"content","content":[{"anchor":"return-value","text":"Return Value","level":2,"type":"heading"},{"type":"paragraph","inlineContent":[{"text":"A Boolean value indicating whether the integer is finite (non-negative).","type":"text"}]}]},{"content":[{"type":"heading","level":2,"text":"Discussion","anchor":"discussion"},{"items":[{"content":[{"inlineContent":[{"type":"text","text":"Example:"},{"type":"text","text":" "},{"type":"text","text":"let number = 5"},{"type":"text","text":" "},{"text":"print(number.isFinite) \/\/ Prints: true","type":"text"}],"type":"paragraph"}]}],"type":"unorderedList"}],"kind":"content"}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int"]]},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int\/isFinite","interfaceLanguage":"swift"},"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/Swift/Int/isFinite":{"type":"topic","abstract":[{"type":"text","text":"A computed property that checks if the integer is non-negative."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int\/isFinite","title":"isFinite","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"isFinite","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"kind":"symbol","role":"symbol","url":"\/documentation\/swiftnp\/swift\/int\/isfinite"},"doc://SwiftNP/documentation/SwiftNP/Swift/Int":{"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int","abstract":[],"url":"\/documentation\/swiftnp\/swift\/int","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Int"}],"title":"Int","kind":"symbol","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/Swift":{"type":"topic","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","title":"Swift","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp\/swift"}}} \ No newline at end of file +{"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"isFinite","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":" { "},{"text":"get","kind":"keyword"},{"kind":"text","text":" }"}],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"content","content":[{"level":2,"anchor":"return-value","type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A Boolean value indicating whether the integer is finite (non-negative)."}]}]},{"kind":"content","content":[{"text":"Discussion","type":"heading","level":2,"anchor":"discussion"},{"type":"unorderedList","items":[{"content":[{"inlineContent":[{"type":"text","text":"Example:"},{"text":" ","type":"text"},{"text":"let number = 5","type":"text"},{"text":" ","type":"text"},{"text":"print(number.isFinite) \/\/ Prints: true","type":"text"}],"type":"paragraph"}]}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swift\/int\/isfinite"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int\/isFinite"},"metadata":{"role":"symbol","modules":[{"name":"SwiftNP","relatedModules":["Swift"]}],"roleHeading":"Instance Property","externalID":"s:Si7SwiftNPE8isFiniteSbvp","symbolKind":"property","extendedModule":"Swift","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"isFinite"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"title":"isFinite"},"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int"]]},"abstract":[{"type":"text","text":"A computed property that checks if the integer is non-negative."}],"references":{"doc://SwiftNP/documentation/SwiftNP/Swift":{"abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","role":"collection","url":"\/documentation\/swiftnp\/swift","title":"Swift"},"doc://SwiftNP/documentation/SwiftNP/Swift/Int":{"type":"topic","title":"Int","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"text":"Int","kind":"identifier","preciseIdentifier":"s:Si"}],"url":"\/documentation\/swiftnp\/swift\/int","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int","kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"Int","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/Swift/Int/isFinite":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"isFinite"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"role":"symbol","type":"topic","abstract":[{"type":"text","text":"A computed property that checks if the integer is non-negative."}],"url":"\/documentation\/swiftnp\/swift\/int\/isfinite","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Int\/isFinite","title":"isFinite","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/swift/numeric.json b/docs/data/documentation/swiftnp/swift/numeric.json new file mode 100644 index 0000000..2fb3b23 --- /dev/null +++ b/docs/data/documentation/swiftnp/swift/numeric.json @@ -0,0 +1 @@ +{"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sj","text":"Numeric"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swift\/numeric"]}],"topicSections":[{"generated":true,"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Numeric\/nsnumber"],"title":"Instance Properties","anchor":"Instance-Properties"}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Numeric","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"role":"symbol","title":"Numeric","roleHeading":"Extended Protocol","fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"preciseIdentifier":"s:Sj","text":"Numeric","kind":"identifier"}],"modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"navigatorTitle":[{"text":"Numeric","kind":"identifier"}],"extendedModule":"Swift","externalID":"s:e:s:Sj7SwiftNPE8nsnumberSo8NSNumberCvp","symbolKind":"extension"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift"]]},"sections":[],"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/Swift/Numeric/nsnumber":{"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"nsnumber"},{"kind":"text","text":": "},{"text":"NSNumber","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSNumber"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Numeric\/nsnumber","abstract":[],"kind":"symbol","title":"nsnumber","url":"\/documentation\/swiftnp\/swift\/numeric\/nsnumber","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/Swift":{"abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","role":"collection","url":"\/documentation\/swiftnp\/swift","title":"Swift"},"doc://SwiftNP/documentation/SwiftNP/Swift/Numeric":{"url":"\/documentation\/swiftnp\/swift\/numeric","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Numeric","kind":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"text":"Numeric","kind":"identifier","preciseIdentifier":"s:Sj"}],"abstract":[],"navigatorTitle":[{"text":"Numeric","kind":"identifier"}],"role":"symbol","type":"topic","title":"Numeric"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/swift/numeric/nsnumber.json b/docs/data/documentation/swiftnp/swift/numeric/nsnumber.json new file mode 100644 index 0000000..83c8764 --- /dev/null +++ b/docs/data/documentation/swiftnp/swift/numeric/nsnumber.json @@ -0,0 +1 @@ +{"schemaVersion":{"major":0,"patch":0,"minor":3},"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Numeric"]]},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Numeric\/nsnumber","interfaceLanguage":"swift"},"metadata":{"extendedModule":"Swift","symbolKind":"property","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"nsnumber","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSNumber","text":"NSNumber"}],"modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"role":"symbol","roleHeading":"Instance Property","externalID":"s:Sj7SwiftNPE8nsnumberSo8NSNumberCvp","title":"nsnumber"},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"nsnumber"},{"text":": ","kind":"text"},{"text":"NSNumber","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSNumber"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"text":" }","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swift\/numeric\/nsnumber"]}],"references":{"doc://SwiftNP/documentation/SwiftNP/Swift/Numeric":{"url":"\/documentation\/swiftnp\/swift\/numeric","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Numeric","kind":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"text":"Numeric","kind":"identifier","preciseIdentifier":"s:Sj"}],"abstract":[],"navigatorTitle":[{"text":"Numeric","kind":"identifier"}],"role":"symbol","type":"topic","title":"Numeric"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/Swift":{"abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","role":"collection","url":"\/documentation\/swiftnp\/swift","title":"Swift"},"doc://SwiftNP/documentation/SwiftNP/Swift/Numeric/nsnumber":{"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"nsnumber"},{"kind":"text","text":": "},{"text":"NSNumber","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSNumber"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/Numeric\/nsnumber","abstract":[],"kind":"symbol","title":"nsnumber","url":"\/documentation\/swiftnp\/swift\/numeric\/nsnumber","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/swift/string.json b/docs/data/documentation/swiftnp/swift/string.json index 1e73c3f..9d97f4f 100644 --- a/docs/data/documentation/swiftnp/swift/string.json +++ b/docs/data/documentation/swiftnp/swift/string.json @@ -1 +1 @@ -{"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String","interfaceLanguage":"swift"},"topicSections":[{"anchor":"Type-Methods","generated":true,"title":"Type Methods","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String\/custom(key:args:)"]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift"]]},"variants":[{"paths":["\/documentation\/swiftnp\/swift\/string"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"navigatorTitle":[{"text":"String","kind":"identifier"}],"modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"title":"String","role":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"text":"String","kind":"identifier","preciseIdentifier":"s:SS"}],"extendedModule":"Swift","roleHeading":"Extended Structure","symbolKind":"extension","externalID":"s:e:s:SS7SwiftNPE6custom3key4argsS2S10FoundationE17LocalizationValueV_Says7CVarArg_pGtFZ"},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"platforms":["macOS"],"languages":["swift"]}]}],"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/Swift/String/custom(key:args:)":{"title":"custom(key:args:)","kind":"symbol","role":"symbol","url":"\/documentation\/swiftnp\/swift\/string\/custom(key:args:)","abstract":[{"type":"text","text":"Creates a localized string using a specified key and optional arguments."}],"type":"topic","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"custom"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"LocalizationValue","preciseIdentifier":"s:SS10FoundationE17LocalizationValueV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"args"},{"kind":"text","text":": [any "},{"preciseIdentifier":"s:s7CVarArgP","text":"CVarArg","kind":"typeIdentifier"},{"text":"]) -> ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String\/custom(key:args:)"},"doc://SwiftNP/documentation/SwiftNP/Swift/String":{"title":"String","type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"String","kind":"identifier","preciseIdentifier":"s:SS"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String","role":"symbol","abstract":[],"kind":"symbol","navigatorTitle":[{"text":"String","kind":"identifier"}],"url":"\/documentation\/swiftnp\/swift\/string"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/Swift":{"type":"topic","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","title":"Swift","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp\/swift"}}} \ No newline at end of file +{"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String"},"metadata":{"roleHeading":"Extended Structure","modules":[{"relatedModules":["Swift"],"name":"SwiftNP"}],"symbolKind":"extension","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"String","preciseIdentifier":"s:SS"}],"role":"symbol","navigatorTitle":[{"text":"String","kind":"identifier"}],"title":"String","extendedModule":"Swift","externalID":"s:e:s:SS7SwiftNPE6custom3key4argsS2S10FoundationE17LocalizationValueV_Says7CVarArg_pGtFZ"},"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}]}]}],"topicSections":[{"anchor":"Type-Methods","title":"Type Methods","generated":true,"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String\/custom(key:args:)"]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swift\/string"]}],"references":{"doc://SwiftNP/documentation/SwiftNP/Swift/String":{"type":"topic","title":"String","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:SS","text":"String","kind":"identifier"}],"url":"\/documentation\/swiftnp\/swift\/string","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String","kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"String","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/Swift":{"abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","role":"collection","url":"\/documentation\/swiftnp\/swift","title":"Swift"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/Swift/String/custom(key:args:)":{"role":"symbol","url":"\/documentation\/swiftnp\/swift\/string\/custom(key:args:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"custom"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS10FoundationE17LocalizationValueV","text":"LocalizationValue"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"args"},{"kind":"text","text":": [any "},{"preciseIdentifier":"s:s7CVarArgP","kind":"typeIdentifier","text":"CVarArg"},{"kind":"text","text":"]) -> "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"type":"topic","kind":"symbol","abstract":[{"text":"Creates a localized string using a specified key and optional arguments.","type":"text"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String\/custom(key:args:)","title":"custom(key:args:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/swift/string/custom(key:args:).json b/docs/data/documentation/swiftnp/swift/string/custom(key:args:).json index 31e154d..5f7de0d 100644 --- a/docs/data/documentation/swiftnp/swift/string/custom(key:args:).json +++ b/docs/data/documentation/swiftnp/swift/string/custom(key:args:).json @@ -1 +1 @@ -{"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String"]]},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String\/custom(key:args:)","interfaceLanguage":"swift"},"metadata":{"role":"symbol","title":"custom(key:args:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"custom"},{"kind":"text","text":"("},{"kind":"externalParam","text":"key"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"LocalizationValue","kind":"typeIdentifier","preciseIdentifier":"s:SS10FoundationE17LocalizationValueV"},{"kind":"text","text":", "},{"text":"args","kind":"externalParam"},{"kind":"text","text":": [any "},{"kind":"typeIdentifier","preciseIdentifier":"s:s7CVarArgP","text":"CVarArg"},{"text":"]) -> ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"externalID":"s:SS7SwiftNPE6custom3key4argsS2S10FoundationE17LocalizationValueV_Says7CVarArg_pGtFZ","extendedModule":"Swift","symbolKind":"method","roleHeading":"Type Method","modules":[{"name":"SwiftNP","relatedModules":["Swift"]}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swift\/string\/custom(key:args:)"]}],"abstract":[{"text":"Creates a localized string using a specified key and optional arguments.","type":"text"}],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"custom","kind":"identifier"},{"kind":"text","text":"("},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"LocalizationValue","preciseIdentifier":"s:SS10FoundationE17LocalizationValueV"},{"kind":"text","text":", "},{"text":"args","kind":"externalParam"},{"kind":"text","text":": [any "},{"text":"CVarArg","kind":"typeIdentifier","preciseIdentifier":"s:s7CVarArgP"},{"text":"] = []) -> ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"platforms":["macOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"String.LocalizationValue"},{"type":"text","text":" that represents the key for the localized string."}]}]},{"name":"args","content":[{"type":"paragraph","inlineContent":[{"text":"An optional array of ","type":"text"},{"type":"codeVoice","code":"CVarArg"},{"type":"text","text":" to be formatted into the localized string (default is an empty array)."}]}]}]},{"content":[{"level":2,"text":"Return Value","type":"heading","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"A formatted localized string based on the provided key and arguments.","type":"text"}]}],"kind":"content"},{"content":[{"type":"heading","text":"Discussion","anchor":"discussion","level":2},{"type":"unorderedList","items":[{"content":[{"inlineContent":[{"text":"Example:","type":"text"},{"text":" ","type":"text"},{"text":"let greeting = String.custom(key: “hello_key”, args: [“World”])","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"\/\/ Returns a localized string for “hello_key” formatted with “World”"}],"type":"paragraph"}]}]}],"kind":"content"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://SwiftNP/documentation/SwiftNP/Swift":{"type":"topic","abstract":[],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","title":"Swift","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp\/swift"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/Swift/String":{"title":"String","type":"topic","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"String","kind":"identifier","preciseIdentifier":"s:SS"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String","role":"symbol","abstract":[],"kind":"symbol","navigatorTitle":[{"text":"String","kind":"identifier"}],"url":"\/documentation\/swiftnp\/swift\/string"},"doc://SwiftNP/documentation/SwiftNP/Swift/String/custom(key:args:)":{"title":"custom(key:args:)","kind":"symbol","role":"symbol","url":"\/documentation\/swiftnp\/swift\/string\/custom(key:args:)","abstract":[{"type":"text","text":"Creates a localized string using a specified key and optional arguments."}],"type":"topic","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"custom"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"LocalizationValue","preciseIdentifier":"s:SS10FoundationE17LocalizationValueV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"args"},{"kind":"text","text":": [any "},{"preciseIdentifier":"s:s7CVarArgP","text":"CVarArg","kind":"typeIdentifier"},{"text":"]) -> ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String\/custom(key:args:)"}}} \ No newline at end of file +{"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"metadata":{"modules":[{"name":"SwiftNP","relatedModules":["Swift"]}],"roleHeading":"Type Method","extendedModule":"Swift","role":"symbol","title":"custom(key:args:)","symbolKind":"method","externalID":"s:SS7SwiftNPE6custom3key4argsS2S10FoundationE17LocalizationValueV_Says7CVarArg_pGtFZ","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"custom"},{"text":"(","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS10FoundationE17LocalizationValueV","text":"LocalizationValue"},{"kind":"text","text":", "},{"text":"args","kind":"externalParam"},{"text":": [any ","kind":"text"},{"preciseIdentifier":"s:s7CVarArgP","text":"CVarArg","kind":"typeIdentifier"},{"kind":"text","text":"]) -> "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}]},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"custom"},{"text":"(","kind":"text"},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"."},{"text":"LocalizationValue","kind":"typeIdentifier","preciseIdentifier":"s:SS10FoundationE17LocalizationValueV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"args"},{"text":": [any ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7CVarArgP","text":"CVarArg"},{"kind":"text","text":"] = []) -> "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}]}]},{"parameters":[{"name":"key","content":[{"type":"paragraph","inlineContent":[{"text":"A ","type":"text"},{"type":"codeVoice","code":"String.LocalizationValue"},{"text":" that represents the key for the localized string.","type":"text"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"An optional array of ","type":"text"},{"type":"codeVoice","code":"CVarArg"},{"type":"text","text":" to be formatted into the localized string (default is an empty array)."}]}],"name":"args"}],"kind":"parameters"},{"kind":"content","content":[{"type":"heading","anchor":"return-value","level":2,"text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A formatted localized string based on the provided key and arguments."}]}]},{"kind":"content","content":[{"text":"Discussion","anchor":"discussion","level":2,"type":"heading"},{"items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Example:"},{"type":"text","text":" "},{"text":"let greeting = String.custom(key: “hello_key”, args: [“World”])","type":"text"},{"type":"text","text":" "},{"text":"\/\/ Returns a localized string for “hello_key” formatted with “World”","type":"text"}]}]}],"type":"unorderedList"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String\/custom(key:args:)"},"variants":[{"paths":["\/documentation\/swiftnp\/swift\/string\/custom(key:args:)"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"Creates a localized string using a specified key and optional arguments."}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String"]]},"references":{"doc://SwiftNP/documentation/SwiftNP/Swift":{"abstract":[],"kind":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift","role":"collection","url":"\/documentation\/swiftnp\/swift","title":"Swift"},"doc://SwiftNP/documentation/SwiftNP/Swift/String/custom(key:args:)":{"role":"symbol","url":"\/documentation\/swiftnp\/swift\/string\/custom(key:args:)","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"custom"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"key"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS10FoundationE17LocalizationValueV","text":"LocalizationValue"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"args"},{"kind":"text","text":": [any "},{"preciseIdentifier":"s:s7CVarArgP","kind":"typeIdentifier","text":"CVarArg"},{"kind":"text","text":"]) -> "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"type":"topic","kind":"symbol","abstract":[{"text":"Creates a localized string using a specified key and optional arguments.","type":"text"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String\/custom(key:args:)","title":"custom(key:args:)"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/Swift/String":{"type":"topic","title":"String","fragments":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:SS","text":"String","kind":"identifier"}],"url":"\/documentation\/swiftnp\/swift\/string","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Swift\/String","kind":"symbol","abstract":[],"role":"symbol","navigatorTitle":[{"text":"String","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/swiftnp.json b/docs/data/documentation/swiftnp/swiftnp.json index f153bd6..733d86d 100644 --- a/docs/data/documentation/swiftnp/swiftnp.json +++ b/docs/data/documentation/swiftnp/swiftnp.json @@ -1 +1 @@ -{"kind":"symbol","abstract":[{"text":"A class that provides methods for creating and manipulating multi-dimensional arrays (NDArray) in the SwiftNP framework.","type":"text"}],"metadata":{"symbolKind":"class","roleHeading":"Class","externalID":"s:7SwiftNPAAC","modules":[{"name":"SwiftNP"}],"role":"symbol","title":"SwiftNP","navigatorTitle":[{"kind":"identifier","text":"SwiftNP"}],"fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"SwiftNP","kind":"identifier"}]},"sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"final","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SwiftNP"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"topicSections":[{"title":"Type Methods","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ndarray(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ones(shape:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/zeros(shape:)"],"anchor":"Type-Methods","generated":true}],"variants":[{"paths":["\/documentation\/swiftnp\/swiftnp"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP"},"references":{"doc://SwiftNP/documentation/SwiftNP/SwiftNP":{"navigatorTitle":[{"text":"SwiftNP","kind":"identifier"}],"type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"SwiftNP","kind":"identifier"}],"abstract":[{"type":"text","text":"A class that provides methods for creating and manipulating multi-dimensional arrays (NDArray) in the SwiftNP framework."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP","kind":"symbol","url":"\/documentation\/swiftnp\/swiftnp","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SwiftNP/ones(shape:)":{"title":"ones(shape:)","abstract":[{"type":"text","text":"Creates an NDArray filled with ones of a specified shape."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ones(shape:)","url":"\/documentation\/swiftnp\/swiftnp\/ones(shape:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ones"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"shape"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP5Shapea","text":"Shape","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}],"type":"topic","role":"symbol","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/SwiftNP/ndarray(_:)":{"title":"ndarray(_:)","type":"topic","abstract":[{"type":"text","text":"Creates an NDArray from a Swift array of any type."}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ndarray(_:)","kind":"symbol","url":"\/documentation\/swiftnp\/swiftnp\/ndarray(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ndarray"},{"kind":"text","text":"(["},{"kind":"keyword","text":"Any"},{"text":"]) ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP/SwiftNP/zeros(shape:)":{"url":"\/documentation\/swiftnp\/swiftnp\/zeros(shape:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"zeros"},{"text":"(","kind":"text"},{"text":"shape","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP5Shapea","text":"Shape","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier","text":"SNPError"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/zeros(shape:)","abstract":[{"type":"text","text":"Creates an NDArray filled with zeros of a specified shape."}],"kind":"symbol","type":"topic","title":"zeros(shape:)"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP"},"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"final","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SwiftNP"}],"platforms":["macOS"]}],"kind":"declarations"}],"kind":"symbol","metadata":{"symbolKind":"class","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SwiftNP"}],"title":"SwiftNP","navigatorTitle":[{"text":"SwiftNP","kind":"identifier"}],"modules":[{"name":"SwiftNP"}],"externalID":"s:7SwiftNPAAC","role":"symbol","roleHeading":"Class"},"sections":[],"abstract":[{"text":"A class that provides methods for creating and manipulating multi-dimensional arrays (NDArray) in the SwiftNP framework.","type":"text"}],"topicSections":[{"anchor":"Type-Methods","identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ndarray(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ones(shape:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/zeros(shape:)"],"title":"Type Methods","generated":true}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swiftnp"]}],"references":{"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SwiftNP/zeros(shape:)":{"type":"topic","title":"zeros(shape:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/zeros(shape:)","abstract":[{"type":"text","text":"Creates an NDArray filled with zeros of a specified shape."}],"kind":"symbol","url":"\/documentation\/swiftnp\/swiftnp\/zeros(shape:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"zeros"},{"kind":"text","text":"("},{"kind":"externalParam","text":"shape"},{"kind":"text","text":": "},{"text":"Shape","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5Shapea"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP/SwiftNP/ones(shape:)":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ones","kind":"identifier"},{"text":"(","kind":"text"},{"text":"shape","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Shape","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5Shapea"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError"},{"text":") -> ","kind":"text"},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"}],"url":"\/documentation\/swiftnp\/swiftnp\/ones(shape:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ones(shape:)","type":"topic","kind":"symbol","title":"ones(shape:)","role":"symbol","abstract":[{"type":"text","text":"Creates an NDArray filled with ones of a specified shape."}]},"doc://SwiftNP/documentation/SwiftNP/SwiftNP":{"role":"symbol","url":"\/documentation\/swiftnp\/swiftnp","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"SwiftNP"}],"type":"topic","title":"SwiftNP","navigatorTitle":[{"text":"SwiftNP","kind":"identifier"}],"abstract":[{"text":"A class that provides methods for creating and manipulating multi-dimensional arrays (NDArray) in the SwiftNP framework.","type":"text"}],"kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/SwiftNP/ndarray(_:)":{"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ndarray"},{"text":"([","kind":"text"},{"kind":"keyword","text":"Any"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"text":"SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"}],"abstract":[{"type":"text","text":"Creates an NDArray from a Swift array of any type."}],"url":"\/documentation\/swiftnp\/swiftnp\/ndarray(_:)","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ndarray(_:)","role":"symbol","title":"ndarray(_:)","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/swiftnp/ndarray(_:).json b/docs/data/documentation/swiftnp/swiftnp/ndarray(_:).json index 4ecc33f..5e7674a 100644 --- a/docs/data/documentation/swiftnp/swiftnp/ndarray(_:).json +++ b/docs/data/documentation/swiftnp/swiftnp/ndarray(_:).json @@ -1 +1 @@ -{"abstract":[{"text":"Creates an NDArray from a Swift array of any type.","type":"text"}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ndarray(_:)"},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP"]]},"kind":"symbol","metadata":{"role":"symbol","symbolKind":"method","modules":[{"name":"SwiftNP"}],"title":"ndarray(_:)","roleHeading":"Type Method","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"ndarray","kind":"identifier"},{"text":"([","kind":"text"},{"text":"Any","kind":"keyword"},{"kind":"text","text":"]) "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"}],"externalID":"s:7SwiftNPAAC7ndarrayyAA7NDArrayCSayypGAA8SNPErrorOYKFZ"},"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swiftnp\/ndarray(_:)"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ndarray"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"swiftArray"},{"kind":"text","text":": ["},{"text":"Any","kind":"keyword"},{"kind":"text","text":"]) "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","kind":"typeIdentifier","text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"text":") -> ","kind":"text"},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"swiftArray","content":[{"type":"paragraph","inlineContent":[{"text":"An array containing elements of any type to be converted into an NDArray.","type":"text"}]}]}]},{"kind":"content","content":[{"level":2,"anchor":"return-value","text":"Return Value","type":"heading"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An NDArray representation of the provided array."}]}]},{"kind":"content","content":[{"type":"heading","level":2,"text":"Discussion","anchor":"discussion"},{"type":"aside","name":"Throws","style":"note","content":[{"inlineContent":[{"type":"text","text":""},{"code":"SNPError","type":"codeVoice"},{"text":" if there are issues during conversion.","type":"text"}],"type":"paragraph"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Example:"},{"type":"text","text":" "},{"text":"let array: [Any] = [1, 2, 3]","type":"text"},{"text":" ","type":"text"},{"text":"let ndarray = SwiftNP.ndarray(array) \/\/ Creates an NDArray from the array","type":"text"}]}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/SwiftNP":{"navigatorTitle":[{"text":"SwiftNP","kind":"identifier"}],"type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"SwiftNP","kind":"identifier"}],"abstract":[{"type":"text","text":"A class that provides methods for creating and manipulating multi-dimensional arrays (NDArray) in the SwiftNP framework."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP","kind":"symbol","url":"\/documentation\/swiftnp\/swiftnp","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"text":" ","type":"text"},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError","type":"topic","url":"\/documentation\/swiftnp\/snperror","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"navigatorTitle":[{"text":"SNPError","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/SwiftNP/ndarray(_:)":{"title":"ndarray(_:)","type":"topic","abstract":[{"type":"text","text":"Creates an NDArray from a Swift array of any type."}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ndarray(_:)","kind":"symbol","url":"\/documentation\/swiftnp\/swiftnp\/ndarray(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ndarray"},{"kind":"text","text":"(["},{"kind":"keyword","text":"Any"},{"text":"]) ","kind":"text"},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]}}} \ No newline at end of file +{"metadata":{"role":"symbol","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"ndarray"},{"text":"([","kind":"text"},{"kind":"keyword","text":"Any"},{"text":"]) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"}],"externalID":"s:7SwiftNPAAC7ndarrayyAA7NDArrayCSayypGAA8SNPErrorOYKFZ","symbolKind":"method","roleHeading":"Type Method","title":"ndarray(_:)","modules":[{"name":"SwiftNP"}]},"abstract":[{"type":"text","text":"Creates an NDArray from a Swift array of any type."}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ndarray(_:)","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ndarray","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"swiftArray"},{"kind":"text","text":": ["},{"text":"Any","kind":"keyword"},{"text":"]) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError"},{"text":") -> ","kind":"text"},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"text":"An array containing elements of any type to be converted into an NDArray.","type":"text"}]}],"name":"swiftArray"}]},{"content":[{"text":"Return Value","level":2,"anchor":"return-value","type":"heading"},{"type":"paragraph","inlineContent":[{"text":"An NDArray representation of the provided array.","type":"text"}]}],"kind":"content"},{"kind":"content","content":[{"text":"Discussion","type":"heading","anchor":"discussion","level":2},{"style":"note","name":"Throws","type":"aside","content":[{"type":"paragraph","inlineContent":[{"text":"","type":"text"},{"type":"codeVoice","code":"SNPError"},{"type":"text","text":" if there are issues during conversion."}]}]},{"inlineContent":[{"text":"Example:","type":"text"},{"type":"text","text":" "},{"type":"text","text":"let array: [Any] = [1, 2, 3]"},{"type":"text","text":" "},{"type":"text","text":"let ndarray = SwiftNP.ndarray(array) \/\/ Creates an NDArray from the array"}],"type":"paragraph"}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swiftnp\/ndarray(_:)"]}],"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/SwiftNP/ndarray(_:)":{"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ndarray"},{"text":"([","kind":"text"},{"kind":"keyword","text":"Any"},{"kind":"text","text":"]) "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"text":"SNPError","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier","text":"NDArray"}],"abstract":[{"type":"text","text":"Creates an NDArray from a Swift array of any type."}],"url":"\/documentation\/swiftnp\/swiftnp\/ndarray(_:)","kind":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ndarray(_:)","role":"symbol","title":"ndarray(_:)","type":"topic"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SwiftNP":{"role":"symbol","url":"\/documentation\/swiftnp\/swiftnp","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"SwiftNP"}],"type":"topic","title":"SwiftNP","navigatorTitle":[{"text":"SwiftNP","kind":"identifier"}],"abstract":[{"text":"A class that provides methods for creating and manipulating multi-dimensional arrays (NDArray) in the SwiftNP framework.","type":"text"}],"kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/swiftnp/ones(shape:).json b/docs/data/documentation/swiftnp/swiftnp/ones(shape:).json index 99a6938..c649abf 100644 --- a/docs/data/documentation/swiftnp/swiftnp/ones(shape:).json +++ b/docs/data/documentation/swiftnp/swiftnp/ones(shape:).json @@ -1 +1 @@ -{"abstract":[{"type":"text","text":"Creates an NDArray filled with ones of a specified shape."}],"metadata":{"role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"ones","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"shape"},{"text":": ","kind":"text"},{"text":"Shape","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5Shapea"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError"},{"kind":"text","text":") -> "},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}],"roleHeading":"Type Method","modules":[{"name":"SwiftNP"}],"symbolKind":"method","externalID":"s:7SwiftNPAAC4ones5shapeAA7NDArrayCSaySiG_tAA8SNPErrorOYKFZ","title":"ones(shape:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"ones","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"shape"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5Shapea","text":"Shape","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"NDArray","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"}],"platforms":["macOS"],"languages":["swift"]}]},{"parameters":[{"name":"shape","content":[{"inlineContent":[{"type":"text","text":"The desired shape of the NDArray to be created."}],"type":"paragraph"}]}],"kind":"parameters"},{"content":[{"anchor":"return-value","type":"heading","level":2,"text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"An NDArray initialized with ones, with the specified shape and a default data type of .float64."}]}],"kind":"content"},{"kind":"content","content":[{"anchor":"discussion","text":"Discussion","level":2,"type":"heading"},{"name":"Throws","style":"note","type":"aside","content":[{"type":"paragraph","inlineContent":[{"text":"","type":"text"},{"type":"codeVoice","code":"SNPError"},{"type":"text","text":" if there are issues during array creation."}]}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Example:"},{"type":"text","text":" "},{"text":"let onesArray = SwiftNP.ones(shape: [2, 3]) \/\/ Creates a 2x3 NDArray filled with ones","type":"text"}]}]}],"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ones(shape:)","interfaceLanguage":"swift"},"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swiftnp\/ones(shape:)"]}],"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/SwiftNP/ones(shape:)":{"title":"ones(shape:)","abstract":[{"type":"text","text":"Creates an NDArray filled with ones of a specified shape."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ones(shape:)","url":"\/documentation\/swiftnp\/swiftnp\/ones(shape:)","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ones"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"shape"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP5Shapea","text":"Shape","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","kind":"typeIdentifier"}],"type":"topic","role":"symbol","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SwiftNP":{"navigatorTitle":[{"text":"SwiftNP","kind":"identifier"}],"type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"SwiftNP","kind":"identifier"}],"abstract":[{"type":"text","text":"A class that provides methods for creating and manipulating multi-dimensional arrays (NDArray) in the SwiftNP framework."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP","kind":"symbol","url":"\/documentation\/swiftnp\/swiftnp","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"text":" ","type":"text"},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError","type":"topic","url":"\/documentation\/swiftnp\/snperror","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"navigatorTitle":[{"text":"SNPError","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/Shape":{"title":"Shape","url":"\/documentation\/swiftnp\/shape","navigatorTitle":[{"text":"Shape","kind":"identifier"}],"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Shape"}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","type":"topic","abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"text":" ","type":"text"},{"type":"text","text":"Each integer represents the size of the array at a particular dimension."}]}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP"]]},"abstract":[{"text":"Creates an NDArray filled with ones of a specified shape.","type":"text"}],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swiftnp\/ones(shape:)"]}],"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ones(shape:)","interfaceLanguage":"swift"},"metadata":{"symbolKind":"method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ones","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"shape"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5Shapea","text":"Shape"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"}],"title":"ones(shape:)","role":"symbol","roleHeading":"Type Method","modules":[{"name":"SwiftNP"}],"externalID":"s:7SwiftNPAAC4ones5shapeAA7NDArrayCSaySiG_tAA8SNPErrorOYKFZ"},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"ones","kind":"identifier"},{"text":"(","kind":"text"},{"text":"shape","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7SwiftNP5Shapea","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","kind":"typeIdentifier","text":"Shape"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError"},{"text":") -> ","kind":"text"},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"},{"parameters":[{"name":"shape","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The desired shape of the NDArray to be created."}]}]}],"kind":"parameters"},{"kind":"content","content":[{"level":2,"text":"Return Value","anchor":"return-value","type":"heading"},{"type":"paragraph","inlineContent":[{"text":"An NDArray initialized with ones, with the specified shape and a default data type of .float64.","type":"text"}]}]},{"kind":"content","content":[{"text":"Discussion","level":2,"type":"heading","anchor":"discussion"},{"type":"aside","name":"Throws","style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"type":"codeVoice","code":"SNPError"},{"type":"text","text":" if there are issues during array creation."}]}]},{"inlineContent":[{"type":"text","text":"Example:"},{"type":"text","text":" "},{"type":"text","text":"let onesArray = SwiftNP.ones(shape: [2, 3]) \/\/ Creates a 2x3 NDArray filled with ones"}],"type":"paragraph"}]}],"references":{"doc://SwiftNP/documentation/SwiftNP/SwiftNP":{"role":"symbol","url":"\/documentation\/swiftnp\/swiftnp","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"SwiftNP"}],"type":"topic","title":"SwiftNP","navigatorTitle":[{"text":"SwiftNP","kind":"identifier"}],"abstract":[{"text":"A class that provides methods for creating and manipulating multi-dimensional arrays (NDArray) in the SwiftNP framework.","type":"text"}],"kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/Shape":{"navigatorTitle":[{"text":"Shape","kind":"identifier"}],"type":"topic","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Shape"}],"url":"\/documentation\/swiftnp\/shape","title":"Shape","abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"text":" ","type":"text"},{"type":"text","text":"Each integer represents the size of the array at a particular dimension."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/SwiftNP/ones(shape:)":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ones","kind":"identifier"},{"text":"(","kind":"text"},{"text":"shape","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Shape","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5Shapea"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP8SNPErrorO","text":"SNPError"},{"text":") -> ","kind":"text"},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"}],"url":"\/documentation\/swiftnp\/swiftnp\/ones(shape:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/ones(shape:)","type":"topic","kind":"symbol","title":"ones(shape:)","role":"symbol","abstract":[{"type":"text","text":"Creates an NDArray filled with ones of a specified shape."}]},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/swiftnp/zeros(shape:).json b/docs/data/documentation/swiftnp/swiftnp/zeros(shape:).json index e0e758f..7c77e19 100644 --- a/docs/data/documentation/swiftnp/swiftnp/zeros(shape:).json +++ b/docs/data/documentation/swiftnp/swiftnp/zeros(shape:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"zeros","kind":"identifier"},{"text":"(","kind":"text"},{"text":"shape","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7SwiftNP5Shapea","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","kind":"typeIdentifier","text":"Shape"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"SNPError","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray","kind":"typeIdentifier","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray"}],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"text":"The desired shape of the NDArray to be created.","type":"text"}],"type":"paragraph"}],"name":"shape"}]},{"kind":"content","content":[{"type":"heading","anchor":"return-value","text":"Return Value","level":2},{"inlineContent":[{"type":"text","text":"An NDArray initialized with zeros, with the specified shape and a default data type of .float64."}],"type":"paragraph"}]},{"kind":"content","content":[{"type":"heading","text":"Discussion","level":2,"anchor":"discussion"},{"name":"Throws","style":"note","type":"aside","content":[{"inlineContent":[{"type":"text","text":""},{"code":"SNPError","type":"codeVoice"},{"text":" if there are issues during array creation.","type":"text"}],"type":"paragraph"}]},{"type":"paragraph","inlineContent":[{"text":"Example:","type":"text"},{"type":"text","text":" "},{"type":"text","text":"let zerosArray = SwiftNP.zeros(shape: [2, 3]) \/\/ Creates a 2x3 NDArray filled with zeros"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/swiftnp\/zeros(shape:)"]}],"metadata":{"roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"zeros","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"shape"},{"text":": ","kind":"text"},{"text":"Shape","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5Shapea"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":"("},{"text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"NDArray","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC"}],"role":"symbol","externalID":"s:7SwiftNPAAC5zeros5shapeAA7NDArrayCSaySiG_tAA8SNPErrorOYKFZ","title":"zeros(shape:)","modules":[{"name":"SwiftNP"}],"symbolKind":"method"},"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","abstract":[{"type":"text","text":"Creates an NDArray filled with zeros of a specified shape."}],"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP"]]},"identifier":{"url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/zeros(shape:)","interfaceLanguage":"swift"},"references":{"doc://SwiftNP/documentation/SwiftNP/SwiftNP/zeros(shape:)":{"url":"\/documentation\/swiftnp\/swiftnp\/zeros(shape:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"zeros"},{"text":"(","kind":"text"},{"text":"shape","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftNP5Shapea","text":"Shape","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier","text":"SNPError"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/zeros(shape:)","abstract":[{"type":"text","text":"Creates an NDArray filled with zeros of a specified shape."}],"kind":"symbol","type":"topic","title":"zeros(shape:)"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","type":"topic","abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"NDArray"}],"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"symbol","url":"\/documentation\/swiftnp\/ndarray","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NDArray"}]},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"An enumeration representing various error types for the SwiftNP framework."},{"text":" ","type":"text"},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"title":"SNPError","type":"topic","url":"\/documentation\/swiftnp\/snperror","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"SNPError","kind":"identifier"}],"navigatorTitle":[{"text":"SNPError","kind":"identifier"}]},"doc://SwiftNP/documentation/SwiftNP/Shape":{"title":"Shape","url":"\/documentation\/swiftnp\/shape","navigatorTitle":[{"text":"Shape","kind":"identifier"}],"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Shape"}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","type":"topic","abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"text":" ","type":"text"},{"type":"text","text":"Each integer represents the size of the array at a particular dimension."}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/SwiftNP":{"navigatorTitle":[{"text":"SwiftNP","kind":"identifier"}],"type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"SwiftNP","kind":"identifier"}],"abstract":[{"type":"text","text":"A class that provides methods for creating and manipulating multi-dimensional arrays (NDArray) in the SwiftNP framework."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP","kind":"symbol","url":"\/documentation\/swiftnp\/swiftnp","title":"SwiftNP"}}} \ No newline at end of file +{"kind":"symbol","metadata":{"symbolKind":"method","modules":[{"name":"SwiftNP"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"zeros"},{"kind":"text","text":"("},{"text":"shape","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Shape","preciseIdentifier":"s:7SwiftNP5Shapea","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier","text":"SNPError"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"}],"title":"zeros(shape:)","role":"symbol","roleHeading":"Type Method","externalID":"s:7SwiftNPAAC5zeros5shapeAA7NDArrayCSaySiG_tAA8SNPErrorOYKFZ"},"abstract":[{"type":"text","text":"Creates an NDArray filled with zeros of a specified shape."}],"variants":[{"paths":["\/documentation\/swiftnp\/swiftnp\/zeros(shape:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"zeros"},{"kind":"text","text":"("},{"text":"shape","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Shape","preciseIdentifier":"s:7SwiftNP5Shapea","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":"(","kind":"text"},{"text":"SNPError","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","kind":"typeIdentifier","text":"NDArray","preciseIdentifier":"s:7SwiftNP7NDArrayC"}],"platforms":["macOS"],"languages":["swift"]}]},{"parameters":[{"name":"shape","content":[{"inlineContent":[{"type":"text","text":"The desired shape of the NDArray to be created."}],"type":"paragraph"}]}],"kind":"parameters"},{"kind":"content","content":[{"anchor":"return-value","text":"Return Value","type":"heading","level":2},{"inlineContent":[{"type":"text","text":"An NDArray initialized with zeros, with the specified shape and a default data type of .float64."}],"type":"paragraph"}]},{"content":[{"level":2,"type":"heading","text":"Discussion","anchor":"discussion"},{"content":[{"inlineContent":[{"type":"text","text":""},{"type":"codeVoice","code":"SNPError"},{"text":" if there are issues during array creation.","type":"text"}],"type":"paragraph"}],"type":"aside","name":"Throws","style":"note"},{"type":"paragraph","inlineContent":[{"text":"Example:","type":"text"},{"text":" ","type":"text"},{"text":"let zerosArray = SwiftNP.zeros(shape: [2, 3]) \/\/ Creates a 2x3 NDArray filled with zeros","type":"text"}]}],"kind":"content"}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP"]]},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/zeros(shape:)"},"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://SwiftNP/documentation/SwiftNP/Shape":{"navigatorTitle":[{"text":"Shape","kind":"identifier"}],"type":"topic","kind":"symbol","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Shape"}],"url":"\/documentation\/swiftnp\/shape","title":"Shape","abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"text":" ","type":"text"},{"type":"text","text":"Each integer represents the size of the array at a particular dimension."}],"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","role":"symbol"},"doc://SwiftNP/documentation/SwiftNP/SNPError":{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SNPError","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SNPError"}],"kind":"symbol","title":"SNPError","navigatorTitle":[{"kind":"identifier","text":"SNPError"}],"abstract":[{"text":"An enumeration representing various error types for the SwiftNP framework.","type":"text"},{"type":"text","text":" "},{"text":"This conforms to the Error protocol and provides custom descriptions for error handling.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/swiftnp\/snperror"},"doc://SwiftNP/documentation/SwiftNP":{"url":"\/documentation\/swiftnp","abstract":[],"type":"topic","role":"collection","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","title":"SwiftNP"},"doc://SwiftNP/documentation/SwiftNP/SwiftNP":{"role":"symbol","url":"\/documentation\/swiftnp\/swiftnp","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"SwiftNP"}],"type":"topic","title":"SwiftNP","navigatorTitle":[{"text":"SwiftNP","kind":"identifier"}],"abstract":[{"text":"A class that provides methods for creating and manipulating multi-dimensional arrays (NDArray) in the SwiftNP framework.","type":"text"}],"kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/NDArray":{"title":"NDArray","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"NDArray","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/NDArray","navigatorTitle":[{"text":"NDArray","kind":"identifier"}],"abstract":[{"type":"text","text":"A class representing a multi-dimensional array (NDArray) in the SwiftNP framework."},{"type":"text","text":" "},{"text":"This class conforms to CustomStringConvertible for custom string representation.","type":"text"}],"role":"symbol","url":"\/documentation\/swiftnp\/ndarray","kind":"symbol"},"doc://SwiftNP/documentation/SwiftNP/SwiftNP/zeros(shape:)":{"type":"topic","title":"zeros(shape:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/SwiftNP\/zeros(shape:)","abstract":[{"type":"text","text":"Creates an NDArray filled with zeros of a specified shape."}],"kind":"symbol","url":"\/documentation\/swiftnp\/swiftnp\/zeros(shape:)","role":"symbol","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"zeros"},{"kind":"text","text":"("},{"kind":"externalParam","text":"shape"},{"kind":"text","text":": "},{"text":"Shape","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5Shapea"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"SNPError","preciseIdentifier":"s:7SwiftNP8SNPErrorO"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP7NDArrayC","text":"NDArray"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/utils.json b/docs/data/documentation/swiftnp/utils.json deleted file mode 100644 index d12c574..0000000 --- a/docs/data/documentation/swiftnp/utils.json +++ /dev/null @@ -1 +0,0 @@ -{"topicSections":[{"identifiers":["doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils\/conformsToShape(array:shape:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils\/flatten(_:)","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils\/inferShape(from:)"],"anchor":"Type-Methods","title":"Type Methods","generated":true}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP"]]},"abstract":[{"type":"text","text":"A utility class that provides helper functions and methods for the SwiftNP framework."},{"type":"text","text":" "},{"type":"text","text":"This class is declared as public and final, meaning it cannot be subclassed and is accessible from outside its defining module."}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils"},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"modules":[{"name":"SwiftNP"}],"role":"symbol","title":"Utils","externalID":"s:7SwiftNP5UtilsC","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"Utils","kind":"identifier"}],"symbolKind":"class","roleHeading":"Class","navigatorTitle":[{"kind":"identifier","text":"Utils"}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/utils"]}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"final","kind":"keyword"},{"kind":"text","text":" "},{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Utils"}],"platforms":["macOS"]}],"kind":"declarations"}],"references":{"doc://SwiftNP/documentation/SwiftNP/Utils":{"title":"Utils","url":"\/documentation\/swiftnp\/utils","navigatorTitle":[{"text":"Utils","kind":"identifier"}],"fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Utils","kind":"identifier"}],"kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils","abstract":[{"type":"text","text":"A utility class that provides helper functions and methods for the SwiftNP framework."},{"text":" ","type":"text"},{"type":"text","text":"This class is declared as public and final, meaning it cannot be subclassed and is accessible from outside its defining module."}]},"doc://SwiftNP/documentation/SwiftNP/Utils/conformsToShape(array:shape:)":{"abstract":[{"type":"text","text":"Checks if the given array conforms to the specified shape."}],"type":"topic","title":"conformsToShape(array:shape:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils\/conformsToShape(array:shape:)","kind":"symbol","role":"symbol","url":"\/documentation\/swiftnp\/utils\/conformstoshape(array:shape:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"conformsToShape"},{"kind":"text","text":"("},{"kind":"externalParam","text":"array"},{"kind":"text","text":": ["},{"text":"Any","kind":"keyword"},{"text":"], ","kind":"text"},{"text":"shape","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Shape","preciseIdentifier":"s:7SwiftNP5Shapea","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}]},"doc://SwiftNP/documentation/SwiftNP/Utils/inferShape(from:)":{"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils\/inferShape(from:)","title":"inferShape(from:)","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"inferShape","kind":"identifier"},{"kind":"text","text":"<"},{"text":"T","kind":"genericParameter"},{"text":">(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"T"},{"text":"]) -> ","kind":"text"},{"text":"Shape","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5Shapea"}],"url":"\/documentation\/swiftnp\/utils\/infershape(from:)","type":"topic","abstract":[{"type":"text","text":"Infers the shape of a nested array structure."}]},"doc://SwiftNP/documentation/SwiftNP/Utils/flatten(_:)":{"url":"\/documentation\/swiftnp\/utils\/flatten(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils\/flatten(_:)","title":"flatten(_:)","role":"symbol","abstract":[{"text":"Flattens a nested array into a single-dimensional array.","type":"text"}],"kind":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"flatten"},{"text":"<","kind":"text"},{"text":"T","kind":"genericParameter"},{"text":">([","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"text":"]) -> [","kind":"text"},{"kind":"keyword","text":"Any"},{"kind":"text","text":"]"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/utils/conformstoshape(array:shape:).json b/docs/data/documentation/swiftnp/utils/conformstoshape(array:shape:).json deleted file mode 100644 index 41b477b..0000000 --- a/docs/data/documentation/swiftnp/utils/conformstoshape(array:shape:).json +++ /dev/null @@ -1 +0,0 @@ -{"abstract":[{"type":"text","text":"Checks if the given array conforms to the specified shape."}],"variants":[{"paths":["\/documentation\/swiftnp\/utils\/conformstoshape(array:shape:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils\/conformsToShape(array:shape:)"},"metadata":{"role":"symbol","externalID":"s:7SwiftNP5UtilsC15conformsToShape5array5shapeSbSayypG_SaySiGtFZ","modules":[{"name":"SwiftNP"}],"symbolKind":"method","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"conformsToShape"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"array"},{"kind":"text","text":": ["},{"kind":"keyword","text":"Any"},{"text":"], ","kind":"text"},{"text":"shape","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Shape","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5Shapea"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"roleHeading":"Type Method","title":"conformsToShape(array:shape:)"},"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"conformsToShape"},{"text":"(","kind":"text"},{"text":"array","kind":"externalParam"},{"text":": [","kind":"text"},{"kind":"keyword","text":"Any"},{"text":"], ","kind":"text"},{"text":"shape","kind":"externalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","text":"Shape","preciseIdentifier":"s:7SwiftNP5Shapea","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"platforms":["macOS"]}]},{"parameters":[{"name":"array","content":[{"inlineContent":[{"type":"text","text":"An array of "},{"code":"Any","type":"codeVoice"},{"type":"text","text":" type, which may contain nested arrays."}],"type":"paragraph"}]},{"name":"shape","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A "},{"type":"codeVoice","code":"Shape"},{"text":" object representing the expected dimensions of the array.","type":"text"}]}]}],"kind":"parameters"},{"kind":"content","content":[{"text":"Return Value","type":"heading","level":2,"anchor":"return-value"},{"inlineContent":[{"type":"text","text":"A Boolean value indicating whether the array conforms to the specified shape."}],"type":"paragraph"}]},{"kind":"content","content":[{"type":"heading","anchor":"discussion","level":2,"text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Example:"},{"text":" ","type":"text"},{"type":"text","text":"let array: [Any] = [[1, 2], [3, 4]]"},{"text":" ","type":"text"},{"type":"text","text":"let shape = Shape([2, 2])"},{"text":" ","type":"text"},{"text":"let result = conformsToShape(array: array, shape: shape) \/\/ result will be true","type":"text"}]},{"content":[{"inlineContent":[{"type":"text","text":"O(n), where n is the total number of elements in the array."}],"type":"paragraph"}],"type":"aside","name":"Complexity","style":"note"}]}],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils"]]},"references":{"doc://SwiftNP/documentation/SwiftNP/Shape":{"title":"Shape","url":"\/documentation\/swiftnp\/shape","navigatorTitle":[{"text":"Shape","kind":"identifier"}],"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Shape"}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","type":"topic","abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"text":" ","type":"text"},{"type":"text","text":"Each integer represents the size of the array at a particular dimension."}]},"doc://SwiftNP/documentation/SwiftNP/Utils":{"title":"Utils","url":"\/documentation\/swiftnp\/utils","navigatorTitle":[{"text":"Utils","kind":"identifier"}],"fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Utils","kind":"identifier"}],"kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils","abstract":[{"type":"text","text":"A utility class that provides helper functions and methods for the SwiftNP framework."},{"text":" ","type":"text"},{"type":"text","text":"This class is declared as public and final, meaning it cannot be subclassed and is accessible from outside its defining module."}]},"doc://SwiftNP/documentation/SwiftNP/Utils/conformsToShape(array:shape:)":{"abstract":[{"type":"text","text":"Checks if the given array conforms to the specified shape."}],"type":"topic","title":"conformsToShape(array:shape:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils\/conformsToShape(array:shape:)","kind":"symbol","role":"symbol","url":"\/documentation\/swiftnp\/utils\/conformstoshape(array:shape:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"conformsToShape"},{"kind":"text","text":"("},{"kind":"externalParam","text":"array"},{"kind":"text","text":": ["},{"text":"Any","kind":"keyword"},{"text":"], ","kind":"text"},{"text":"shape","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Shape","preciseIdentifier":"s:7SwiftNP5Shapea","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/utils/flatten(_:).json b/docs/data/documentation/swiftnp/utils/flatten(_:).json deleted file mode 100644 index c2fd0b6..0000000 --- a/docs/data/documentation/swiftnp/utils/flatten(_:).json +++ /dev/null @@ -1 +0,0 @@ -{"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"flatten"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":">("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"array"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":"]) -> ["},{"text":"Any","kind":"keyword"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"array","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"An array that can contain elements of any type, including nested arrays."}]}]}]},{"kind":"content","content":[{"type":"heading","text":"Return Value","anchor":"return-value","level":2},{"type":"paragraph","inlineContent":[{"type":"text","text":"A flattened array containing all elements from the nested structure,"},{"text":" ","type":"text"},{"text":"with types preserved as ","type":"text"},{"type":"codeVoice","code":"Any"},{"type":"text","text":"."}]}]},{"kind":"content","content":[{"level":2,"text":"Discussion","type":"heading","anchor":"discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Example:"},{"text":" ","type":"text"},{"type":"text","text":"let nestedArray: [Any] = [1, [2, 3], [4, [5, 6]]]"},{"type":"text","text":" "},{"type":"text","text":"let result = flatten(nestedArray) \/\/ result will be [1, 2, 3, 4, 5, 6]"}]},{"style":"note","name":"Complexity","content":[{"type":"paragraph","inlineContent":[{"text":"O(n), where n is the total number of elements across all nested arrays.","type":"text"}]}],"type":"aside"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils\/flatten(_:)"},"sections":[],"metadata":{"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"flatten"},{"text":"<","kind":"text"},{"text":"T","kind":"genericParameter"},{"kind":"text","text":">(["},{"kind":"typeIdentifier","text":"T"},{"text":"]) -> [","kind":"text"},{"text":"Any","kind":"keyword"},{"text":"]","kind":"text"}],"externalID":"s:7SwiftNP5UtilsC7flattenySayypGSayxGlFZ","modules":[{"name":"SwiftNP"}],"role":"symbol","title":"flatten(_:)","roleHeading":"Type Method","symbolKind":"method"},"abstract":[{"text":"Flattens a nested array into a single-dimensional array.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftnp\/utils\/flatten(_:)"]}],"references":{"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"},"doc://SwiftNP/documentation/SwiftNP/Utils":{"title":"Utils","url":"\/documentation\/swiftnp\/utils","navigatorTitle":[{"text":"Utils","kind":"identifier"}],"fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Utils","kind":"identifier"}],"kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils","abstract":[{"type":"text","text":"A utility class that provides helper functions and methods for the SwiftNP framework."},{"text":" ","type":"text"},{"type":"text","text":"This class is declared as public and final, meaning it cannot be subclassed and is accessible from outside its defining module."}]},"doc://SwiftNP/documentation/SwiftNP/Utils/flatten(_:)":{"url":"\/documentation\/swiftnp\/utils\/flatten(_:)","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils\/flatten(_:)","title":"flatten(_:)","role":"symbol","abstract":[{"text":"Flattens a nested array into a single-dimensional array.","type":"text"}],"kind":"symbol","type":"topic","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"flatten"},{"text":"<","kind":"text"},{"text":"T","kind":"genericParameter"},{"text":">([","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"text":"]) -> [","kind":"text"},{"kind":"keyword","text":"Any"},{"kind":"text","text":"]"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/swiftnp/utils/infershape(from:).json b/docs/data/documentation/swiftnp/utils/infershape(from:).json deleted file mode 100644 index f6d13a0..0000000 --- a/docs/data/documentation/swiftnp/utils/infershape(from:).json +++ /dev/null @@ -1 +0,0 @@ -{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils\/inferShape(from:)"},"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"hierarchy":{"paths":[["doc:\/\/SwiftNP\/documentation\/SwiftNP","doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils"]]},"abstract":[{"type":"text","text":"Infers the shape of a nested array structure."}],"variants":[{"paths":["\/documentation\/swiftnp\/utils\/infershape(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"inferShape","kind":"identifier"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"text":">(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"array","kind":"internalParam"},{"text":": [","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"text":"]) -> ","kind":"text"},{"text":"Shape","preciseIdentifier":"s:7SwiftNP5Shapea","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","kind":"typeIdentifier"}]}],"kind":"declarations"},{"parameters":[{"content":[{"type":"paragraph","inlineContent":[{"text":"An array that can contain elements of any type, potentially including nested arrays.","type":"text"}]}],"name":"array"}],"kind":"parameters"},{"kind":"content","content":[{"level":2,"type":"heading","text":"Return Value","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"A ","type":"text"},{"code":"Shape","type":"codeVoice"},{"text":" object representing the dimensions of the nested array.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"Each entry in the shape corresponds to the count of elements in each nested level."}]}]},{"content":[{"anchor":"discussion","level":2,"text":"Discussion","type":"heading"},{"inlineContent":[{"text":"Example:","type":"text"},{"text":" ","type":"text"},{"text":"let nestedArray: [Any] = [[1, 2], [3, 4, 5]]","type":"text"},{"type":"text","text":" "},{"type":"text","text":"let result = inferShape(from: nestedArray) \/\/ result could represent a shape like [2, 3]"}],"type":"paragraph"},{"style":"note","type":"aside","content":[{"type":"paragraph","inlineContent":[{"text":"O(d), where d is the depth of the nested structure.","type":"text"}]}],"name":"Complexity"}],"kind":"content"}],"metadata":{"title":"inferShape(from:)","externalID":"s:7SwiftNP5UtilsC10inferShape4fromSaySiGSayxG_tlFZ","modules":[{"name":"SwiftNP"}],"fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"inferShape","kind":"identifier"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"T"},{"text":">(","kind":"text"},{"text":"from","kind":"externalParam"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":"]) -> "},{"preciseIdentifier":"s:7SwiftNP5Shapea","kind":"typeIdentifier","text":"Shape"}],"roleHeading":"Type Method","role":"symbol","symbolKind":"method"},"kind":"symbol","references":{"doc://SwiftNP/documentation/SwiftNP/Shape":{"title":"Shape","url":"\/documentation\/swiftnp\/shape","navigatorTitle":[{"text":"Shape","kind":"identifier"}],"fragments":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Shape"}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Shape","type":"topic","abstract":[{"type":"text","text":"Type alias representing the shape of an array as an array of integers."},{"text":" ","type":"text"},{"type":"text","text":"Each integer represents the size of the array at a particular dimension."}]},"doc://SwiftNP/documentation/SwiftNP/Utils/inferShape(from:)":{"role":"symbol","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils\/inferShape(from:)","title":"inferShape(from:)","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"inferShape","kind":"identifier"},{"kind":"text","text":"<"},{"text":"T","kind":"genericParameter"},{"text":">(","kind":"text"},{"kind":"externalParam","text":"from"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"T"},{"text":"]) -> ","kind":"text"},{"text":"Shape","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftNP5Shapea"}],"url":"\/documentation\/swiftnp\/utils\/infershape(from:)","type":"topic","abstract":[{"type":"text","text":"Infers the shape of a nested array structure."}]},"doc://SwiftNP/documentation/SwiftNP/Utils":{"title":"Utils","url":"\/documentation\/swiftnp\/utils","navigatorTitle":[{"text":"Utils","kind":"identifier"}],"fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"Utils","kind":"identifier"}],"kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP\/Utils","abstract":[{"type":"text","text":"A utility class that provides helper functions and methods for the SwiftNP framework."},{"text":" ","type":"text"},{"type":"text","text":"This class is declared as public and final, meaning it cannot be subclassed and is accessible from outside its defining module."}]},"doc://SwiftNP/documentation/SwiftNP":{"abstract":[],"title":"SwiftNP","identifier":"doc:\/\/SwiftNP\/documentation\/SwiftNP","kind":"symbol","role":"collection","url":"\/documentation\/swiftnp","type":"topic"}}} \ No newline at end of file diff --git a/docs/documentation/swiftnp/ndarray/add(_:)/index.html b/docs/documentation/swiftnp/arithmeticoperation/!=(_:_:)/index.html similarity index 100% rename from docs/documentation/swiftnp/ndarray/add(_:)/index.html rename to docs/documentation/swiftnp/arithmeticoperation/!=(_:_:)/index.html diff --git a/docs/documentation/swiftnp/ndarray/divide(_:)/index.html b/docs/documentation/swiftnp/arithmeticoperation/addition/index.html similarity index 100% rename from docs/documentation/swiftnp/ndarray/divide(_:)/index.html rename to docs/documentation/swiftnp/arithmeticoperation/addition/index.html diff --git a/docs/documentation/swiftnp/ndarray/multiply(_:)/index.html b/docs/documentation/swiftnp/arithmeticoperation/equatable-implementations/index.html similarity index 100% rename from docs/documentation/swiftnp/ndarray/multiply(_:)/index.html rename to docs/documentation/swiftnp/arithmeticoperation/equatable-implementations/index.html diff --git a/docs/documentation/swiftnp/ndarray/subtract(_:)/index.html b/docs/documentation/swiftnp/arithmeticoperation/index.html similarity index 100% rename from docs/documentation/swiftnp/ndarray/subtract(_:)/index.html rename to docs/documentation/swiftnp/arithmeticoperation/index.html diff --git a/docs/documentation/swiftnp/utils/conformstoshape(array:shape:)/index.html b/docs/documentation/swiftnp/arithmeticoperation/init(from:)/index.html similarity index 100% rename from docs/documentation/swiftnp/utils/conformstoshape(array:shape:)/index.html rename to docs/documentation/swiftnp/arithmeticoperation/init(from:)/index.html diff --git a/docs/documentation/swiftnp/utils/flatten(_:)/index.html b/docs/documentation/swiftnp/arithmeticoperation/subtraction/index.html similarity index 100% rename from docs/documentation/swiftnp/utils/flatten(_:)/index.html rename to docs/documentation/swiftnp/arithmeticoperation/subtraction/index.html diff --git a/docs/documentation/swiftnp/utils/index.html b/docs/documentation/swiftnp/ndarray/!=(_:_:)/index.html similarity index 100% rename from docs/documentation/swiftnp/utils/index.html rename to docs/documentation/swiftnp/ndarray/!=(_:_:)/index.html diff --git a/docs/documentation/swiftnp/utils/infershape(from:)/index.html b/docs/documentation/swiftnp/ndarray/*(_:_:)-7zs0q/index.html similarity index 100% rename from docs/documentation/swiftnp/utils/infershape(from:)/index.html rename to docs/documentation/swiftnp/ndarray/*(_:_:)-7zs0q/index.html diff --git a/docs/documentation/swiftnp/ndarray/*(_:_:)-9bupv/index.html b/docs/documentation/swiftnp/ndarray/*(_:_:)-9bupv/index.html new file mode 100644 index 0000000..24db4af --- /dev/null +++ b/docs/documentation/swiftnp/ndarray/*(_:_:)-9bupv/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/swiftnp/ndarray/*(_:_:)-9hujx/index.html b/docs/documentation/swiftnp/ndarray/*(_:_:)-9hujx/index.html new file mode 100644 index 0000000..24db4af --- /dev/null +++ b/docs/documentation/swiftnp/ndarray/*(_:_:)-9hujx/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/swiftnp/ndarray/+(_:_:)/index.html b/docs/documentation/swiftnp/ndarray/+(_:_:)/index.html new file mode 100644 index 0000000..24db4af --- /dev/null +++ b/docs/documentation/swiftnp/ndarray/+(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/swiftnp/ndarray/-(_:_:)/index.html b/docs/documentation/swiftnp/ndarray/-(_:_:)/index.html new file mode 100644 index 0000000..24db4af --- /dev/null +++ b/docs/documentation/swiftnp/ndarray/-(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/swiftnp/ndarray/==(_:_:)/index.html b/docs/documentation/swiftnp/ndarray/==(_:_:)/index.html new file mode 100644 index 0000000..24db4af --- /dev/null +++ b/docs/documentation/swiftnp/ndarray/==(_:_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/swiftnp/ndarray/_(_:_:)-6qg4x/index.html b/docs/documentation/swiftnp/ndarray/_(_:_:)-6qg4x/index.html new file mode 100644 index 0000000..24db4af --- /dev/null +++ b/docs/documentation/swiftnp/ndarray/_(_:_:)-6qg4x/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/swiftnp/ndarray/_(_:_:)-7clpm/index.html b/docs/documentation/swiftnp/ndarray/_(_:_:)-7clpm/index.html new file mode 100644 index 0000000..24db4af --- /dev/null +++ b/docs/documentation/swiftnp/ndarray/_(_:_:)-7clpm/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/swiftnp/ndarray/equatable-implementations/index.html b/docs/documentation/swiftnp/ndarray/equatable-implementations/index.html new file mode 100644 index 0000000..24db4af --- /dev/null +++ b/docs/documentation/swiftnp/ndarray/equatable-implementations/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/swiftnp/swift/numeric/index.html b/docs/documentation/swiftnp/swift/numeric/index.html new file mode 100644 index 0000000..24db4af --- /dev/null +++ b/docs/documentation/swiftnp/swift/numeric/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/documentation/swiftnp/swift/numeric/nsnumber/index.html b/docs/documentation/swiftnp/swift/numeric/nsnumber/index.html new file mode 100644 index 0000000..24db4af --- /dev/null +++ b/docs/documentation/swiftnp/swift/numeric/nsnumber/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/index/index.json b/docs/index/index.json index bad60a2..491a513 100644 --- a/docs/index/index.json +++ b/docs/index/index.json @@ -1 +1 @@ -{"includedArchiveIdentifiers":["SwiftNP"],"interfaceLanguages":{"swift":[{"children":[{"title":"Classes","type":"groupMarker"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/ndarray\/init(shape:dtype:defaultvalue:)","title":"convenience init(shape: [Int], dtype: DType, defaultValue: NSNumber) throws(SNPError)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/ndarray\/description","title":"var description: String","type":"property"},{"path":"\/documentation\/swiftnp\/ndarray\/dtype","title":"let dtype: DType","type":"property"},{"path":"\/documentation\/swiftnp\/ndarray\/isscalar","title":"var isScalar: Bool","type":"property"},{"path":"\/documentation\/swiftnp\/ndarray\/ndim","title":"var ndim: Int","type":"property"},{"path":"\/documentation\/swiftnp\/ndarray\/shape","title":"let shape: Shape","type":"property"},{"path":"\/documentation\/swiftnp\/ndarray\/size","title":"var size: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/ndarray\/add(_:)","title":"func add(NDArray) -> NDArray?","type":"method"},{"path":"\/documentation\/swiftnp\/ndarray\/divide(_:)","title":"func divide(NDArray) -> NDArray?","type":"method"},{"path":"\/documentation\/swiftnp\/ndarray\/multiply(_:)","title":"func multiply(NDArray) -> NDArray?","type":"method"},{"path":"\/documentation\/swiftnp\/ndarray\/reshape(to:order:)","title":"func reshape(to: Shape, order: ReshapeOrder) throws(SNPError) -> NDArray","type":"method"},{"path":"\/documentation\/swiftnp\/ndarray\/subtract(_:)","title":"func subtract(NDArray) -> NDArray?","type":"method"},{"path":"\/documentation\/swiftnp\/ndarray\/tostring()","title":"func toString() -> String","type":"method"}],"path":"\/documentation\/swiftnp\/ndarray","title":"NDArray","type":"class"},{"children":[{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/swiftnp\/ndarray(_:)","title":"static func ndarray([Any]) throws(SNPError) -> NDArray","type":"method"},{"path":"\/documentation\/swiftnp\/swiftnp\/ones(shape:)","title":"static func ones(shape: Shape) throws(SNPError) -> NDArray","type":"method"},{"path":"\/documentation\/swiftnp\/swiftnp\/zeros(shape:)","title":"static func zeros(shape: Shape) throws(SNPError) -> NDArray","type":"method"}],"path":"\/documentation\/swiftnp\/swiftnp","title":"SwiftNP","type":"class"},{"children":[{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/utils\/conformstoshape(array:shape:)","title":"static func conformsToShape(array: [Any], shape: Shape) -> Bool","type":"method"},{"path":"\/documentation\/swiftnp\/utils\/flatten(_:)","title":"static func flatten([T]) -> [Any]","type":"method"},{"path":"\/documentation\/swiftnp\/utils\/infershape(from:)","title":"static func inferShape(from: [T]) -> Shape","type":"method"}],"path":"\/documentation\/swiftnp\/utils","title":"Utils","type":"class"},{"title":"Type Aliases","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/snp","title":"SNP","type":"typealias"},{"path":"\/documentation\/swiftnp\/shape","title":"Shape","type":"typealias"},{"title":"Enumerations","type":"groupMarker"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/dtype\/double","title":"case double","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/float16","title":"case float16","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/float32","title":"case float32","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/float64","title":"case float64","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/int","title":"case int","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/int16","title":"case int16","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/int32","title":"case int32","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/int64","title":"case int64","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/int8","title":"case int8","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/uint16","title":"case uint16","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/uint32","title":"case uint32","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/uint64","title":"case uint64","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/uint8","title":"case uint8","type":"case"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/dtype\/init(from:)","title":"init(from: any Decoder) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/dtype\/type","title":"var type: any Numeric.Type","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/dtype\/cast(_:)","title":"func cast(NSNumber) -> (any Numeric)?","type":"method"},{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/dtype\/typeof(_:)","title":"static func typeOf(any Numeric) -> DType?","type":"method"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/dtype\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/swiftnp\/dtype\/equatable-implementations","title":"Equatable Implementations","type":"symbol"}],"path":"\/documentation\/swiftnp\/dtype","title":"DType","type":"enum"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/reshapeorder\/c","title":"case c","type":"case"},{"path":"\/documentation\/swiftnp\/reshapeorder\/f","title":"case f","type":"case"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/reshapeorder\/init(rawvalue:)","title":"init?(rawValue: String)","type":"init"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/reshapeorder\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/swiftnp\/reshapeorder\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/reshapeorder\/init(from:)","title":"init(from: any Decoder) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/reshapeorder\/hashvalue","title":"var hashValue: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/reshapeorder\/encode(to:)","title":"func encode(to: any Encoder) throws","type":"method"},{"path":"\/documentation\/swiftnp\/reshapeorder\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"}],"path":"\/documentation\/swiftnp\/reshapeorder\/rawrepresentable-implementations","title":"RawRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/swiftnp\/reshapeorder","title":"ReshapeOrder","type":"enum"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/snperror\/assertionerror(_:)","title":"case assertionError(String)","type":"case"},{"path":"\/documentation\/swiftnp\/snperror\/floatingpointerror(_:)","title":"case floatingPointError(String)","type":"case"},{"path":"\/documentation\/swiftnp\/snperror\/indexerror(_:)","title":"case indexError(String)","type":"case"},{"path":"\/documentation\/swiftnp\/snperror\/memoryerror(_:)","title":"case memoryError(String)","type":"case"},{"path":"\/documentation\/swiftnp\/snperror\/shapeerror(_:)","title":"case shapeError(String)","type":"case"},{"path":"\/documentation\/swiftnp\/snperror\/typeerror(_:)","title":"case typeError(String)","type":"case"},{"path":"\/documentation\/swiftnp\/snperror\/valueerror(_:)","title":"case valueError(String)","type":"case"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/snperror\/description","title":"var description: String","type":"property"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/snperror\/localizeddescription","title":"var localizedDescription: String","type":"property"}],"path":"\/documentation\/swiftnp\/snperror\/error-implementations","title":"Error Implementations","type":"symbol"}],"path":"\/documentation\/swiftnp\/snperror","title":"SNPError","type":"enum"},{"title":"Extended Modules","type":"groupMarker"},{"children":[{"title":"Extended Structures","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/swift\/array\/ishomogeneous","title":"var isHomogeneous: Bool","type":"property"}],"path":"\/documentation\/swiftnp\/swift\/array","title":"Array","type":"extension"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/swift\/int\/isfinite","title":"var isFinite: Bool","type":"property"}],"path":"\/documentation\/swiftnp\/swift\/int","title":"Int","type":"extension"},{"children":[{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/swift\/string\/custom(key:args:)","title":"static func custom(key: String.LocalizationValue, args: [any CVarArg]) -> String","type":"method"}],"path":"\/documentation\/swiftnp\/swift\/string","title":"String","type":"extension"}],"path":"\/documentation\/swiftnp\/swift","title":"Swift","type":"extension"}],"path":"\/documentation\/swiftnp","title":"SwiftNP","type":"module"}]},"schemaVersion":{"major":0,"minor":1,"patch":2}} \ No newline at end of file +{"includedArchiveIdentifiers":["SwiftNP"],"interfaceLanguages":{"swift":[{"children":[{"title":"Classes","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/ndarray\/*(_:_:)-7zs0q","title":"static func * (NDArray, Double) throws(SNPError) -> NDArray","type":"op"},{"path":"\/documentation\/swiftnp\/ndarray\/*(_:_:)-9bupv","title":"static func * (Double, NDArray) throws(SNPError) -> NDArray","type":"op"},{"path":"\/documentation\/swiftnp\/ndarray\/*(_:_:)-9hujx","title":"static func * (NDArray, NDArray) throws(SNPError) -> NDArray","type":"op"},{"path":"\/documentation\/swiftnp\/ndarray\/+(_:_:)","title":"static func + (NDArray, NDArray) throws(SNPError) -> NDArray","type":"op"},{"path":"\/documentation\/swiftnp\/ndarray\/-(_:_:)","title":"static func - (NDArray, NDArray) throws(SNPError) -> NDArray","type":"op"},{"path":"\/documentation\/swiftnp\/ndarray\/==(_:_:)","title":"static func == (NDArray, NDArray) -> Bool","type":"op"},{"path":"\/documentation\/swiftnp\/ndarray\/_(_:_:)-6qg4x","title":"static func \/ (NDArray, NDArray) throws(SNPError) -> NDArray","type":"op"},{"path":"\/documentation\/swiftnp\/ndarray\/_(_:_:)-7clpm","title":"static func \/ (NDArray, Double) throws(SNPError) -> NDArray","type":"op"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/ndarray\/init(shape:dtype:defaultvalue:)","title":"convenience init(shape: [Int], dtype: DType, defaultValue: NSNumber) throws(SNPError)","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/ndarray\/description","title":"var description: String","type":"property"},{"path":"\/documentation\/swiftnp\/ndarray\/dtype","title":"let dtype: DType","type":"property"},{"path":"\/documentation\/swiftnp\/ndarray\/isscalar","title":"var isScalar: Bool","type":"property"},{"path":"\/documentation\/swiftnp\/ndarray\/ndim","title":"var ndim: Int","type":"property"},{"path":"\/documentation\/swiftnp\/ndarray\/shape","title":"let shape: Shape","type":"property"},{"path":"\/documentation\/swiftnp\/ndarray\/size","title":"var size: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/ndarray\/reshape(to:order:)","title":"func reshape(to: Shape, order: ReshapeOrder) throws(SNPError) -> NDArray","type":"method"},{"path":"\/documentation\/swiftnp\/ndarray\/tostring()","title":"func toString() -> String","type":"method"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/ndarray\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/swiftnp\/ndarray\/equatable-implementations","title":"Equatable Implementations","type":"symbol"}],"path":"\/documentation\/swiftnp\/ndarray","title":"NDArray","type":"class"},{"children":[{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/swiftnp\/ndarray(_:)","title":"static func ndarray([Any]) throws(SNPError) -> NDArray","type":"method"},{"path":"\/documentation\/swiftnp\/swiftnp\/ones(shape:)","title":"static func ones(shape: Shape) throws(SNPError) -> NDArray","type":"method"},{"path":"\/documentation\/swiftnp\/swiftnp\/zeros(shape:)","title":"static func zeros(shape: Shape) throws(SNPError) -> NDArray","type":"method"}],"path":"\/documentation\/swiftnp\/swiftnp","title":"SwiftNP","type":"class"},{"title":"Type Aliases","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/snp","title":"SNP","type":"typealias"},{"path":"\/documentation\/swiftnp\/shape","title":"Shape","type":"typealias"},{"title":"Enumerations","type":"groupMarker"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/arithmeticoperation\/addition","title":"case addition","type":"case"},{"path":"\/documentation\/swiftnp\/arithmeticoperation\/subtraction","title":"case subtraction","type":"case"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/arithmeticoperation\/init(from:)","title":"init(from: any Decoder) throws","type":"init"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/arithmeticoperation\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/swiftnp\/arithmeticoperation\/equatable-implementations","title":"Equatable Implementations","type":"symbol"}],"path":"\/documentation\/swiftnp\/arithmeticoperation","title":"ArithmeticOperation","type":"enum"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/dtype\/double","title":"case double","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/float16","title":"case float16","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/float32","title":"case float32","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/float64","title":"case float64","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/int","title":"case int","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/int16","title":"case int16","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/int32","title":"case int32","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/int64","title":"case int64","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/int8","title":"case int8","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/uint16","title":"case uint16","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/uint32","title":"case uint32","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/uint64","title":"case uint64","type":"case"},{"path":"\/documentation\/swiftnp\/dtype\/uint8","title":"case uint8","type":"case"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/dtype\/init(from:)","title":"init(from: any Decoder) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/dtype\/type","title":"var type: any Numeric.Type","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/dtype\/cast(_:)","title":"func cast(NSNumber) -> (any Numeric)?","type":"method"},{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/dtype\/typeof(_:)","title":"static func typeOf(any Numeric) -> DType?","type":"method"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/dtype\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/swiftnp\/dtype\/equatable-implementations","title":"Equatable Implementations","type":"symbol"}],"path":"\/documentation\/swiftnp\/dtype","title":"DType","type":"enum"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/reshapeorder\/c","title":"case c","type":"case"},{"path":"\/documentation\/swiftnp\/reshapeorder\/f","title":"case f","type":"case"},{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/reshapeorder\/init(rawvalue:)","title":"init?(rawValue: String)","type":"init"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/reshapeorder\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/swiftnp\/reshapeorder\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Initializers","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/reshapeorder\/init(from:)","title":"init(from: any Decoder) throws","type":"init"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/reshapeorder\/hashvalue","title":"var hashValue: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/reshapeorder\/encode(to:)","title":"func encode(to: any Encoder) throws","type":"method"},{"path":"\/documentation\/swiftnp\/reshapeorder\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"}],"path":"\/documentation\/swiftnp\/reshapeorder\/rawrepresentable-implementations","title":"RawRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/swiftnp\/reshapeorder","title":"ReshapeOrder","type":"enum"},{"children":[{"title":"Enumeration Cases","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/snperror\/assertionerror(_:)","title":"case assertionError(String)","type":"case"},{"path":"\/documentation\/swiftnp\/snperror\/floatingpointerror(_:)","title":"case floatingPointError(String)","type":"case"},{"path":"\/documentation\/swiftnp\/snperror\/indexerror(_:)","title":"case indexError(String)","type":"case"},{"path":"\/documentation\/swiftnp\/snperror\/memoryerror(_:)","title":"case memoryError(String)","type":"case"},{"path":"\/documentation\/swiftnp\/snperror\/shapeerror(_:)","title":"case shapeError(String)","type":"case"},{"path":"\/documentation\/swiftnp\/snperror\/typeerror(_:)","title":"case typeError(String)","type":"case"},{"path":"\/documentation\/swiftnp\/snperror\/valueerror(_:)","title":"case valueError(String)","type":"case"},{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/snperror\/description","title":"var description: String","type":"property"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/snperror\/localizeddescription","title":"var localizedDescription: String","type":"property"}],"path":"\/documentation\/swiftnp\/snperror\/error-implementations","title":"Error Implementations","type":"symbol"}],"path":"\/documentation\/swiftnp\/snperror","title":"SNPError","type":"enum"},{"title":"Extended Modules","type":"groupMarker"},{"children":[{"title":"Extended Protocols","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/swift\/numeric\/nsnumber","title":"var nsnumber: NSNumber","type":"property"}],"path":"\/documentation\/swiftnp\/swift\/numeric","title":"Numeric","type":"extension"},{"title":"Extended Structures","type":"groupMarker"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/swift\/array\/ishomogeneous","title":"var isHomogeneous: Bool","type":"property"}],"path":"\/documentation\/swiftnp\/swift\/array","title":"Array","type":"extension"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/swift\/int\/isfinite","title":"var isFinite: Bool","type":"property"}],"path":"\/documentation\/swiftnp\/swift\/int","title":"Int","type":"extension"},{"children":[{"title":"Type Methods","type":"groupMarker"},{"path":"\/documentation\/swiftnp\/swift\/string\/custom(key:args:)","title":"static func custom(key: String.LocalizationValue, args: [any CVarArg]) -> String","type":"method"}],"path":"\/documentation\/swiftnp\/swift\/string","title":"String","type":"extension"}],"path":"\/documentation\/swiftnp\/swift","title":"Swift","type":"extension"}],"path":"\/documentation\/swiftnp","title":"SwiftNP","type":"module"}]},"schemaVersion":{"major":0,"minor":1,"patch":2}} \ No newline at end of file