public protocol ShapedVectorNumeric : VectorNumeric

A type that represents an unranked vector space. Values of this type are elements in this vector space and have a dynamic shape.

  • The type whose values specifies the dimensionality of an object in the vector space.

    Declaration

    associatedtype Shape
  • Create an object in the vector space with the specified shape by filling the object with the specified scalar value.

    Declaration

    init(repeating repeatedValue: Scalar, shape: Shape)

    Parameters

    shape

    the shape

    repeatedValue

    the value repeat for the specified shape